# io.github.salrad22/code-sentinel (npm · code-sentinel-mcp)

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

- Trust score: 70/100 (medium)
- Change this week: +17
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `code-sentinel-mcp`: 70/100 (this document), [markdown](https://verifymcp.io/servers/salrad22-code-sentinel/code-sentinel-mcp.md), [page](https://verifymcp.io/servers/salrad22-code-sentinel/code-sentinel-mcp)

## Channel facts

- Registry: `npm`
- Package: `code-sentinel-mcp`
- Version: `0.2.6`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 211 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 82/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 613 tokens (~43/item across 14 items; 7 tools + 7 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add salrad22-code-sentinel -- npx -y code-sentinel-mcp
```

### Codex

```bash
codex mcp add salrad22-code-sentinel -- npx -y code-sentinel-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "salrad22-code-sentinel": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "code-sentinel-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add salrad22-code-sentinel --command npx --arg -y --arg code-sentinel-mcp
```

### Hermes

```yaml
mcp_servers:
  salrad22-code-sentinel:
    command: "npx"
    args: ["-y", "code-sentinel-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "salrad22-code-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "code-sentinel-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 70, +44)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Stability: unverified → 0.20
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 26, +21)

- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100

### 2026-07-31 (score 5, −48)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 53)

First indexed and scored.

## MCP tools (7)

### `analyze_code` (~63 tokens)

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

Input parameters:

- `code` (string, required): The source code to analyze
- `filename` (string, required): The filename (used to detect language). Example: 'app.ts'

### `generate_report` (~56 tokens)

Analyze code and generate a detailed HTML report with visual indicators for issues and strengths.

Input parameters:

- `code` (string, required): The source code to analyze
- `filename` (string, required): The filename (used to detect language). Example: 'app.ts'

### `check_security` (~48 tokens)

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

Input parameters:

- `code` (string, required): The source code to check
- `filename` (string, required): The filename

### `check_deceptive_patterns` (~52 tokens)

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

Input parameters:

- `code` (string, required): The source code to check
- `filename` (string, required): The filename

### `check_placeholders` (~48 tokens)

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

Input parameters:

- `code` (string, required): The source code to check
- `filename` (string, required): The filename

### `analyze_patterns` (~137 tokens)

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.

Input parameters:

- `code` (string, required): The source code to analyze
- `filename` (string, required): 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` (~72 tokens)

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.

Input parameters:

- `code` (string, required): The source code to analyze
- `filename` (string, required): The filename (used to detect language)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/salrad22-code-sentinel/code-sentinel-mcp#diagnostics

## Score history

- 2026-08-03: 70
- 2026-08-02: 70
- 2026-08-01: 26
- 2026-07-31: 5
- 2026-07-30: 53
- 2026-07-28: 53
- 2026-07-27: 53

## Links

- npm package: https://www.npmjs.com/package/code-sentinel-mcp
- Socket report: https://socket.dev/npm/package/code-sentinel-mcp
- Repository: https://github.com/salrad22/code-sentinel
- Changelog RSS feed: https://verifymcp.io/servers/salrad22-code-sentinel/code-sentinel-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/salrad22-code-sentinel/code-sentinel-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/salrad22-code-sentinel/code-sentinel-mcp
