Skip to content
VS Code

Agent Handoff MCP for VS Code

io.github.sarutobisasuke8/agent-handoff-mcp

Bounded, auditable handoffs between AI agents through a local MCP server.

client:VS Code transport:stdio runtime:npm

Install Agent Handoff MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "handoff-agent-id",
      "description": "HANDOFF_AGENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "handoff-mcp-registry",
      "description": "HANDOFF_MCP_REGISTRY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "handoff-mcp-db",
      "description": "HANDOFF_MCP_DB",
      "password": true
    }
  ],
  "servers": {
    "agent-handoff-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sarutobi-sasuke/agent-handoff-mcp"
      ],
      "env": {
        "HANDOFF_AGENT_ID": "${input:handoff-agent-id}",
        "HANDOFF_MCP_REGISTRY": "${input:handoff-mcp-registry}",
        "HANDOFF_MCP_DB": "${input:handoff-mcp-db}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Agent Handoff MCP in other clients