What is the CodeHealth™ MCP Server (Single-User)?
The CodeHealth™ MCP Server (Single-User) is a standalone edition of the CodeHealth MCP Server focused on local Code Health workflows. It gives your AI assistant direct access to Code Health so it can review code, safeguard AI-generated changes, support healthier refactoring, and help explain why Code Health matters.
What it is used for
Typical use cases include:
reviewing the Code Health of a file
scoring maintainability
safeguarding AI-generated or AI-modified changes before commit
checking a change set before a pull request
supporting refactoring with Code Health guidance
building a business case for refactoring
How it works
The CodeHealth MCP Server runs locally. It is designed to run in your local environment and expose Code Health insights directly from your codebase. For local analysis, Code Health scoring, delta reviews, and business-case calculations run on your machine against your local repository. No source code or analysis data is sent to cloud providers, LLM vendors, or external services as part of that local analysis workflow.
What is included in the standalone edition
A Single-User access token enables local Code Health analysis tools. That includes scoring, review, and refactoring-related workflows. Project-level and API-dependent features are not part of the standalone tool set.
How it is configured
The CodeHealth MCP Server can be configured in three ways:
Ask your AI assistant to configure it using the built-in configuration tools.
Set environment variables in your MCP client configuration.
Use the local config file managed by the CodeHealth MCP Server.
Environment variables set by your MCP client take precedence over values stored in the config file. The built-in set_config and get_config tools are part of the CodeHealth MCP Server.
Good to know
CS_ACCESS_TOKENis the main authentication setting.Changing the token may require a server restart so the correct tool set is registered.
AGENTS.mdhelps AI agents use the CodeHealth MCP Server correctly.If you use Amazon Q, copy
.amazonq/rulesinstead ofAGENTS.md.CS_DISABLE_VERSION_CHECKcan be used to suppress the automatic version check.
Was this helpful?
More in CodeHealth™ MCP server (Single-User License)
What can the CodeHealth™ MCP Server (Single-User) do?Where to find more detailed documentation and get help with the CodeHealth™ MCP Server (Single-User)FAQ: CodeHealth™ MCP Server (Single-User)How to reset your CodeHealth™ MCP Server (Single-User) access tokenStill need help? Ask the team