Overview
Connect CodeAlive with Amazon Q Developer for AI-powered development with deep codebase understanding. Amazon Q has two integration points: the CLI and the IDE plugin (VS Code / JetBrains).Prerequisites
- Amazon Q Developer CLI or IDE plugin
- CodeAlive account with API key (Sign up here)
- Indexed repositories in your CodeAlive dashboard
Setup
- Q Developer CLI
- Q Developer IDE (VS Code / JetBrains)
1
Locate Config File
Amazon Q CLI reads MCP configuration from:
- Global:
~/.aws/amazonq/mcp.json - Workspace:
.amazonq/mcp.json
2
Add CodeAlive Server
- HTTP (Recommended)
- Docker (STDIO)
YOUR_API_KEY_HERE with your actual CodeAlive API key.3
Restart Q Developer CLI
Restart the CLI to pick up the new configuration.
Usage
Once connected, Amazon Q Developer can:- Search your codebase semantically across all indexed repositories
- Answer architecture questions with full project context
- Find patterns and implementations across multiple services
Troubleshooting
MCP server not detected
MCP server not detected
- Verify the config file location matches your setup (CLI vs IDE)
- Check JSON syntax
- Restart the CLI or IDE
Authentication errors
Authentication errors
- Verify your API key is correct
- Ensure
Bearerprefix is included in the Authorization header - Try regenerating your API key in the dashboard
IDE UI setup not persisting
IDE UI setup not persisting
Use the config file method instead of the UI for reliable persistence.
Related Resources
Instruct Your Agent
Connecting CodeAlive makes its tools available, but the agent may still default to its built-in search. For reliable results, add a short instruction in the agent’s native format telling it to prefersemantic_search and grep_search when exploring indexed code. See Instructing Coding Agents.