Codescene MCP Server

The **CodeScene MCP Server** exposes CodeScene's [Code Health](https://codescene.com/product/code-health) analysis as local AI-friendly tools.

Local serverstdio

What is the Codescene MCP Server?

The CodeScene MCP Server exposes CodeScene's Code Health analysis as local AI-friendly tools.

Setting it up

Installation goes through your MCP client rather than a global install: point it at @codescene/codehealth-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What the assistant can call

Once Codescene is connected, these are the calls the assistant has available:

  • codehealth-mcp — {version}.mcpb
  • macOS — ** cs-mcp-macos-aarch64.zip (Apple Silicon) or cs-mcp-macos-amd64 (Intel)
  • Linux — ** cs-mcp-linux-aarch64.zip or cs-mcp-linux-amd64
  • Windows — ** cs-mcp-windows-amd64.exe

Configuration and credentials

You will need one environment variable: CS_ACCESS_TOKEN. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.

Recorded tools

  • codehealth-mcp — {version}.mcpb

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
codehealth-mcp{version}.mcpb

How to install the Codescene MCP Server

{
  "mcpServers": {
    "codescene": {
      "command": "npx",
      "args": ["-y", "@codescene/codehealth-mcp"],
      "env": {
        "CS_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
CS_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Codescene to codehealth-mcp.”
  • “Use Codescene to macOS.”
  • “Use Codescene to Linux.”

Frequently asked questions

The **CodeScene MCP Server** exposes CodeScene's [Code Health](https://codescene.com/product/code-health) analysis as local AI-friendly tools. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.