The CodeScene MCP Server exposes CodeScene's Code Health analysis as local AI-friendly tools, allowing AI assistants to request insights directly from codebases.
From the registry: An MCP server that provides CodeScene Code Health analysis tools.
Please install the `codescene-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js 18+** — Required to run via npx. (https://nodejs.org/)
Optional prerequisites:
- CodeScene Personal Access Token (optional) — For full features (hotspots, technical debt goals, ownership), you need a CodeScene subscription and a Personal Access Token. Standalone Code Health analysis works without an account. (https://codescene.com/pricing)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["@codescene/codehealth-mcp"]
- optional environment variables:
- `CS_ACCESS_TOKEN`: CodeScene Personal Access Token (for full features). (example: `<your-codescene-token>`)
- `REQUESTS_CA_BUNDLE`: Path to custom CA certificate file (PEM format). (example: `/path/to/ca-bundle.pem`)
- `SSL_CERT_FILE`: Alternative for custom CA certificate. (example: `/path/to/cert.pem`)
- `CURL_CA_BUNDLE`: Alternative for custom CA certificate. (example: `/path/to/ca-bundle.pem`)
- `CS_DISABLE_VERSION_CHECK`: Set to any non-empty value to disable update checks. (example: `1`)
Note: First run downloads platform-specific Rust binary. Distributed via npm, brew, Docker, .mcpb bundle, and direct download.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.CS_ACCESS_TOKENrequiredActivates the MCP and is required for accessing CodeScene features.REQUESTS_CA_BUNDLErequiredPoints to your CA certificate file for SSL configuration.CS_DISABLE_VERSION_CHECKDisables the version update check for the MCP server.Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.