Codehealth Mcp
Structural Code Health review, score-delta checks, and commit or PR gates for AI-assisted edits.
- CCM score
- 71 of 100
- skills.sh installs
- 6.9K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers pre-edit review, post-change score checks, and branch-level verification through CodeScene's standalone MCP tools
- Includes
code_health_review,code_health_score,pre_commit_code_health_safeguard, andanalyze_change_set, each run at a defined point in the edit loop - Enforces scope limits by score band, so files below 5 get minimal diffs and any score regression blocks task completion
- Designed for projects that already use lint and tests and want a design-level maintainability check alongside them
Install
$ npx -y skills add affaan-m/ecc --skill codehealth-mcp -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code Health MCP (CodeScene)
Structural maintainability feedback for AI-assisted coding. Complements style/lint skills (coding-standards, plankton-code-quality) with design-level health scores and regression gates.
Upstream: codescene-oss/codescene-mcp-server
Package: @codescene/codehealth-mcp (stdio via npx)
Security and boundaries
Opt-in (ECC): The codescene block in mcp-configs/mcp-servers.json is a template only. ECC plugin installs do not auto-enable bundled MCP servers. Copy the entry into your config only if you want it. You can exclude it during ECC install/sync with ECC_DISABLED_MCPS=codescene,....
Credentials: No bundled token. Set CS_ACCESS_TOKEN yourself (see getting-a-personal-access-token.md in the upstream repo). Never commit tokens to the repo.
Details
- Repository
- github.com/affaan-m/ecc
- Category
- Code Review & Quality
- First seen
- Jul 14, 2026
Questions
What does the codehealth-mcp skill do?
It runs structural Code Health checks through the CodeScene MCP server, scoring files on design-level maintainability rather than style. It reviews files before edits, verifies score changes after edits, and gates commits and pull requests.
How do I install the codehealth-mcp skill?
Run npx -y skills add affaan-m/ecc --skill codehealth-mcp -y inside your project. After that, the agent can call CodeScene tools to review a file's health before you change it.
What do I need to use codehealth-mcp?
You need to set your own CS_ACCESS_TOKEN and add the codescene MCP server entry to your harness config, since no token is bundled. Standalone mode does not require a paid CodeScene platform account for its four tools.
When should I use codehealth-mcp instead of lint or tests?
Use it when you want to check whether AI-written changes degraded a file's design, or before a commit or pull request. It complements lint and tests but does not replace them.
Which other skills are close to codehealth-mcp?
In the Code Review & Quality category it sits alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Its distinct focus is CodeScene structural health scores with regression gates.
More from affaan-m/ecc
All 257- Orch Build Mvp6.9K
- Orch Pipeline6.9K
- Orch Add Feature6.8K
- Orch Fix Defect6.8K
- Orch Refine Code6.8K
- Orch Change Feature6.8K
- Literature Review6.4K
- Scholar Evaluation5.8K
- Pubmed Database5.7K
- Gget5.5K
- Uspto Database5.5K
- Project Guidelines Example1.7K
- Agent Harness Construction1.1K
- Autonomous Agent Harness1.1K
- Continuous Learning V21.1K
- Security Review21.3K
- Video Editing19.2K
- Golang Patterns18.1K
- Backend Patterns17.8K
- Coding Standards17.6K
- Frontend Patterns17.6K
- Docker Patterns16.8K
- Golang Testing16.5K
- Python Patterns15.6K
Similar to Codehealth Mcp
More Code Review & Qualitycode-review-and-qualityaddyosmani/agent-skills94.5K installsMulti-axis code review with quality gates for any change before it enters the main branch.
code-reviewerzhaono1/agent-playbook762 installsStructured code review skill that checks pull requests for correctness, security, performance, and maintainability.
code-reviewanthropics/knowledge-work-plugins10.3K installsStructured code review covering security, performance, correctness, and maintainability, with severity-ranked findings and a merge verdict.
simplify-and-harden-cipskoett/pskoett-ai-skills390 installsCI-only Simplify & Harden review for pull requests that reports findings and can gate merges without code changes.
agent-reviewerruvnet/ruflo1.1K installsStructured code review agent that checks functionality, security, performance, code quality, and maintainability with severity-ranked feedback.
healthtw93/waza19.3K installsAgent-assisted health audit for agent config drift, hooks/MCP, verifier coverage, and AI maintainability.