CodeAlive MCP is a server that connects AI assistants to CodeAlive's code understanding platform, enabling semantic code search and full project context for large codebases. It works with Claude Code, Cursor, Continue, VS Code, Claude Desktop, and Cline to help AI assistants provide better answers with comprehensive codebase understanding.
Use the remote MCP server at https://mcp.codealive.ai/api/
for instant access. Choose your AI client below.
claude mcp add --transport http codealive https://mcp.codealive.ai/api/ --header "Authorization: Bearer YOUR_API_KEY_HERE"
Cmd+,
or Ctrl+,
){
"mcpServers": {
"codealive": {
"url": "https://mcp.codealive.ai/api/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}
.continue/config.yaml
in your project or ~/.continue/config.yaml
mcpServers:
- name: CodeAlive
type: streamable-http
url: https://mcp.codealive.ai/api/
requestOptions:
headers:
Authorization: "Bearer YOUR_API_KEY_HERE"
Ctrl+Shift+P
or Cmd+Shift+P
){
"servers": {
"codealive": {
"type": "http",
"url": "https://mcp.codealive.ai/api/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}
{
"mcpServers": {
"codealive": {
"url": "https://mcp.codealive.ai/api/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}
If you prefer using Docker instead of the remote service:
Edit your config file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"codealive": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE",
"ghcr.io/codealive-ai/codealive-mcp:main"
]
}
}
}
{
"mcpServers": {
"codealive": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE",
"ghcr.io/codealive-ai/codealive-mcp:main"
]
}
}
}
mcpServers:
- name: CodeAlive
type: stdio
command: docker
args:
- run
- --rm
- -i
- -e
- CODEALIVE_API_KEY=YOUR_API_KEY_HERE
- ghcr.io/codealive-ai/codealive-mcp:main
Create .vscode/mcp.json
in your workspace:
{
"servers": {
"codealive": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE",
"ghcr.io/codealive-ai/codealive-mcp:main"
]
}
}
}
Once connected, you'll have access to these powerful tools:
get_data_sources
- List your indexed repositories and workspacessearch_code
- Semantic code search across your codebasechat_completions
- AI chat with full project contextTry these prompts with your AI assistant:
get_data_sources
search_code
chat_completions
Test the hosted service:
curl https://mcp.codealive.ai/health
Check your API key:
curl -H "Authorization: Bearer YOUR_API_KEY" https://app.codealive.ai/api/v1/data_sources
For additional help, contact [email protected]
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "codealive" '{"command":"python","args":["/path/to/your/codealive-mcp/src/codealive_mcp_server.py","--debug"],"env":{"CODEALIVE_API_KEY":"YOUR_API_KEY_HERE"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"codealive": {
"command": "python",
"args": [
"/path/to/your/codealive-mcp/src/codealive_mcp_server.py",
"--debug"
],
"env": {
"CODEALIVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"codealive": {
"command": "python",
"args": [
"/path/to/your/codealive-mcp/src/codealive_mcp_server.py",
"--debug"
],
"env": {
"CODEALIVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect