Skip to content

VS Code

Connect AllMCP to VS Code with GitHub Copilot in Agent mode.

Get your API key Browse providers
  1. Locate the config file

    Create .vscode/mcp.json in your workspace root. This file is workspace-scoped — each project can point to a different MCP server or user.

    For a user-level config, create mcp.json in your VS Code user settings directory.

  2. Add the allmcp block

    .vscode/mcp.json
    {
    "servers": {
    "allmcp": {
    "type": "http",
    "url": "https://go.allmcp.co/mcp/",
    "headers": {
    "X-API-Key": "YOUR_API_KEY"
    }
    }
    }
    }
  3. Apply the config

    VS Code picks up .vscode/mcp.json automatically — no restart needed. You may need to reload the Copilot chat panel.

  4. Verify it’s working

    Open the Copilot chat (Ctrl+Alt+I), switch to Agent mode, and type:

    List available AllMCP integrations

If several people share a workspace, add a user_id to the URL so each person keeps their own separate set of connected providers and one person’s credentials never mix with another’s:

.vscode/mcp.json
{
"servers": {
"allmcp": {
"type": "http",
"url": "https://go.allmcp.co/mcp/?user_id=your-user-id",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}

If your .vscode/mcp.json contains a personal API key, add it to .gitignore:

.gitignore
.vscode/mcp.json