VS Code Setup
Configure ACE MCP with VS Code using GitHub Copilot or Continue extension - Complete step-by-step guide.
Node.js 18+ installed
Check with: node --version
VS Code installed
GitHub Copilot or Continue extension installed
Choose one AI assistant to use with ACE
ACE CLI installed and configured
ACE server running
Choose Your Setup Method
VS Code supports MCP through different AI extensions. Choose the method that matches your setup:
Option 1: Continue Extension
Free, open-source AI assistant with full MCP support. Works with any AI model.
Option 2: GitHub Copilot Chat
Microsoft's AI assistant. Requires Copilot subscription. MCP support via settings.
1Option 1: Continue Extension Setup
Install the Continue extension from the VS Code marketplace:
Or search for "Continue" in VS Code Extensions (Cmd/Ctrl + Shift + X)
Edit your Continue config file to add ACE:
Config file location:
Add the mcpServers section to your config:
Merge with Existing Config
If you have an existing config.json, add the mcpServers section alongside your existing settings.
Reload VS Code for changes to take effect:
Quick Reload
Press Cmd/Ctrl + Shift + P → "Developer: Reload Window"
2Option 2: GitHub Copilot Chat Setup
Copilot Subscription Required
GitHub Copilot Chat requires an active Copilot subscription (Individual, Business, or Enterprise).
Open VS Code settings to configure Copilot MCP:
Press Cmd/Ctrl + , to open Settings
Or: File → Preferences → Settings
Add the MCP configuration to your VS Code settings.json:
1. Click the "Open Settings (JSON)" icon in the top right
2. Add the following configuration:
Important: Customize Your Namespace
Replace my-project with your project namespace.
Reload VS Code for changes to take effect:
Press Cmd/Ctrl + Shift + P → "Developer: Reload Window"
Open the AI chat panel in VS Code and try these prompts:
Store a memory:
"Remember that we're using ESLint with strict rules"
Query patterns:
"What patterns are documented for this project?"
Track an issue:
"Track a bug: tests failing on CI"
Success!
If the AI responds by using ACE tools, your setup is complete!
Troubleshooting
The ACE CLI is not in your PATH. Try these fixes:
- Reinstall ACE globally:
npm install -g @ace3-memory/ace - Check npm global bin:
npm bin -g - Add to PATH in your shell config file
- Verify config.json syntax is valid JSON
- Check that ACE server is running:
ace status - Restart VS Code completely
- Check Continue logs in Output panel
- Ensure you have GitHub Copilot Chat extension installed
- Verify settings.json syntax is valid
- Check that the setting key is exactly
github.copilot.chat.mcpServers - Reload VS Code after changing settings
This happens when ACE is configured only in one project's .mcp.json file. That config is project-scoped and won't apply to other VS Code windows.
Fix: Add ACE globally so it works in every project:
- For Claude Code in VS Code: run
claude mcp add --scope user ace3 -- ace mcp start - For Continue: add ACE to
~/.continue/config.json(applies to all projects) - For GitHub Copilot: add to VS Code User settings (not Workspace settings)
User vs Workspace Settings
User settings apply to all VS Code projects. Workspace settings only apply to that one project. If ACE works in one window but not another, your config is likely in Workspace settings or a project-local .mcp.json file.
This usually happens when multiple VS Code windows are open, each running its own MCP connection pool. See the Multiple VS Code Windows section below for the fix.
- Close VS Code windows you aren't using
- Reduce the pool size: add
"ACE_MCP_POOL_MAX": "2"to your MCP env config - If it persists, restart VS Code — this releases all connections
Multiple VS Code Windows
Each VS Code window spawns its own MCP server process with its own database connection pool. This works fine with a few windows, but too many can exhaust your database connections.
VS Code Window 1 → MCP process (PID 1234) → pool: 1-3 connections
VS Code Window 2 → MCP process (PID 5678) → pool: 1-3 connections
VS Code Window 3 → MCP process (PID 9012) → pool: 1-3 connections
= up to 9 connections total to your database
By default each MCP instance uses 1-3 database connections. When you close a window, its connections are released automatically.
| Windows Open | Recommended Setting | Max Connections |
|---|---|---|
| 1-3 | Default (no change needed) | 3-9 |
| 4-6 | ACE_MCP_POOL_MAX=2 | 8-12 |
| 7+ | ACE_MCP_POOL_MAX=1 | 7+ |
Most Neon free-tier databases allow 20 concurrent connections. Supabase allows 60.
Add pool settings to the env block in your MCP config:
Environment Variables
ACE_MCP_POOL_MIN — minimum connections per instance (default: 1)ACE_MCP_POOL_MAX — maximum connections per instance (default: 3)
Pro Tips
Workspace-Specific Config
You can set different namespaces per workspace by using VS Code's workspace settings instead of user settings.
View Dashboard
Visit ace3-ai.com/dashboard to visualize your memories and decisions.
Available ACE Tools
Once configured, VS Code AI assistants can use all 56 ACE tools:
ace_rememberace_recallace_get_contextace_searchace_track_issueace_resolve_issueace_find_solutionsace_track_decisionace_best_practicesace_get_statsace_log_workace_architectureace_patternsace_manage_tagsace_graph_traverseace_graph_connectace_graph_relatedace_graph_listace_graph_healthace_graph_analyticsace_save_planace_list_plansace_get_planace_update_plan_taskace_create_planace_observeace_review_observationsace_trigger_learningace_agent_statusace_trigger_agentace_agent_configace_agent_historyace_agent_activityace_agent_insightsace_agent_healthace_list_namespacesace_set_namespaceace_create_namespaceace_get_current_namespace