Code Sentinel MCP server
io.github.salrad22/code-sentinel·v0.2.6·3 starsCode quality analysis MCP server - detects security issues, deceptive patterns, and placeholders
3 stars56 downloads/wk
Reviews
Write oneNobody has reviewed Code Sentinel yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Code Sentinel tools (7)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
analyze_codeAnalyze code for security issues, errors, deceptive patterns, and placeholders. Returns a structured analysis with issues and strengths.
analyze_design_patternsFocused analysis of Gang of Four (GoF) design patterns in code. Detects Singleton, Factory, Observer, Strategy, and other classic patterns with confidence levels and implementation details.
analyze_patternsAnalyze code for architectural, design, and implementation patterns. Detects pattern usage, inconsistencies, and provides actionable suggestions for improvement. Returns LLM-optimized JSON with action items.
check_deceptive_patternsCheck for code patterns that hide errors or create false confidence (empty catches, silent failures, etc.)
check_placeholdersCheck for placeholder code, dummy data, TODO/FIXME comments, and incomplete implementations
check_securityCheck code for security vulnerabilities only (hardcoded secrets, SQL injection, XSS, etc.)
generate_reportAnalyze code and generate a detailed HTML report with visual indicators for issues and strengths.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan39 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 270 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evalbuild/patterns/builders.js: … escaped.join('|'); // Direct call: eval(), Function() results.push(new RegEx…
How Code Sentinel compares
Against every graded Security MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 68/100
- higher than 30% of 915 Security servers
- Tools
- 7
- the typical Security server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 80% of 587 Security servers
- Downloads a week
- 56
- more than 46% of 248 Security servers with a package
What its tools let an agent do: 6 read · 1 create
Install Code Sentinel in Claude Code, Cursor or VS Code
Runs npx -y code-sentinel-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add code-sentinel -- npx -y code-sentinel-mcp
What the publisher says
From the Code Sentinel repository's README, as published. We do not edit it. Read it on GitHub
CodeSentinel MCP Server
A comprehensive code quality analysis server for the Model Context Protocol (MCP). CodeSentinel integrates with Claude Code and other MCP-compatible clients to detect security vulnerabilities, deceptive patterns, incomplete code, and highlight good practices.
Why CodeSentinel?
AI coding assistants can inadvertently introduce subtle issues: hardcoded secrets, empty catch blocks, TODO placeholders left behind, or patterns that hide errors. CodeSentinel acts as a quality gate, analyzing code for 93 distinct patterns across 5 categories before issues reach production.
Key differentiators:
- Verification-aware detection: Many patterns include verification steps to reduce false positives
- LLM-optimized output: Structured JSON output designed for AI consumption and action
- Balanced analysis: Detects both issues AND strengths for fair code assessment
- Multi-language support: Works with TypeScript, JavaScript, Python, Go, Rust, Java, and more
Why Not Tree-sitter or AST-Based Tools?
CodeSentinel intentionally uses a pattern-based approach rather than AST parsing. Here's why:
The Problem We Solve Is Different
Traditional linters (ESLint, tree-sitter) detect syntax errors and style violations. CodeSentinel detects semantically deceptive patterns - code that is:
- Syntactically valid (passes all linters)
- Structurally correct (valid AST)
- But hides serious issues that AI agents commonly produce
Examples AST Tools Miss
// AST sees: valid try-catch block
// CodeSentinel sees: error swallowing that masks failures
try { riskyOperation(); } catch(e) { }
// AST sees: valid function returning boolean
// CodeSentinel sees: fake implementation that always succeeds
function validateUser() { return true; } // TODO: implement
// AST sees: valid fallback expression
// CodeSentinel sees: failure masking - "no data" vs "fetch failed" indistinguishable
const users = response.data || [];
// AST sees: valid return statement
// CodeSentinel sees: silent failure hiding
if (error) { return null; } // error caseWhat Each Approach Detects
The Real Issue: Agent Behavior
AI coding agents produce code that looks correct but contains subtle deceptions:
- "Making the error go away" - Empty catches, silent returns, swallowed exceptions
- Placeholder implementations - return true, return [], TODO comments
- False confidence patterns - || [] fallbacks that mask fetch failures
- Suppression abuse - @ts-ignore, eslint-disable to hide type errors
These patterns pass every linter and compile successfully. AST tools see valid structure. Only pattern-based detection catches the semantic intent behind the code.
When to Use What
CodeSentinel complements these tools - it catches what they structurally cannot.
Features
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Code Sentinel: common questions
- Is Code Sentinel MCP server safe?
- With care: it is graded C, so read the findings first (68/100). Read the Code Sentinel safety report
- How do I install Code Sentinel?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Code Sentinel need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Code Sentinel maintained?
- The last commit was 304 days ago (2026-01-04). The latest release is v0.2.6.
- What can I use instead of Code Sentinel?
- Servers from other publishers that do the same job: Npm Sentinel MCP server, Skylos MCP server and Snyk MCP server.
- How does Code Sentinel compare with other Security MCP servers?
- safety score 68/100 (higher than 30% of 915 Security servers); tools 7 (the typical Security server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Code Sentinel
Same job from other publishers: the closest match first, then the best rated.
- Npm SentinelAdvanced NPM analysis: Recursive security scanning, ecosystem awareness, and deep insights.not reviewedGrowingA
- SkylosDead code, security, secrets detection and code quality for Python, TypeScript, Go.not reviewedEstablishedC
- SnykEasily find and fix security issues in your applications leveraging Snyk platform capabilities.not reviewedEstablishedB
- CrowdStrike Falcon MCP ServerConnects AI agents with CrowdStrike Falcon for security analysis and automation.not reviewedEstablishedA
- WiresharkProfessional network analysis with tshark. Security audits, deep-dives, and threat detection.not reviewedEstablishedA