Connect VS Code

Use the Minimus tools in GitHub Copilot's chat in VS Code.

Replace https://panel.example.com/mcp with your panel's MCP address.

  1. Add the server

    Open the Command Palette and run MCP: Add Server. Choose HTTP, enter your panel's MCP address and the name minimus, and save it to your global configuration (shared with Copilot CLI) or to the workspace.

  2. Sign in, or use a key

    • Sign in: when Copilot connects, choose Authenticate for minimus. Your browser opens your panel's sign-in page: sign in, choose the scopes, and approve.
    • API key: add the header to the server's entry, with the key in your environment as MINIMUS_API_KEY:
    ~/.copilot/mcp-config.json
    {
      "mcpServers": {
        "minimus": {
          "type": "http",
          "url": "https://panel.example.com/mcp",
          "headers": { "Authorization": "Bearer ${MINIMUS_API_KEY}" }
        }
      }
    }

    Set MINIMUS_API_KEY before VS Code starts: a value set later in a terminal doesn't reach it.

Older setups: .vscode/mcp.json

VS Code still reads .vscode/mcp.json, now marked as deprecated. There, VS Code can ask for the key once and keep it for you:

.vscode/mcp.json
{
  "inputs": [
    { "type": "promptString", "id": "minimus-api-key", "description": "Minimus API key", "password": true }
  ],
  "servers": {
    "minimus": {
      "type": "http",
      "url": "https://panel.example.com/mcp",
      "headers": { "Authorization": "Bearer ${input:minimus-api-key}" }
    }
  }
}

With Copilot Business or Enterprise, your organisation's admin must allow MCP servers in Copilot's policies first.