
Gud Api Mcp
io.github.gudlab由 GitHub 账号 gudlab 发布v0.1.3更新于 Oct 24, 2026
AI agents create, run, and save API requests as Gud API collections in your project.
概览
让 AI 助手在项目中创建、运行并保存 HTTP API 请求,并整理为 Gud API 集合。
- 可以做什么
- Gud API MCP 服务器把助手连接到 Gud API 客户端,使其能够构建 API 请求、执行请求,并把它们保存为项目中的真实集合。配套的编辑器扩展支持 REST 与 GraphQL 请求、环境与变量、响应查看、代码生成、历史记录、Cookie,以及从 Postman、Thunder Client 和 OpenAPI 规范导入。MCP 服务器本身以 npm 包 @gudlab/gud-api-mcp 发布,通过 stdio 在本地运行。
- 适用场景
- 适合希望让助手实际调用或整理 HTTP API,并把生成的请求保存为项目中可复用集合的场景。也适合已经在使用 Gud API 编辑器扩展、希望由智能体来创建和执行请求的团队。
- 运行要求
- 以本地进程方式通过 stdio 运行,使用 npx 从 npm 包 @gudlab/gud-api-mcp 启动,通常需要传入项目路径参数。需要 Node.js 以及访问目标 API 的网络连接。该 MCP 服务器未声明任何认证、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 Gud Api Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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.
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
- Install the extension from Open VSX or the VS Code Marketplace
- Click the Gud API icon in the activity bar
- Enter a URL and press Send
- 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:
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.
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.
来源:README.md,提交 e9eef7f
工具
0版本历史
1- v0.1.3最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。