← Command+K MCP server

Command+K × VS Code

Use the Command+K MCP server
in VS Code

Set up and run an in-product AI assistant: widgets, knowledge, MCP connections, usage. This guide connects Command+K to VS Code (GitHub Copilot's agent mode) through a governed gateway — one URL that also works in every other MCP client you use, with your rules and a full log attached.

Live-probed · Security-scanned · OAuth sign-in

Setup: Command+K in VS Code

VS Code adds MCP servers via `.vscode/mcp.json` (Copilot agent mode). The gateway route takes about two minutes:

  1. Connect Command+K to your free gate gateway from the directory (one click).
  2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
  3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.
  4. Ask VS Code something Command+K can answer; the call runs through your gateway, with your rules applied and logged.
{
  "servers": {
    "gate": {
      "type": "http",
      "url": "https://gateturbo.com/api/mcp"
    }
  }
}

The gate URL, in VS Code’s own format. Direct config for Command+K alone is on its server page.

Why route it through a gateway

One URL, every client

The same Command+K connection works in Claude Code, Claude, Claude Desktop, ChatGPT, Codex, Cursor, Windsurf, Gemini CLI, OpenClaw, n8n, A script or server too — no per-client re-wiring.

Rules before regret

Allow, ask, or block every tool Command+K exposes — reads can flow freely while writes require your approval.

Every call logged

A plain-language activity log of everything VS Code did with Command+K — searchable, exportable, auditable.

Scanned and probed

Command+K passed a live handshake probe and a security scan before listing — and drift detection watches it after you connect.

Also available: Command+K in Claude Code · Command+K in Claude · Command+K in Claude Desktop · Command+K in ChatGPT · Command+K in Codex · Command+K in Cursor · Command+K in Windsurf · Command+K in Gemini CLI · Command+K in OpenClaw · Command+K in n8n · Command+K in A script or server