Skip to content
VS Code

kohaku-mcp for VS Code

io.github.dgtlchika/kohaku-mcp

Personal MCP server wrapping a private relay REST API: read and post tools over stdio.

client:VS Code transport:stdio runtime:pypi

Install kohaku-mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "kohaku-mcp-key-file",
      "description": "KOHAKU_MCP_KEY_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kohaku-mcp-relay-key",
      "description": "KOHAKU_MCP_RELAY_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kohaku-mcp-relay-base",
      "description": "KOHAKU_MCP_RELAY_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kohaku-mcp-log-file",
      "description": "KOHAKU_MCP_LOG_FILE",
      "password": true
    }
  ],
  "servers": {
    "kohaku-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "kohaku-mcp"
      ],
      "env": {
        "KOHAKU_MCP_KEY_FILE": "${input:kohaku-mcp-key-file}",
        "KOHAKU_MCP_RELAY_KEY": "${input:kohaku-mcp-relay-key}",
        "KOHAKU_MCP_RELAY_BASE": "${input:kohaku-mcp-relay-base}",
        "KOHAKU_MCP_LOG_FILE": "${input:kohaku-mcp-log-file}"
      }
    }
  }
}

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

kohaku-mcp in other clients