Postman MCP Server

com.postman由 postman.com 发布官方发布者v2.15.0更新于 Oct 29, 2026

Give your AI agents trusted access to the full Postman platform.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

把 AI 助手连接到 Postman 的工作区、集合、规范和环境,用于管理 API 并生成客户端代码。

可以做什么
  • 浏览、创建和标记集合,更新文档并添加评论
  • 创建工作区和环境,并管理环境变量
  • 从代码创建规范,并据此生成集合
  • 为公开和内部 API 生成客户端代码
  • 在 Learn 模式下检索 Postman 文档中的指南、教程和参考资料
  • 用现有集合测试 API,本地服务器还可测试本机 API
适用场景
适合让助手直接操作你的 Postman 资产:让代码与集合和规范保持同步、测试 API、管理集合、工作区和环境,或根据 API 定义生成客户端代码。
运行要求
可使用远程端点(默认区域用 OAuth,EU 区域用 API 密钥请求头),或通过 npx 运行本地 npm 包,后者需要 Node.js 和 POSTMAN_API_KEY 环境变量。需要 Postman 账号和有效的 Postman API 密钥;EU 服务器仅支持 API 密钥认证。
安装前请注意
需要 Postman API 密钥或 OAuth 授权,可访问你的工作区、集合、规范和环境。Full 配置提供 100 多个工具,可创建和修改集合、工作区、环境及变量,改动会写入你的 Postman 账号。远程服务器无法访问你本机上的 API,这类场景应使用本地服务器。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Postman MCP Server,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.postman%2Fpostman-mcp-server/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "postman": {
      "type": "http",
      "url": "https://mcp.postman.com/mcp"
    }
  }
}

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:

bash
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 <POSTMAN_API_KEY> as a header.

Local:

bash
npx @postman/postman-mcp-server

Add --code or --full for Code or Full mode. Set POSTMAN_API_KEY as an environment variable.

For IDE-specific setup instructions, see the following table. For more information, see the Postman MCP Server docs.


Supported agents and IDEs

Agent / IDERemoteLocal
Claude CodeDocsDocs
Claude DesktopDocsDocs
CursorDocsDocs
VS CodeDocsDocs
CodexDocsDocs
Antigravity CLIDocsDocs
GitHub Copilot CLIDocsDocs
KiroDocsDocs
Docker—Docs

EU support

The Postman MCP Server supports the EU region for remote and local servers:

  • For streamable HTTP, the remote server is available at https://mcp.eu.postman.com/mcp (Full), https://mcp.eu.postman.com/code, and https://mcp.eu.postman.com/minimal.
  • For the STDIO public package, use the --region eu flag, or set the POSTMAN_API_BASE_URL environment variable directly.
  • OAuth isn't supported for the EU server. The EU remote server only supports API key authentication.

Use cases

  • API Testing — Continuously test your API using your Postman collection. Use the local server to test local APIs, as the remote server won't have network access to your workstation.
  • Code synchronization — Keep your code in sync with your Postman Collections and specs.
  • Collection management — Create and tag collections, update documentation, add comments, or perform actions across multiple collections without leaving your editor.
  • Workspace and environment management — Create workspaces and environments, plus manage environment variables.
  • Automatic spec creation — Create specs from your code and use them to generate collections.
  • Client code generation — Generate production-ready client code that consumes APIs following best practices and project conventions.

Docker

For Docker setup and installation, see DOCKER.md.


Contributing

Bug reports, tool requests, and documentation fixes are all welcome — see CONTRIBUTING.md.

The MCP tool definitions and the server implementation here are synced from Postman's internal source of truth, so changes to files under src/ can't be merged in this repository — but issues are how those changes get made, and we credit contributions that ship. Documentation and repository tooling accept pull requests directly.

Found a security issue? See SECURITY.md — please don't open a public issue.


Questions and support


Keywords

Model Context Protocol · MCP Server · Postman · AI Agents · Claude Code · Cursor · VS Code · Specifications · REST API · API Testing · TypeScript · OpenAPI

来源:README.md,提交 9542e55

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

4
  1. v2.15.0最新Oct 29, 2026
  2. v2.14.0Oct 16, 2026
  3. v2.13.0Sep 21, 2026
  4. v2.12.3Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Postman 集成