Enhance
MCP Server

Setup

Configure the Enhance MCP server for Claude Code, Cursor, or Windsurf.

Prerequisites

  • An Enhance workspace with at least one project
  • An API key (create one in Workspace Settings > MCP)
  • Node.js 20+ installed

Claude Code

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "enhance": {
      "command": "npx",
      "args": ["@enhance-pm/mcp-server"],
      "env": {
        "ENHANCE_API_URL": "https://your-instance.example.com",
        "ENHANCE_API_KEY": "byg_live_..."
      }
    }
  }
}

Restart Claude Code. Enhance tools will appear in the tool list.

Cursor / Windsurf

Add to your MCP settings (Settings > MCP Servers):

{
  "enhance": {
    "command": "npx",
    "args": ["@enhance-pm/mcp-server"],
    "env": {
      "ENHANCE_API_URL": "https://your-instance.example.com",
      "ENHANCE_API_KEY": "byg_live_..."
    }
  }
}

Configuration

The MCP server reads configuration from environment variables or a config file.

Environment variables

VariableRequiredDescription
ENHANCE_API_KEYYesAPI key (format: byg_live_...)
ENHANCE_API_URLYesURL of your Enhance instance (no trailing slash)

Config file fallback

If environment variables are not set, the server looks for .enhance.json in:

  1. Current working directory
  2. Home directory (~/.enhance.json)
{
  "apiKey": "byg_live_...",
  "apiUrl": "https://your-instance.example.com"
}

Verifying the connection

After setup, try asking your IDE agent:

  • "List my Enhance projects"
  • "Search for authentication code in repo X"
  • "Show me recent issues"

If the tools respond with data, the connection is working.

Troubleshooting

ProblemSolution
Missing API key on startupSet ENHANCE_API_KEY env var or add .enhance.json
401 UnauthorizedKey is invalid or revoked — create a new one
403 ForbiddenKey lacks the required scope for that tool
ECONNREFUSEDEnhance API is not reachable — check ENHANCE_API_URL
Tools return empty resultsMake sure your workspace has indexed repos and created issues
Cannot find moduleRun pnpm build in the mcp-server package (for local installs)