Codebase health MCP: dead code, cycles, coupling, architectural drift.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Codebase health analysis that works everywhere. Dead code, circular dependencies, coupling issues, and architectural drift β exposed as MCP tools for Claude Desktop, Cursor, Windsurf, and Slack.
Dead code, circular dependencies, excessive coupling, and architectural drift are invisible in day-to-day work. Static analysis tools produce noise in CI dashboards nobody checks. CodeHealth MCP brings these insights into the tools developers actually use β via the Model Context Protocol.
7 analysis tools, available in any MCP-compatible client:
| Tool | What It Finds |
|---|---|
analyze_dead_code | Unused functions, classes, modules with file:line + fix suggestions |
detect_circular_deps | Module import cycles via DFS with impact assessment |
analyze_coupling | Fan-out per module, tight cluster detection, refactoring suggestions |
detect_architectural_drift | Layer boundary violations (UIβData, BusinessβUI, etc.) |
full_health_scan | All four analyses + 0β100 health score + prioritized action items |
explain_finding | AI-powered detailed explanation of any finding |
check_mcp_health | Remote MCP handshake (initialize + tools/list), schema drift, secret scan β HTTP 200 is not healthy |
| Client | How to Add |
|---|---|
| Claude Desktop | Add to claude_desktop_config.json |
| Cursor / Windsurf | Add to MCP settings |
| Slack | Built-in Agent Builder integration with Block Kit UI |
| Any MCP client | Standard MCP server (stdio) or remote Streamable HTTP |
Public HTTPS + streamable-http is required to list CodeSentinel as a Glama remote connector. Replace the host from your deploy env β do not commit a fake hostname.
Local default: http://127.0.0.1:8787/mcp (health: GET /health). Production must be HTTPS.
Cursor / Claude remote connectors use the same url + Authorization header. Unauthenticated /mcp returns HTTP 401. LLM_API_KEY and other provider keys stay on the server and are never echoed.
Stateless Streamable HTTP (JSON request/response) runs on Vercel Fluid Compute. No sticky sessions. Do not invent a hostname β use the URL Vercel assigns.
After deploy, the MCP endpoint is:
https://$VERCEL_PROJECT_PRODUCTION_URL/mcp
(VERCEL_URL for a specific deployment). Health: https://$VERCEL_PROJECT_PRODUCTION_URL/health.
Turn off Vercel Deployment Protection on the production host, or Glama/clients cannot complete initialize.
| Field | Value |
|---|---|
| Type | Connector (remote MCP) |
| Server URL | https://$VERCEL_PROJECT_PRODUCTION_URL/mcp |
| Transport | streamable-http |
| Auth | API Key / Bearer |
| Header | Authorization |
| Header value | Bearer $MCP_BEARER_TOKEN (same secret as the Vercel env) |
| Ownership claim | https://$VERCEL_PROJECT_PRODUCTION_URL/.well-known/glama.json (static public/ file) |
See docs/mcp-http.md for Vercel env vars, Fluid Compute notes, and Docker/Fly fallback.
HTTP MCP (same tools, Bearer auth):
A remote MCP endpoint can return HTTP 200 while initialize, tools/list,
or the SSE stream fails. CodeSentinel probes the protocol itself:
initialize + tools/list)Library: src/lib/mcp-health. Analyzer: lib/analyzers/mcp-health.js.
Full write-up: docs/mcp-health.md.
Set DAYTONA_API_KEY (and optionally GITHUB_TOKEN for private repos). MCP tools and Slack analysis will shallow-clone GitHub URLs in a Daytona VM and return live import-graph findings instead of demo data.
Add the Slack app manifest, enable Agent Builder, and @CodeHealth in any channel.
CodeHealth MCP ships with a full Slack Agent Builder app featuring:
The live demo workspace is codehealthdemo.slack.com β the CodeSentinel agent (App ID A0BEHRDN5TQ) is installed and authorized there. Mention it in any channel:
Sandbox configuration:
Live agent response in the sandbox β a real @CodeSentinel mention in #general triggering a Daytona-sandboxed repo scan:

| App credentials & App ID | Agent capability enabled | Socket Mode enabled |
|---|---|---|
![]() | ![]() | ![]() |
Each analyzer follows a simple interface:
Add a new analyzer in lib/analyzers/, register it in analysis-engine.js, and it's automatically available in Slack and via MCP.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/codesentinel-mcp)<a href="https://allmcps.com/mcp/codesentinel-mcp"><img src="https://allmcps.com/api/badge/codesentinel-mcp?style=directory" alt="Codesentinel MCP on AllMCPs" /></a>