affaan-m avatar

Codehealth Mcp

CodeScene's structural maintainability analyzer as an MCP server. It scores files 1-10 before you touch them and verifies the delta after each change, so you know when AI-generated refactors are making things worse. The workflow is straightforward: review for a baseline, edit, score again, gate the commit if health regressed. It catches design-level problems (complexity, brain-heavy functions) that linters miss. You'll want this when refactoring legacy code or before opening a PR on a module you don't trust yet. Standalone mode works without a paid CodeScene account. The four gating tools (review, score, pre-commit safeguard, change set analysis) are what matter. Complements lint and test loops with a structural regression check.

skills.sh installs
4.8K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill codehealth-mcp --agent claude-code

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avatarorch-pipelineaffaan-m/eccShared orchestration engine for the orch-* skill family. Defines the gated Research-Plan-TDD-Review-Commit pipeline, the size classifier, the agent map, and the4.8Kskills.sh installs
2affaan-m avatarorch-add-featureaffaan-m/eccOrchestrate building a brand-new feature end to end — research, plan, TDD implementation, review, and gated commit — by delegating each phase to the matching EC4.8Kskills.sh installs
3affaan-m avatarorch-refine-codeaffaan-m/eccOrchestrate a behavior-preserving refactor — confirm tests are green, restructure without changing behavior, keep tests green, review, and gated commit. Use whe4.8Kskills.sh installs
4affaan-m avatarorch-fix-defectaffaan-m/eccOrchestrate fixing a bug — reproduce it as a failing regression test, fix to green, review, and gated commit — by delegating each phase to the matching ECC agen4.8Kskills.sh installs
5affaan-m avatarorch-change-featureaffaan-m/eccOrchestrate altering an existing, working feature to new desired behavior — update its tests to the new spec, change the implementation to match, review, and ga4.8Kskills.sh installs
6lijigang avatarljg-pushlijigang/ljg-skills把 ~/.agents/skills/ljg-* 里所有更新过的 skills 同步到 github repo (ljg-skills),先推 master 分支(org-mode 输出风格),再切 md 分支(markdown 输出风格)做基础 markdown 化后推。Use when user says '/lj4.7Kskills.sh installs