Skip to main content

Wrangl

io.github.asgerami/wrangl

v0.6.0Updated Nov 12, 2026stdio · npm

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

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add wrangl -e WRANGL_TOOL_MODE=endpoints -- npx -y @asgerami/[email protected] generate --spec '<your-spec>'

Configuration

7 settings.

  • --spec
    Argument· required
    OpenAPI 3.x spec or Postman collection to serve: a URL or a file path
  • WRANGL_BEARER_TOKEN
    Env var· optional· secret
    Token for APIs that use bearer authentication
  • WRANGL_API_KEY
    Env var· optional· secret
    Key for APIs that use an API key
  • WRANGL_BASIC_AUTH
    Env var· optional· secret
    user:password for APIs that use HTTP Basic authentication
  • WRANGL_TOOL_MODE
    Env var· optional
    "discovery" serves the API through 3 tools that search, describe, and call its endpoints (best for large APIs); "endpoints" gives one tool per endpointDefault: endpoints
  • WRANGL_PIN
    Env var· optional
    With discovery mode, comma-separated globs for endpoints to also expose as direct tools, e.g. "issues_create,pulls_list"
Show 1 more
  • --base-url
    Argument· optional
    Upstream API base URL, when the spec has none or you need a different one

Listed in the official MCP Registry since Nov 12, 2026. Mirrored daily; last checked Nov 26, 2026.