code-sentinel
v0.2.6Code quality analysis MCP server - detects security issues, deceptive patterns, and placeholders
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_code
Analyze code for security issues, errors, deceptive patterns, and placeholders. Returns a structured analysis with issues and strengths.
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to analyze |
filename * | string | The filename (used to detect language). Example: 'app.ts' |
generate_report
Analyze code and generate a detailed HTML report with visual indicators for issues and strengths.
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to analyze |
filename * | string | The filename (used to detect language). Example: 'app.ts' |
check_security
Check code for security vulnerabilities only (hardcoded secrets, SQL injection, XSS, etc.)
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to check |
filename * | string | The filename |
check_deceptive_patterns
Check for code patterns that hide errors or create false confidence (empty catches, silent failures, etc.)
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to check |
filename * | string | The filename |
check_placeholders
Check for placeholder code, dummy data, TODO/FIXME comments, and incomplete implementations
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to check |
filename * | string | The filename |
analyze_patterns
Analyze code for architectural, design, and implementation patterns. Detects pattern usage, inconsistencies, and provides actionable suggestions for improvement. Returns LLM-optimized JSON with action items.
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to analyze |
filename * | string | The filename (used to detect language) |
level | string | Pattern level to analyze: 'architectural' (system structure), 'design' (GoF patterns), 'code' (implementation idioms), or 'all' (default) |
query | string | Optional natural language query to focus analysis (e.g., 'how is error handling done?') |
analyze_design_patterns
Focused 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.
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to analyze |
filename * | string | The filename (used to detect language) |