An MCP server that provides CodeScene Code Health analysis tools.
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.
The CodeScene MCP Server exposes CodeScene's Code Health analysis as local AI-friendly tools.
This server is designed to run in your local environment and lets AI assistants (like GitHub Copilot, Cursor, Claude code, etc.) request meaningful Code Health insights directly from your codebase. The Code Health insights augment the AI prompts with rich content around code quality issues, maintainability problems, and technical debt in general.
The repository also includes a downloadable set of public agent skills in skills/ for teams that want to reuse CodeScene MCP workflows in their own agentic pipelines.
Want AI to perform the setup? Start with skills/installing-and-activating-codescene-mcp/SKILL.md.
Choose the installation method that works best for your platform.
Run the MCP server directly with npx (no install needed):
Or install globally:
The first run automatically downloads the correct platform-specific binary for your system and caches it for future use. Requires Node.js 18 or later.
Add the CodeScene marketplace and install the plugin:
This installs the MCP server and Code Health skills. Requires Node.js 18 or later.
Download the MCP bundle from the latest release page:
codehealth-mcp-{version}.mcpbThen open the .mcpb file with Claude Desktop to install the MCP server.
Download the latest binary for your platform from the GitHub Releases page:
cs-mcp-macos-aarch64.zip (Apple Silicon) or cs-mcp-macos-amd64 (Intel)cs-mcp-linux-aarch64.zip or cs-mcp-linux-amd64cs-mcp-windows-amd64.exeAfter downloading, make it executable and optionally add it to your PATH:
You can also build a static executable from source.
[!TIP] Watch the demo video of the CodeScene MCP.
[!NOTE] CodeScene MCP comes with a set of example prompts, agent guidance files to capture the key use cases, and a downloadable set of public skills. Copy the agent guidance that matches your license β AGENTS-full.md for CodeScene Core users or AGENTS-standalone.md for standalone users β and any relevant skills to your own repository.
With the CodeScene MCP Server in place, your AI tools can:
Prevent AI from introducing technical debt by flagging maintainability issues like complexity, deep nesting, low cohesion, etc.
AI refactoring quality improves when code is modular and easy to reason about. The MCP server gives your assistant concrete guidance to get there:
This workflow works with MCP alone and is often enough to safely improve legacy code.
AI tools can refactor code, but they lack direction on what to fix and how to measure if it helped.
The Code Health tools solve this by giving AI assistants precise insight into design problems, as well as an objective way to assess the outcome: did the Code Health improve?
Use Code Health reviews to inform AI-driven summaries, diagnostics, or code transformations based on real-world cognitive and design challenges, not just syntax.
Ask your AI assistant to show your MCP usage overview to see Code Health uplifts, prevented degradations, and the scope and quality of your latest 250 MCP events. Supported clients display an interactive dashboard; other clients receive a Markdown summary. This API-connected feature requires a CodeScene Core account and is not available with a standalone license. See show_mcp_usage_overview for details.
The full feature set β including hotspots, technical debt goals, and code ownership β requires a CodeScene subscription. Authenticate by asking your AI Assistant to login to CodeScene, or use the login too. Alternatively, use your CodeScene instance to create the CS_ACCESS_TOKEN which activates the MCP.
The MCP supports both CodeScene Cloud and CodeScene on-prem.
For local Code Health analysis without a CodeScene subscription, you can use the standalone CodeScene Code Health MCP.
The CodeScene MCP Server runs fully locally. All analysis β including Code Health scoring, delta reviews, and business-case calculations β is performed on your machine, against your local repository. No source code or analysis data is sent to cloud providers, LLM vendors, or any external service.
Analysis results (e.g. hotspots and technical debt goals) are fetched via REST from your own CodeScene account using a secure token.
For complete details, please see CodeScene's full privacy and security documentation.
CodeScene MCP can work with any model your AI assistant supports, but we strongly recommend choosing a frontier model when your assistant offers a model selector (as in tools like GitHub Copilot).
Frontier models -- such as Claude Sonnet -- deliver far better rule adherence and refactoring quality, while legacy models like GPT-4.1 often struggle with MCP constraints. For a consistent, high-quality experience, select the newest available model.
Since you have to provide a mount path for Docker, you can either have a MCP configuration per project (in VS Code that would be a .vscode/mcp.json file per project, for example) or you can mount a root directory within which all your projects are and then just use that one configuration instead.
Factual signals from GitHub, npm, and our automated checks β not a rating.
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/codescene-mcp-server)<a href="https://allmcps.com/mcp/codescene-mcp-server"><img src="https://allmcps.com/api/badge/codescene-mcp-server?style=directory" alt="Codescene MCP Server on AllMCPs" /></a>