Overview
The CodeAlive installer automatically detects your AI coding agents and configures CodeAlive for each one. It supports three installation methods: MCP server (direct tool access), agent skill (workflow guidance), and Claude Code plugin (Claude-specific enhancements).Quick Start
Select Components
The interactive wizard will ask what to install:
| Component | Best for | Description |
|---|---|---|
| MCP Server | Any MCP-compatible client | Configures codebase_search, codebase_consultant, and get_data_sources tools |
| CodeAlive Skill | Cursor, Copilot, Windsurf, Gemini CLI, Codex, 30+ agents | Teaches your agent effective query patterns and workflows |
| Claude Code Plugin | Claude Code users | Includes the skill plus authentication hooks and a code exploration subagent |
Authenticate
Enter your CodeAlive API key when prompted. Get one at app.codealive.ai.The key is stored securely in your OS credential store — you only need to enter it once.
Installation Methods
- Interactive (Default)
- CI Mode
- Programmatic
The default wizard walks you through component selection and agent detection:If you already have an API key, pass it to skip the key prompt:
Supported Agents
The installer auto-detects and configures these agents:| Agent | MCP Server | Skill | Plugin |
|---|---|---|---|
| Claude Code | Yes | Yes | Yes |
| Cursor | Yes | Yes | — |
| VS Code (GitHub Copilot) | Yes | Yes | — |
| Windsurf | Yes | Yes | — |
| Cline | Yes | Yes | — |
| Roo Code | Yes | Yes | — |
| Zed | Yes | Yes | — |
| OpenCode | Yes | Yes | — |
| Codex | Yes | Yes | — |
| Antigravity | Yes | Yes | — |
What Gets Installed
MCP Server
MCP Server
Configures the CodeAlive MCP server (
https://mcp.codealive.ai/api/) in each detected agent’s config file. This gives your agent access to three tools:get_data_sources— List indexed repositories and workspacescodebase_search— Semantic code search across your codebasecodebase_consultant— AI consultant with full project expertise
Agent Skill
Agent Skill
Installs the CodeAlive Context Engine skill via
npx skills add. The skill teaches your agent:- Effective query patterns for search and chat
- Cost-aware tool selection (search vs. chat)
- Multi-step exploration workflows
- Data source management (repos and workspaces)
Claude Code Plugin
Claude Code Plugin
Installs the Claude Code marketplace plugin, which includes:
- The CodeAlive skill (same as above)
- Authentication hooks for automatic API key injection
- A code exploration subagent for guided multi-step analysis
API Key Storage
Your API key is stored securely in the OS credential store:| Platform | Store | Manual command |
|---|---|---|
| macOS | Keychain | security add-generic-password -a "$USER" -s "codealive-api-key" -w "KEY" |
| Linux | Secret Service | secret-tool store --label="CodeAlive API Key" service codealive-api-key |
| Windows | Credential Manager | cmdkey /generic:codealive-api-key /user:codealive /pass:"KEY" |
Command Reference
Troubleshooting
Installer not detecting my agent
Installer not detecting my agent
The installer looks for known config file locations. If your agent uses a non-standard path:
- Run
npx @codealive/installer --debugto see which paths are checked - If your agent isn’t listed, use the manual setup guides instead
API key not saved
API key not saved
If the credential store fails:
- Set the environment variable manually:
export CODEALIVE_API_KEY="your_key" - On macOS, ensure Keychain Access is unlocked
- On Linux, ensure
secret-toolis installed (sudo apt install libsecret-tools)
Permission errors on Windows
Permission errors on Windows
Run PowerShell as Administrator, or use the Node.js method:
Node.js not installed
Node.js not installed
The installer requires Node.js 18+. Install it from nodejs.org or use the Windows PowerShell one-liner which doesn’t require Node.js.
Related Resources
Quickstart
Get started with CodeAlive in minutes
MCP Integration
Manual MCP setup for all agents
Agent Skills
Learn about skills and plugins
GitHub
Installer source code