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 (requires Claude Pro or Team subscription)
- CodeAlive account with API key (Sign up here)
- Indexed repositories in your CodeAlive dashboard
Installation Methods
- HTTP Configuration (Recommended)
- Docker
HTTP Service Configuration
Connect Claude Desktop to CodeAlive using your API key.Locate Configuration File
Find your Claude Desktop configuration file:macOS:Windows:Linux:
Create the file if it doesn’t exist
Verification
Test the integration by asking Claude:Usage Examples
- Code Review
- Debugging
- Documentation
Advanced Configuration
Multiple Workspaces
Proxy Configuration
For corporate networks: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