/codescene:installing-and-activating-codehealth-mcpfrom codescene
Installs the CodeHealth MCP Server binary/package, registers it with AI assistants (VS Code, GitHub Copilot, Claude Code), and copies agent guidance files into the repository.
Ships in codescene. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when the task is to get the CodeHealth MCP Server installed and registered with an AI assistant. The workflow has three parts: install the server, register it in the assistant, and copy the agent guidance files into the repository.
For configuring the server after installation (OAuth login, account ID, PAT, on-prem URLs, default project, SSL), use the configuring-codehealth-mcp skill instead.
Do not use this skill for configuring tokens, URLs, or other server options. Use configuring-codehealth-mcp for that. Do not use this skill for refactoring, safeguards, or technical debt prioritization.
npx or npm, Homebrew, Windows installer script, manual download, or Docker.cs-mcp.docs/AGENTS-full.md for CodeScene Core users, or docs/AGENTS-standalone.md for standalone license users. For Amazon Q, copy .amazonq/rules instead.https://github.com/codescene-oss/codehealth-mcp/tree/main/skills.login MCP prompt (slash command), by asking the assistant to log in (login tool), or with CodeHealth MCP: Sign In in the VS Code extension. Sign out with logout / CodeHealth MCP: Sign Out. Use a PAT only for CI/headless environments.npx @codescene/codehealth-mcp or npm install -g @codescene/codehealth-mcpbrew tap codescene-oss/codehealth-mcp https://github.com/codescene-oss/codehealth-mcp && brew trust codescene-oss/codehealth-mcp && brew install cs-mcpcs-mcp command or container entrypoint is available.codescene server entry in settings.json / .vscode/mcp.json./plugin install codescene@codescene) or add the MCP with claude mcp add.login MCP prompt (slash command), ask the assistant to log in (calls login and opens a browser), or run CodeHealth MCP: Sign In in the VS Code extension. For multi-account Cloud, use switch_account (or CodeHealth MCP: Switch Account) after login when needed. For on-prem, set onprem_url first.set_config or CS_ACCESS_TOKEN. See the configuring-codehealth-mcp skill.docs/AGENTS-full.md for CodeScene Core users, or docs/AGENTS-standalone.md for standalone license users. Rename it to AGENTS.md in the target repository so the agent picks it up automatically..amazonq/rules instead of the AGENTS file.https://github.com/codescene-oss/codehealth-mcp/tree/main/skills for safeguarding, refactoring, prioritization, or business-case workflows.login; for CI, set a PAT.CS_ACCESS_TOKEN blocks login.login / set_config is simpler and persistent.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub codescene-oss/codehealth-mcp --plugin codescene9 skills in this plugin
/configuring-codehealth-mcpUse when the user wants to view, set, or troubleshoot CodeHealth MCP configuration such as OAuth login, access tokens, account IDs, on-prem URLs, default projects, or SSL certificates./explaining-code-healthUse when a user asks what Code Health means, how to interpret scores, or why Code Health matters in daily development./guiding-refactoring-with-code-healthUse when refactoring unhealthy code and needing Code Health findings to choose small safe steps and verify improvement./making-the-business-case-for-code-healthUse when a user asks for ROI, stakeholder justification, delivery impact, or defect-risk reduction from improving Code Health in a file./prioritizing-technical-debtUse when users with a CodeScene instance ask what to improve first across a project, which hotspots matter most, or how to rank refactoring candidates./risk-based-testing-with-code-healthUse when a user asks what to test first based on CodeScene findings, especially for high-risk hotspots or pull-request change sets.Other plugins' skills for the same job