Skip to main content

๐Ÿ”Œ How-To: MCP Client Compatibility

Goal: Configure the MCP ADR Analysis Server to work seamlessly with any MCP-compatible AI assistant or IDE.

When to use this guide: When you want to set up the MCP ADR Analysis Server with your preferred AI assistant (Claude Desktop, Cline, Cursor, Gemini, etc.) or IDE.

No API key required. CE-MCP mode (the default) uses your host LLM for all analysis โ€” just set PROJECT_PATH and you're done.


๐ŸŽฏ Quick Compatibility Matrixโ€‹

AI Assistant/IDEMCP SupportConfig FileCommandStatus
Claude Desktopโœ… Nativeclaude_desktop_config.jsonnpx -y mcp-adr-analysis-serverRecommended
Clineโœ… Extensioncline_mcp_settings.jsonnpx -y mcp-adr-analysis-serverFull Support
Cursorโœ… Native.cursor/mcp.jsonnpx -y mcp-adr-analysis-serverFull Support
Geminiโœ… Nativegemini_mcp_config.jsonnpx -y mcp-adr-analysis-serverFull Support
Continue.devโœ… Extension.continue/config.jsonnpx -y mcp-adr-analysis-serverFull Support
Aiderโœ… Native.aider_config.yamlmcp-adr-analysis-serverFull Support
Windsurfโœ… Nativemcp_config.jsonnpx -y mcp-adr-analysis-serverFull Support
VS Codeโœ… Via ExtensionsVariousnpx -y mcp-adr-analysis-serverFull Support

๐Ÿš€ Universal Setup Stepsโ€‹

Step 1: Install (or use npx)โ€‹

# Option 1: Zero-install via npx (recommended)
npx -y mcp-adr-analysis-server --version

# Option 2: Global installation
npm install -g mcp-adr-analysis-server

Step 2: Choose Your Client Configurationโ€‹

Select the configuration that matches your preferred AI assistant or IDE below. All configurations use CE-MCP mode (the default) โ€” no API key or EXECUTION_MODE setting needed.


Best for: General use, best AI integration, most stable

Configuration Locationโ€‹

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Configurationโ€‹

{
"mcpServers": {
"adr-analysis": {
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "/absolute/path/to/your/project"
}
}
}
}

๐Ÿ”ง Cline (VS Code Extension)โ€‹

Best for: VS Code development, team collaboration

Configuration Locationโ€‹

File: cline_mcp_settings.json (in workspace or global settings)

Configurationโ€‹

{
"mcpServers": {
"adr-analysis": {
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "${workspaceFolder}"
}
}
}
}

๐ŸŽฏ Cursorโ€‹

Best for: AI-powered coding, modern development workflow

Configuration Locationโ€‹

File: .cursor/mcp.json (in project root)

Configurationโ€‹

{
"mcpServers": {
"adr-analysis": {
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "."
}
}
}
}

๐Ÿค– Gemini (Google AI)โ€‹

Best for: Google AI ecosystem, multimodal capabilities

Configuration Locationโ€‹

File: gemini_mcp_config.json (in project root or user config directory)

Configurationโ€‹

{
"mcpServers": {
"adr-analysis": {
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "/absolute/path/to/project"
}
}
}
}

๐Ÿ”„ Continue.dev (VS Code Extension)โ€‹

Best for: VS Code users, open-source alternative

Configuration Locationโ€‹

File: config.json (in .continue directory)

Configurationโ€‹

{
"mcpServers": [
{
"name": "adr-analysis",
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "${workspaceFolder}"
}
}
]
}

๐Ÿ› ๏ธ Aider (Command Line)โ€‹

Best for: Command-line users, automation, CI/CD

Configuration Locationโ€‹

File: .aider_config.yaml (in project root or home directory)

Configurationโ€‹

mcp_servers:
- name: adr-analysis
command: mcp-adr-analysis-server
env:
PROJECT_PATH: '/absolute/path/to/project'

๐ŸŒŠ Windsurfโ€‹

Best for: Professional development, enterprise features

Configuration Locationโ€‹

File: ~/.codeium/windsurf/mcp_config.json

Configurationโ€‹

{
"mcpServers": {
"adr-analysis": {
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "/absolute/path/to/project"
}
}
}
}

๐Ÿงช Testing Your Configurationโ€‹

Step 1: Test Server Installationโ€‹

npx -y mcp-adr-analysis-server --version

Step 2: Restart Your Clientโ€‹

After saving config:

  • Claude Desktop: Restart the app
  • VS Code (Cline/Continue): Reload window (Ctrl+Shift+P โ†’ "Reload Window")
  • Cursor: Restart Cursor

Step 3: Verify Tools Availabilityโ€‹

In your AI assistant, ask:

List the available MCP tools for ADR analysis

You should see 63 tools including analyze_project_ecosystem, suggest_adrs, analyze_content_security, and more.


๐Ÿšจ Common Issues & Solutionsโ€‹

"Server not found" or "Unknown tool"โ€‹

# Verify Node.js is installed (โ‰ฅ20.0.0)
node --version
npx --version

"Permission denied" errorsโ€‹

Use an absolute path for PROJECT_PATH:

{
"env": {
"PROJECT_PATH": "/absolute/path/not/relative"
}
}

"Command not found: npx"โ€‹

Install Node.js โ‰ฅ20.0.0, which includes npx.


๐Ÿ”ง Advanced Configurationโ€‹

Multi-Project Setupโ€‹

{
"mcpServers": {
"adr-frontend": {
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "/Users/username/frontend-project",
"ADR_DIRECTORY": "./adrs"
}
},
"adr-backend": {
"command": "npx",
"args": ["-y", "mcp-adr-analysis-server"],
"env": {
"PROJECT_PATH": "/Users/username/backend-project",
"ADR_DIRECTORY": "architecture/decisions"
}
}
}
}

Security Configurationโ€‹

{
"env": {
"ENABLE_CONTENT_MASKING": "true",
"MASKING_LEVEL": "strict"
}
}

Legacy Full Mode (Server-Side AI)โ€‹

If you need server-side AI execution instead of CE-MCP:

{
"env": {
"PROJECT_PATH": "/path/to/project",
"EXECUTION_MODE": "full",
"OPENROUTER_API_KEY": "your_key_here"
}
}

CE-MCP mode (the default) is recommended โ€” it produces better results because your host LLM already has your conversation context.


๐Ÿ“š Further Readingโ€‹


Need help with a specific client? โ†’ Join the Discussion

Having compatibility issues? โ†’ Check Troubleshooting