Wrangl MCP Server
Turn any REST API into MCP tools, from an OpenAPI spec, a Postman collection, or a base URL.
Wrangl scores 67 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Databases, Developer tools, AI and memory. GitHub shows 4 stars. Package registries report about 70 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 67 comes from
22 + 20 + 2 + 10 + 10 + 3 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "asgerami-wrangl": { "command": "npx", "args": [ "-y", "@asgerami/wrangl@0.6.0" ], "env": { "WRANGL_TOOL_MODE": "endpoints", "WRANGL_PIN": "", "WRANGL_BEARER_TOKEN": "YOUR_WRANGL_BEARER_TOKEN", "WRANGL_API_KEY": "YOUR_WRANGL_API_KEY", "WRANGL_BASIC_AUTH": "YOUR_WRANGL_BASIC_AUTH" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
WRANGL_TOOL_MODE | Optional | "discovery" serves the API through 3 tools that search, describe, and call its endpoints (best for large APIs); "endpoints" gives one tool per endpoint |
WRANGL_PIN | Optional | With discovery mode, comma-separated globs for endpoints to also expose as direct tools, e.g. "issues_create,pulls_list" |
WRANGL_BEARER_TOKENSecret | Optional | Token for APIs that use bearer authentication |
WRANGL_API_KEYSecret | Optional | Key for APIs that use an API key |
WRANGL_BASIC_AUTHSecret | Optional | user:password for APIs that use HTTP Basic authentication |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Wrangl turns any REST API into a Model Context Protocol server, so AI agents like Claude and Cursor can call it. Give it an OpenAPI spec, a Postman collection, or just a base URL, and every endpoint becomes a tool. Your API keys stay on the server, so the agent never sees them.
Quick start
Wrangl needs Node.js 22 or newer.
npx @asgerami/wrangl install https://petstore3.swagger.io
Wrangl finds the API's spec, generates the tools, and adds the server to
Claude Desktop. Restart Claude and the API is ready to use. For another
agent, add --client with cursor, windsurf, cline, zed, or
vscode.
No spec? Add a ready-made server from the catalog:
npx @asgerami/wrangl catalog # list what's available
npx @asgerami/wrangl add stripe # 600+ tools
npx @asgerami/wrangl add github --discovery
For an API that needs a key, pass it with --env, for example
--env WRANGL_BEARER_TOKEN=...; see
Authentication.
Dashboard
npx @asgerami/wrangl serve # http://localhost:4000
Create servers, run any tool from the browser, and watch request logs, error rates, and latency.
Features
- One command.
installfinds the spec, generates the tools, and updates your agent's config, backing it up first. - Built-in catalog. Ready-made servers for GitHub, Stripe, OpenAI, Twilio, Discord, Slack, SendGrid, and PagerDuty.
- Spec discovery. Point it at a base URL and it finds the spec, even when it's only linked from a docs page.
- Discovery mode for large APIs.
--discoveryexposes three tools that search, describe, and call the endpoints instead of one tool each, so GitHub's 1,254 endpoints cost an agent three tool definitions.--pinkeeps the calls you use most as direct tools too. - Real-world specs. OpenAPI 3.x and Postman collections, including
recursive schemas.
--includeand--excludetrim huge APIs down to the tools an agent needs. - Auth built in. Bearer, Basic, API keys, OAuth2 (PKCE and client credentials), and OpenID Connect.
- Safe by default. Destructive tools ask the agent to confirm, POST and PATCH are never retried, and upstream calls time out.
- Ready to deploy. Docker image, admin auth, per-server tokens and rate limits, and PostgreSQL for running several replicas.
- Works as a Claude or ChatGPT connector.
--oauth-issuerlets agents sign in to hosted servers through your own identity provider. - Current with MCP. Targets protocol revision
2026-07-28and still serves older clients. - Optional LLM pass.
--enrichuses Claude to turn raw names likepost_v1_contactsinto clear tool names and descriptions.
Use it as a library
import { ingest, createMcpServer, serveStdio } from "@asgerami/wrangl";
const generated = await ingest("https://api.example.com/openapi.json");
const server = createMcpServer(generated, {
creds: { bearerAuth: process.env.API_TOKEN! },
});
await serveStdio(server);
Documentation
- Guide: every command and flag, authentication and OAuth2, the dashboard and REST API, and deploying with Docker and PostgreSQL.
- Architecture: how Wrangl works and the design decisions behind it.
- Changelog: release history.
Contributing
Bug reports and pull requests are welcome. See CONTRIBUTING.md for setup and tests, and SECURITY.md to report a vulnerability privately.
License
Frequently asked questions
What is Wrangl MCP Server?
Turn any REST API into MCP tools, from an OpenAPI spec, a Postman collection, or a base URL.
How do I install Wrangl MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Wrangl MCP Server runs locally from the npm package @asgerami/wrangl with the command npx -y @asgerami/wrangl@0.6.0.
Is Wrangl MCP Server free and open source?
Yes. Wrangl MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Wrangl MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Wrangl MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Wrangl MCP Server's trust score calculated?
Wrangl MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.