Skip to main content

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).
Quick install: Run npx @codealive/installer to automatically configure CodeAlive for your agents. See the Installation Guide for details.

Prerequisites

  • Amazon Q Developer CLI or IDE plugin
  • CodeAlive account with API key (Sign up here)
  • Indexed repositories in your CodeAlive dashboard

Setup

1

Locate Config File

Amazon Q CLI reads MCP configuration from:
  • Global: ~/.aws/amazonq/mcp.json
  • Workspace: .amazonq/mcp.json
2

Add CodeAlive Server

Replace 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
"Find all API endpoints in the user service"
"Explain how the payment flow works"
"Show me error handling patterns"

Troubleshooting

  1. Verify the config file location matches your setup (CLI vs IDE)
  2. Check JSON syntax
  3. Restart the CLI or IDE
  1. Verify your API key is correct
  2. Ensure Bearer prefix is included in the Authorization header
  3. Try regenerating your API key in the dashboard
Use the config file method instead of the UI for reliable persistence.
For more solutions, see the Troubleshooting Guide.