Skip to content
Canopy is in pre-release. These docs describe the product at its public launch — commands, tool names, and integration examples reflect what you'll see once binaries ship. Join the waitlist →

Set Up Canopy with VS Code + Continue

Continue is the open-source AI coding extension for VS Code. It supports MCP servers via its ~/.continue/config.yaml file. Once connected, Continue’s chat can call Canopy’s single tool, canopy_answer, for any code-intelligence question.

Run canopy setup inside the repo. The editor-wiring step detects installed MCP editors and writes their config for you; the same command also handles licensing, the embedding runtime, and the initial index. Most users never hand-edit MCP config.

Terminal window
cd /path/to/your/repo
canopy setup # interactive; accept the defaults
canopy setup --yes # zero prompts

To re-run only the editor wiring on an already-onboarded machine: canopy setup --only mcp.

If canopy setup wired Continue for you, skip ahead to Verify the connection.

Add an mcpServers entry to ~/.continue/config.yaml:

mcpServers:
- name: canopy
command: canopy
args:
- serve

Save the file. Continue reloads the config automatically — no VS Code restart needed.

The Continue chat panel’s tool list now includes canopy’s single canopy_answer entry. In the chat, type:

@canopy_answer

The completion menu should show canopy_answer as a callable tool. Select it and ask a question:

what is the architecture of this repo?

Continue runs the routed answer against your current repo. If the tool isn’t listed, reload the VS Code window and check Continue’s output panel (View → Output → “Continue”) — MCP connection errors surface there.

canopy command not found Continue uses the VS Code shell environment, which may differ from your terminal shell. Use an absolute path:

mcpServers:
- name: canopy
command: /usr/local/bin/canopy
args:
- serve

Continue picks built-in grep instead of canopy_answer Continue’s tool selection is model-driven; bias it via the system prompt in config.yaml:

systemMessage: |
For codebase questions, prefer canopy_answer over grep and over reading whole files.

Older Continue versions Pre-1.0 Continue used a different config schema. Update to the latest stable Continue on the VS Code marketplace for MCP support.

“Index not found” Run canopy index . in the repo root (or canopy setup, which indexes for you).

For a “nothing leaves the box” configuration:

mcpServers:
- name: canopy
command: /usr/local/bin/canopy
args:
- --no-network
- serve

Canopy refuses any cloud-backend configuration under this flag and exits with code 2 on violation.