Skip to main content

Overview

Integrate CodeAlive with Continue - the first client to offer full support for all MCP features (Resources, Prompts, Tools, and Sampling). Continue is an open-source platform that lets you build custom AI code agents with any model, without vendor lock-in.
Quick install: Run npx @codealive/installer to automatically configure CodeAlive for Continue. See the Installation Guide for details.

Prerequisites

  • Continue extension installed in VS Code or JetBrains IDE
  • CodeAlive account with API key (Sign up here)
  • Indexed repositories in your CodeAlive dashboard

Configuring Continue with CodeAlive

1

Install Continue

Follow the installation steps above for your IDE
2

Open Continue Config

Access Continue configuration:VS Code:
  • Click Continue icon in sidebar
  • Click gear icon → “Open config.json”
JetBrains:
  • Open Continue panel
  • Settings → Configuration
3

Add CodeAlive MCP

Continue has full MCP support. Create or edit ~/.continue/config.yaml:
Replace YOUR_API_KEY_HERE with your actual CodeAlive API key.
Continue maps MCP features to its existing capabilities:
  • Resources → Context sources
  • Prompts → Slash commands
  • Tools → Tool integrations
  • Sampling → Model configurations
4

Restart IDE

Restart your IDE to load the new configuration
5

Verify Integration

Type @codealive in Continue chat to test:
  • “@codealive what repositories are available?”
  • “@codealive find authentication code”

Configuration Options

Docker Setup (STDIO)

For local deployment or enhanced privacy:

Usage Patterns

Use @codealive to add context to your prompts:

Advanced Features

Custom Models with CodeAlive

Configure Continue to use CodeAlive with different models:

Repository Filtering

Limit CodeAlive searches to specific repositories:

Custom Prompts

Create templates that leverage CodeAlive:

IDE-Specific Setup

Additional VS Code settings:
JetBrains-specific configuration:
For Neovim with Continue:

Troubleshooting

Solutions:
  1. Check config.json syntax is valid
  2. Restart IDE completely
  3. Verify contextProviders section exists
  4. Check Continue logs for errors
Solutions:
  1. Verify API key is valid
  2. Check repositories are indexed
  3. Test MCP server URL directly
  4. Review Continue debug output
Solutions:
  1. Use more specific queries
  2. Limit repository scope
  3. Consider Docker deployment
  4. Check network latency
For more solutions, see the Troubleshooting Guide.

Best Practices

Context Usage

Use @codealive for large context needs, reducing token usage

Model Selection

Pair faster models with CodeAlive for better performance

Caching

Enable Continue’s cache for repeated queries

Privacy

Use Docker or self-hosted for sensitive code

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 prefer semantic_search and grep_search when exploring indexed code. See Instructing Coding Agents.