Skip to content
VS Code

Wrangl for VS Code

io.github.asgerami/wrangl

Turn any REST API into MCP tools, from an OpenAPI spec, a Postman collection, or a base URL.

client:VS Code transport:stdio runtime:npm

Install Wrangl in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wrangl-tool-mode",
      "description": "WRANGL_TOOL_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wrangl-pin",
      "description": "WRANGL_PIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wrangl-bearer-token",
      "description": "WRANGL_BEARER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wrangl-api-key",
      "description": "WRANGL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wrangl-basic-auth",
      "description": "WRANGL_BASIC_AUTH",
      "password": true
    }
  ],
  "servers": {
    "wrangl": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@asgerami/wrangl"
      ],
      "env": {
        "WRANGL_TOOL_MODE": "${input:wrangl-tool-mode}",
        "WRANGL_PIN": "${input:wrangl-pin}",
        "WRANGL_BEARER_TOKEN": "${input:wrangl-bearer-token}",
        "WRANGL_API_KEY": "${input:wrangl-api-key}",
        "WRANGL_BASIC_AUTH": "${input:wrangl-basic-auth}"
      }
    }
  }
}

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

Wrangl in other clients