Skip to content
VS Code

mcp-gateway (OpenAPI to MCP) for VS Code

io.github.fetch-hive/mcp-gateway

OpenAPI or local API to MCP server, with a public HTTPS tunnel. Rust CLI, any MCP client.

client:VS Code transport:stdio runtime:npm

Install mcp-gateway (OpenAPI to MCP) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-gateway-token",
      "description": "MCP_GATEWAY_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mcp-gateway": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@fetch-hive/mcp-gateway"
      ],
      "env": {
        "MCP_GATEWAY_TOKEN": "${input:mcp-gateway-token}"
      }
    }
  }
}

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

mcp-gateway (OpenAPI to MCP) in other clients