
本页由 AI 翻译,技术细节请以原文为准。 查看原文
postmanlabs/postman-mcp-server 是从 https://github.com/postmanlabs/postman-mcp-server. 导入的 MCP 服务器候选
概览
postmanlabs/postman-mcp-server 是从 https://github.com/postmanlabs/postman-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
Postman MCP 服务器实现了模型上下文协议(MCP),将 AI 代理和编码助手——包括 Claude Code、Cursor、VS Code Copilot、GitHub Copilot CLI 和 Gemini CLI——直接连接到您的 Postman 工作空间、集合、规范和环境。
Postman也提供该服务器作为npm套餐。
有关完整的安装指南及代理特定设置,请参见 Postman 的 MCP 服务器产品页面。
邮差MCP服务器收藏
Postman MCP 服务器集合是探索、测试和连接 Postman MCP 服务器的最快捷方式。使用它:
- 浏览所有配置中可用的完整工具列表。
- 连接并测试远程服务器——完整和最小。
- 连接并测试本地服务器。
工具配置
- 最小 — (默认)仅包含基本邮递员操作的基本工具。非常适合想要修改单个邮差元素的用户,如集合、工作区或环境。
- 代码 — 包含从公开和内部API定义生成高质量、组织良好客户端代码的工具。非常适合需要调用API或获取API上下文的用户。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Postman MCP Server
The Postman MCP Server implements the Model Context Protocol (MCP) to connect AI agents and coding assistants — including Claude Code, Cursor, VS Code Copilot, GitHub Copilot CLI, and Gemini CLI — directly to your Postman workspaces, collections, specifications, and environments.
Postman also offers the server as an npm package.
For the full installation guide with agent-specific setup, see Postman’s MCP Server product page.
Postman MCP Server collection
The Postman MCP Server collection is the quickest way to explore, test, and connect to the Postman MCP Server. Use it to:
- Browse the complete list of available tools across all configurations.
- Connect to and test the remote server — Full and Minimal.
- Connect to and test the local server.
Tool configurations
- Minimal — (Default) Only includes essential tools for basic Postman operations. Ideal for users who want to modify a single Postman element, such as collections, workspaces, or environments.
- Code — Includes tools to generate high-quality, well-organized client code from public and internal API definitions. Ideal for users who need to consume APIs or get API context to their agents.
- Full — Includes all available Postman API tools (100+ tools). Ideal for users who engage in advanced collaboration and Postman’s Enterprise features.
- Learn — Searches Postman Docs for guides, tutorials, and reference content. Ideal for agents who need to discover Postman features, look up API concepts, or find learning resources.
Authentication
For the best developer experience and fastest setup, use OAuth on the remote server (https://mcp.postman.com). OAuth is fully compliant with the MCP Authorization specification and requires no manual API key configuration.
The EU remote server and the local server support only Postman API key authentication.
Quick start
Remote (any OAuth-compatible MCP host):
Add this URL to your MCP host’s configuration:
https://mcp.postman.com/minimal
Change /minimal to /code or /mcp for Code or Full mode. For EU or API key auth, pass Authorization: Bearer as a header.
Local:
npx @postman/postman-mcp-server
安装
npx @postman/postman-mcp-server