Skip to main content

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

1

Run the Installer

npx @codealive/installer
2

Select Components

The interactive wizard will ask what to install:
ComponentBest forDescription
MCP ServerAny MCP-compatible clientConfigures codebase_search, codebase_consultant, and get_data_sources tools
CodeAlive SkillCursor, Copilot, Windsurf, Gemini CLI, Codex, 30+ agentsTeaches your agent effective query patterns and workflows
Claude Code PluginClaude Code usersIncludes the skill plus authentication hooks and a code exploration subagent
3

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.
4

Restart Your Agents

Restart your AI coding agents to pick up the new configuration. The installer will tell you which agents were configured.

Installation Methods

The default wizard walks you through component selection and agent detection:
npx @codealive/installer
If you already have an API key, pass it to skip the key prompt:
npx @codealive/installer --api-key YOUR_KEY

Supported Agents

The installer auto-detects and configures these agents:
AgentMCP ServerSkillPlugin
Claude CodeYesYesYes
CursorYesYes
VS Code (GitHub Copilot)YesYes
WindsurfYesYes
ClineYesYes
Roo CodeYesYes
ZedYesYes
OpenCodeYesYes
CodexYesYes
AntigravityYesYes

What Gets Installed

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 workspaces
  • codebase_search — Semantic code search across your codebase
  • codebase_consultant — AI consultant with full project expertise
The installer writes the appropriate config format for each agent (JSON, TOML, YAML, or CLI command).
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)
Works with 30+ agents that support the skills.sh standard.
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
Install commands:
/plugin marketplace add CodeAlive-AI/codealive-skills
/plugin install codealive@codealive-marketplace

API Key Storage

Your API key is stored securely in the OS credential store:
PlatformStoreManual command
macOSKeychainsecurity add-generic-password -a "$USER" -s "codealive-api-key" -w "KEY"
LinuxSecret Servicesecret-tool store --label="CodeAlive API Key" service codealive-api-key
WindowsCredential Managercmdkey /generic:codealive-api-key /user:codealive /pass:"KEY"
The key is stored once and shared across all agents on the same machine.

Command Reference

npx @codealive/installer [options]

Options:
  --api-key, -k   CodeAlive API key
  --ci            CI mode — skip prompts, install MCP to detected agents
  --debug         Enable debug logging

Troubleshooting

The installer looks for known config file locations. If your agent uses a non-standard path:
  1. Run npx @codealive/installer --debug to see which paths are checked
  2. If your agent isn’t listed, use the manual setup guides instead
If the credential store fails:
  1. Set the environment variable manually: export CODEALIVE_API_KEY="your_key"
  2. On macOS, ensure Keychain Access is unlocked
  3. On Linux, ensure secret-tool is installed (sudo apt install libsecret-tools)
Run PowerShell as Administrator, or use the Node.js method:
npx @codealive/installer
The installer requires Node.js 18+. Install it from nodejs.org or use the Windows PowerShell one-liner which doesn’t require Node.js.