Gud API MCP Server
OfficialProvides a companion Gud API extension that reads the collection files written by the server, making them clickable in the editor sidebar.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gud API MCP ServerAdd a GET request to /users and save the response as an example."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@gudlab/gud-api-mcp — Gud API for AI agents
A Model Context Protocol server that lets any MCP-capable AI agent — Claude Code, Cursor, Windsurf, Codex, Cline, Zed, and others — create, run, and save API requests and collections as real Gud API files your team can open in any VS Code-compatible editor.
When an agent builds an endpoint, it registers the request, runs it, and captures
the response as an example. The collection is written to your project's
.gud-api/ folder — the same files the Gud API extension
reads. Open your editor and every endpoint the agent built is in your sidebar,
ready to click and re-run. It's git-committable, so it travels with the PR.
Neither Postman nor Bruno occupies this lane: agent-written, editor-native, git-friendly, no cloud account.
Works with
MCP clients (this server): Claude Code, Cursor, Windsurf, Codex, Cline, Zed, Continue — any tool that speaks the Model Context Protocol.
Editors (the companion Gud API extension that reads the files): VS Code, plus any VS Code-compatible editor that installs from Open VSX — Cursor, Windsurf, VSCodium, Antigravity, Trae, and more.
The server itself is editor-agnostic — it just writes files. You don't need the extension to use it, but the extension is what makes the collections clickable.
Related MCP server: MCP-Insomnia
Install
The server runs via npx — no global install needed. It's the same config for
every MCP client; only the file it lives in differs.
Add this to your client's MCP config (.mcp.json for Claude Code, ~/.cursor/mcp.json
for Cursor, the Windsurf/Codex/Cline equivalent, etc.):
{
"mcpServers": {
"gud-api": {
"command": "npx",
"args": ["-y", "@gudlab/gud-api-mcp", "--project", "."]
}
}
}--project . scopes all reads/writes to the current project's .gud-api/
folder. Pass an absolute path to target a different project.
What the agent can do
Tool | Purpose |
| List collections with request counts and folders |
| Full contents of one collection (bodies + example summaries) |
| Create a collection in |
| Create/update a request (matched by name), nest under a folder path |
| Execute a request, resolve |
| Remove a saved request |
| Create/update a named variable set (base_url, tokens), optionally set active |
| Read active variables — secret-looking values are masked |
How it fits the Gud API format
Files are written byte-compatible with the extension (v0.5.7+): slug filenames
(payments-api.json), canonical key order, schemaVersion, trailing newline.
The MCP server targets workspace scope — files live in your project and are
never cloud-synced, so agent output stays local and reviewable.
Captured responses are stored as examples[] on each request (max 5). The
extension renders these read-only so you can see exactly what the API returned
when the agent tested it.
Security notes
send_requestexecutes arbitrary HTTP — no more than thecurlaccess an agent already has, but be aware of it.Secret masking:
get_active_environmentmasks values whose keys look like secrets (token,key,secret,password, …).send_requeststill resolves the real values server-side, so the agent can use a credential without reading it into its context. This is heuristic, not a guarantee — don't put production credentials in an agent-visible environment.Cookies are in-memory per session — an agent never inherits your browser session cookies.
Writes are confined to
--project— collection/environment names are slugified, so a name can't traverse out of the.gud-api/folder.
Links
Gud API extension: VS Code Marketplace · Open VSX
License
Proprietary — see the LICENSE file. Free to install and use; redistribution and modification are restricted.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gudlab/gud-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server