Overview
Integrate CodeAlive with Claude Desktop to enhance your AI assistant with deep understanding of your entire codebase. This integration uses the Model Context Protocol (MCP) to provide Claude Desktop with semantic search and code intelligence capabilities.Prerequisites
- Claude Desktop installed
- CodeAlive account with API key (Sign up here)
- Indexed repositories in your CodeAlive dashboard
Installation Methods
- Native Extension (Recommended)
- Docker (STDIO) Fallback
This is the best fit for Claude Desktop when you authenticate with a bearer token. It uses Claude Desktop’s native extension installer, stores the API key securely, and supports self-hosted CodeAlive via a configurable base URL.
Build the Extension Bundle
From the This produces a
codealive-mcp repository:.mcpb bundle you can install into Claude Desktop.Install in Claude Desktop
Open Settings → Extensions → Install Extension… and select the generated
.mcpb file.Configure CodeAlive
Fill in these settings in Claude Desktop:
- CodeAlive API Key — your bearer token
- CodeAlive Base URL — your deployment origin, for example
https://codealive.yourcompany.com - Ignore TLS Errors — only for development or self-signed test environments
https://host is preferred. https://host/api is also accepted and normalized automatically.Verification
Test the integration by asking Claude:Usage Examples
- Code Review
- Debugging
- Documentation
Advanced Configuration
Multiple API Keys
Use separate servers for different teams or environments:Troubleshooting
Claude doesn't recognize CodeAlive commands
Claude doesn't recognize CodeAlive commands
Solutions:
- Verify JSON syntax in configuration file
- Ensure Claude Desktop was fully restarted (Cmd+Q/Alt+F4)
- Check API key is valid and active
- Look for errors in Claude Desktop logs
No repositories found
No repositories found
Solutions:
- Verify repositories are indexed in dashboard
- Wait for indexing to complete (5-15 minutes)
- Check API key has repository access
- Test API key with curl command
Connection timeouts
Connection timeouts
Solutions:
- Check network connectivity
- Verify firewall allows outbound HTTPS
- Try Docker deployment for local access
- Check CodeAlive service status
Docker container issues
Docker container issues
Solutions:
- Ensure Docker is running
- Check port 8000 is not in use
- Verify environment variables are set
- Review container logs for errors
Best Practices
Security
Store API keys securely, use environment variables
Performance
Use Docker for faster local responses
Organization
Use separate configs for different projects
Updates
Keep repositories indexed regularly