codescene-mcp-server
The CodeScene MCP Server exposes CodeScene’s Code Health analysis as local AI-friendly tools.
Install / Use
npx skills add codescene-oss/codescene-mcp-serverInstalls into whichever agent you are using.
Amazon Q Rules
Amazon Q Developer rules
Quality Score
Category
Development & EngineeringSupported Platforms
Skill content
View source on GitHubRefactoring Standards
Refactoring must produce measurable improvements in maintainability.
Use the CodeScene MCP to assess whether a refactor is an objective improvement.
Required Behavior
Before refactoring:
- Run
codescene.code_health_reviewto identify problem areas. - Capture the current
codescene.code_health_scoreso the work starts from a measurable baseline.
During refactoring
- Prefer small, incremental improvements that are easy to review and validate.
- Focus on structural refactorings that reduce responsibilities, nesting, coupling, and hard-to-follow control flow.
- Do not treat formatting, renaming, or other cosmetic cleanup alone as meaningful Code Health improvement.
After refactoring:
- Re-run
codescene.code_health_reviewafter each meaningful step to ensure identified issues were actually improved and confirm no Code Health regression. - Use
codescene.code_health_scoreas the compact trend check across iterations.
Success Criteria
A refactoring is successful only if:
- Code Health improves or at minimum does not decline.
- Readability and structure are improved.
- No new technical debt is introduced.
Code Health 10.0 is the ideal long-term target. Aim for measurable progress toward it even when a full uplift is not realistic in one pass.
Business Alignment
When asked about the value of a refactoring:
- Use
codescene.code_health_refactoring_business_case
to explain expected productivity gains, risk reduction, or change cost improvements.
Refactoring must be justified, measurable, and verified using CodeScene’s Code Health metrics.
Related Skills
Agent-Reach
84.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.4kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
career-ops
72.4kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
Security Score
Audited on Invalid Date
