MCP.Market

Code Sentinel MCP server

by salrad22·io.github.salrad22/code-sentinel·v0.2.6·3 stars

Code quality analysis MCP server - detects security issues, deceptive patterns, and placeholders

C68/100grade C
What users say
No reviews yet
Be the first
Safety scan
C68/100

full report

Adoption
New

3 stars56 downloads/wk

Reviews

Write one

Nobody 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 posts

Read from the package source without running it. The installed server may list more.

  • analyze_code

    Analyze code for security issues, errors, deceptive patterns, and placeholders. Returns a structured analysis with issues and strengths.

  • 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.

  • 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.

  • check_deceptive_patterns

    Check for code patterns that hide errors or create false confidence (empty catches, silent failures, etc.)

  • check_placeholders

    Check for placeholder code, dummy data, TODO/FIXME comments, and incomplete implementations

  • check_security

    Check code for security vulnerabilities only (hardcoded secrets, SQL injection, XSS, etc.)

  • generate_report

    Analyze 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

1 medium
  • 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 usedexec.eval
    build/patterns/builders.js: … escaped.join('|'); // Direct call: eval(), Function() results.push(new RegEx…
Overall 68/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

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
Add to Cursor

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 case

What Each Approach Detects

The Real Issue: Agent Behavior

AI coding agents produce code that looks correct but contains subtle deceptions:

  1. "Making the error go away" - Empty catches, silent returns, swallowed exceptions
  2. Placeholder implementations - return true, return [], TODO comments
  3. False confidence patterns - || [] fallbacks that mask fetch failures
  4. 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 Sentinel
    Advanced NPM analysis: Recursive security scanning, ecosystem awareness, and deep insights.
    A
  • Skylos
    Dead code, security, secrets detection and code quality for Python, TypeScript, Go.
    C
  • Snyk
    Easily find and fix security issues in your applications leveraging Snyk platform capabilities.
    B
  • CrowdStrike Falcon MCP Server
    Connects AI agents with CrowdStrike Falcon for security analysis and automation.
    A
  • Wireshark
    Professional network analysis with tshark. Security audits, deep-dives, and threat detection.
    A