CodeSceneBLOCK
The CodeScene MCP Server exposes CodeScene’s Code Health analysis as local AI-friendly tools.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://codescene.io/projects/72556) [](https://codescene.io/projects/72556) [](https://codescene.io/projects/72556)
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.
Getting Started with CodeScene MCP
Want AI to perform the setup? Start with skills/installing-and-activating-codescene-mcp/SKILL.md.
- Setting up Authentication to the MCP Server — see Authentication.
- Install the MCP Server using one of the installation options below.
- Add the MCP Server to your AI assistant. See the detailed instructions for your environment in the installation guide.
- Copy the agent guidance that matches your license into your repository: AGENTS-full.md for CodeScene Core users, AGENTS-standalone.md for standalone license users, or .amazonq/rules for Amazon Q. Also copy any relevant public skills for reusable workflow prompts.
- Explore the [available tools](d
b59cb85d0123OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add codehealth-mcp -- npx -y @codescene/[email protected]
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (4 observation(s))
- Network
- declared (4 observation(s))
- Shell
- declared (2 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (19)
stderr: "secret token=abc123 /home/user/.ssh/id_rsa".into()
assert!(validate_https_url("onprem_url", "http://127.0.0.1").is_ok());assert!(validate_https_url("onprem_url", "http://127.0.0.1:8080").is_ok());assert!(validate_https_url("onprem_url", "http://127.0.0.1/path").is_ok());assert!(validate_https_url("onprem_url", "http://0.0.0.0").is_ok());let token = "super-secret-token-12345";
let token = "cst_fake_pat_for_integration_test";
.c8rc.json
.vscodeignore
outDir: "../../src/docs/apps",
include_str!("../../docs/AGENTS-full.md"),Some(include_str!("../../../docs/AGENTS-full.md")),import viteConfig from "../../mcp-apps/usage-overview/vite.config";
import { App, Dashboard, dashboardData, recentActivity } from "../../mcp-apps/usage-overview/src/main";resolve(`http://127.0.0.1:${addr.port}`);@modelcontextprotocol/ext-apps, @modelcontextprotocol/sdk, react, react-dom, @testing-library/react, @types/react, @types/react-dom, @vitejs/plugin-react
c8
@types/node, @types/vscode, @vscode/vsce, c8, esbuild, typescript
Gates applied: no_behavioural_pass.
b59cb85d0123full audit observations/trust-audit/mcp-server/codescene-oss__codescene.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | b59cb85d0123 | BLOCK | D | 69 | first audit |
Questions
What is the CodeScene MCP server?
The CodeScene MCP Server exposes CodeScene’s Code Health analysis as local AI-friendly tools.
Is CodeScene safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does CodeScene need?
No credential environment variables were found in its source, so it appears to need none.
How does CodeScene run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as codescene-codehealth-mcp at 0.0.0.
How current is this page?
The grade is for one exact copy of the source (b59cb85d0123), read on 2026-10-07. The repository is watched and re-audited when it changes.