mcpField
G
gud-api-mcp

gud-api-mcp

Local
gudapi.gudlab.orgDeveloper Tools2Updated 6w ago

About gud-api-mcp

Gud API is an API client for the VS Code editor, supporting REST and GraphQL testing and request collections. Its companion MCP server lets agents create, run, and save requests as project collections.

Key features

  1. 01Build REST and GraphQL requests
  2. 02Manage request collections, environments, and variables
  3. 03Inspect responses and search their contents
  4. 04Generate code snippets in several languages
  5. 05Import Postman, Thunder Client, and OpenAPI data

Use cases

  1. 01Test REST or GraphQL endpoints in the editor
  2. 02Organize requests by project and folder
  3. 03Move requests from an existing Postman collection
  4. 04Let agents create and save project API requests

MCP support

The companion @gudlab/gud-api-mcp exposes capabilities for agents to create, run, and save Gud API requests as collections in a project.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gudlab-gud-api": {
"command": "npx",
"args": [
"-y",
"@gudlab/gud-api-mcp"
]
}
}
}
Run commandnpx -y @gudlab/gud-api-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@gudlab/gud-api-mcp0.1.3

Tools

8

Saved tool list · updated 3w ago

This tool takes no parameters.

Details

From the project README

Gud API

A lightweight, full-featured API client built into your editor. Test REST and GraphQL APIs, organize requests into collections, manage environments, and generate code snippets — without switching to Postman or another external tool.

Open VSX VS Marketplace

Install from Open VSX or the VS Code Marketplace. Site: gudapi.gudlab.org.

Source

The editor extension is proprietary. This repository is the public home for product docs and issues. It does not contain the VS Code / Open VSX extension source.

If you followed the GitHub link from the Marketplace or Open VSX, you are in the right place for bugs and feature requests. There is nothing here to clone for the UI.

The companion MCP server is public: @gudlab/gud-api-mcp, source in gudlab/gud-api-mcp. Docs: gudapi.gudlab.org/guide/ai-agents.

Features

Request Builder
  • All HTTP methods: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD
  • Query params editor with bidirectional URL sync and enable/disable toggles
  • Headers editor with dynamic key-value rows
  • Multiple body types: JSON, Form URL Encoded, Multipart Form Data, GraphQL, plain text
  • File uploads via multipart form-data with native file picker
  • Auth: Bearer Token, Basic Auth, API Key (header or query param)
GraphQL
  • Dedicated GraphQL editor with separate Query and Variables panes
  • Auto-sets method to POST and Content-Type to application/json
  • Variables parsed as JSON and sent alongside the query
Response Viewer
  • Status code, response time, size, and format detection (JSON/HTML/XML)
  • Pretty / Raw / Preview toggle — preview renders HTML in a sandboxed iframe
  • Search — find text in the response body with match count and navigation
  • Cookies tab — view Set-Cookie headers from the response
  • Copy button for body or headers
Code Generation
  • Generate code from any request with one click
  • Languages: cURL, JavaScript (fetch), Python (requests), Node.js (axios)
  • Copy to clipboard
Request History
  • Every request is auto-saved to history (last 100 entries)
  • View history in the sidebar with method, URL, status, and timestamp
  • Click any entry to reload it into the request builder
  • Persists across VS Code sessions
Cookie Management
  • Cookies from responses are automatically captured and stored
  • Cookies are auto-sent on subsequent requests to matching domains
  • Cookie Manager to view, enable/disable, and delete cookies by domain
  • In-memory storage — cookies reset when VS Code restarts
Collections
  • Save and organize requests into collections and folders
  • Click to load any saved request back into the builder
  • Right-click to rename, delete, or create new folders
  • Supports deeply nested folder structures
Import
  • Postman v2.x collections (including nested folders, headers, body, and collection variables)
  • Thunder Client collections
  • OpenAPI 3.x / Swagger 2.0 specs (paths become requests, tags become folders)
  • Import via sidebar button or command palette
Environments & Variables
  • {{variable}} syntax in URLs, headers, and body — resolved automatically on send
  • Collection-level variables imported from Postman (e.g. {{base_url}})
  • User-defined environments with key-value editor and enable/disable toggles
  • Environment selector in the toolbar — switch between environments instantly
  • Variable resolution order: environment overrides collection variables
Editor Integration
  • Activity bar icon for quick access
  • Matches your VS Code theme automatically (light, dark, high contrast)
  • Works without a workspace open (stores in VS Code global storage)
  • Keyboard shortcut: Enter to send request

Getting Started

  1. Install the extension from Open VSX or the VS Code Marketplace
  2. Click the Gud API icon in the activity bar
  3. Enter a URL and press Send
  4. Click Save to add the request to a collection

To import an existing collection, click Import in the sidebar and select a Postman, Thunder Client, or OpenAPI JSON file.

MCP for AI agents

Agents can create, run, and save requests as real Gud API collections via @gudlab/gud-api-mcp:

{
  "mcpServers": {
    "gud-api": {
      "command": "npx",
      "args": ["-y", "@gudlab/gud-api-mcp", "--project", "."]
    }
  }
}

Source and tools: gudlab/gud-api-mcp. Guide: gudapi.gudlab.org/guide/ai-agents.

Free vs Pro

Gud API is free to use with no limits on requests, collections, or folders. Team / cloud sync is the Pro upsell.

FeatureFreePro
Unlimited requestsYesYes
Collections & foldersYesYes
Import (Postman, Thunder Client, OpenAPI)YesYes
Auth (Bearer, Basic, API Key)YesYes
GraphQL supportYesYes
Multipart form-data & file uploadYesYes
Code generation (cURL, fetch, Python, axios)YesYes
Request historyYesYes
Cookie managementYesYes
Response search & format toggleYesYes
Collection variablesYesYes
Environments1Unlimited
Team sync-Yes
Cloud collections-Yes

Pro: $4/month or $29 lifetime.

Support

Gud API is free with no limits. If it saves you time, consider supporting development:

Feedback & Issues

Report bugs or request features at github.com/gudlab/gud-api/issues.

License

Proprietary. See LICENSE. The editor UI is not open source. The MCP server has its own license in gudlab/gud-api-mcp.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.