Postman MCP Server
Give your AI agents trusted access to the full Postman platform.
Que pouvez-vous faire avec Postman MCP Server ?
- 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.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http postman-mcp-server 'https://mcp.postman.com/mcp' --header 'Authorization: <A Bearer token and a valid Postman API key for authentication.>'
{
"mcpServers": {
"postman-mcp-server": {
"type": "http",
"url": "https://mcp.postman.com/mcp",
"headers": {
"Authorization": "<A Bearer token and a valid Postman API key for authentication.>"
}
}
}
}
claude mcp add --transport http postman-mcp-server 'https://mcp.postman.com/minimal' --header 'Authorization: <A Bearer token and a valid Postman API key for authentication.>'
{
"mcpServers": {
"postman-mcp-server": {
"type": "http",
"url": "https://mcp.postman.com/minimal",
"headers": {
"Authorization": "<A Bearer token and a valid Postman API key for authentication.>"
}
}
}
}
claude mcp add --transport http postman-mcp-server 'https://mcp.eu.postman.com/mcp' --header 'Authorization: <A Bearer token and a valid Postman API key for authentication.>'
{
"mcpServers": {
"postman-mcp-server": {
"type": "http",
"url": "https://mcp.eu.postman.com/mcp",
"headers": {
"Authorization": "<A Bearer token and a valid Postman API key for authentication.>"
}
}
}
}
claude mcp add --transport http postman-mcp-server 'https://mcp.eu.postman.com/minimal' --header 'Authorization: <A Bearer token and a valid Postman API key for authentication.>'
{
"mcpServers": {
"postman-mcp-server": {
"type": "http",
"url": "https://mcp.eu.postman.com/minimal",
"headers": {
"Authorization": "<A Bearer token and a valid Postman API key for authentication.>"
}
}
}
}
@postman/postman-mcp-serverclaude mcp add postman-mcp-server -e 'POSTMAN_API_KEY=<your postman_api_key>' -- npx -y @postman/postman-mcp-server@2.14.0
{
"mcpServers": {
"postman-mcp-server": {
"command": "npx",
"args": [
"-y",
"@postman/postman-mcp-server@2.14.0"
],
"env": {
"POSTMAN_API_KEY": "<your postman_api_key>"
}
}
}
}
Variables d'environnement
POSTMAN_API_KEYobligatoire secret A valid Postman API key.
https://github.com/postmanlabs/postman-mcp-server/releases/download/v2.14.0/postman-mcp-server-minimal.mcpbVariables d'environnement
POSTMAN_API_KEYobligatoire secret A valid Postman API key.
https://github.com/postmanlabs/postman-mcp-server/releases/download/v2.14.0/postman-mcp-server-full.mcpbVariables d'environnement
POSTMAN_API_KEYobligatoire secret A valid Postman API key.
https://github.com/postmanlabs/postman-mcp-server/releases/download/v2.14.0/postman-mcp-server-code.mcpbVariables d'environnement
POSTMAN_API_KEYobligatoire secret A valid Postman API key.
https://github.com/postmanlabs/postman-mcp-server/releases/download/v2.14.0/postman-mcp-server-learn.mcpbVariables d'environnement
POSTMAN_API_KEYobligatoire secret A valid Postman API key.
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
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 <POSTMAN_API_KEY> as a header.
Local:
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 / IDE | Remote | Local |
|---|---|---|
| Claude Code | Docs | Docs |
| Claude Desktop | Docs | Docs |
| Cursor | Docs | Docs |
| VS Code | Docs | Docs |
| Codex | Docs | Docs |
| Antigravity CLI | Docs | Docs |
| GitHub Copilot CLI | Docs | Docs |
| Kiro | Docs | Docs |
| 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, andhttps://mcp.eu.postman.com/minimal. - For the STDIO public package, use the
--region euflag, or set thePOSTMAN_API_BASE_URLenvironment 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
- See Add your MCP requests to your collections to learn how to use Postman to perform MCP requests.
- Visit the Postman Community to share what you've built, ask questions, and get help.
- You can connect to both the remote and local servers and test them using the Postman MCP Server collection.
- Report bugs and request tools in GitHub Issues. See SUPPORT.md for which channel fits your question.
Keywords
Model Context Protocol · MCP Server · Postman · AI Agents · Claude Code · Cursor · VS Code · Specifications · REST API · API Testing · TypeScript · OpenAPI
Questions fréquentes
Qu'est-ce que Postman MCP Server ?
Give your AI agents trusted access to the full Postman platform.
Comment installer Postman MCP Server ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http postman-mcp-server 'https://mcp.postman.com/mcp' --header 'Authorization: <A Bearer token and a valid Postman API key for authentication.>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Postman MCP Server ?
Oui. Il attend POSTMAN_API_KEY, Authorization, à renseigner dans sa configuration.
Postman MCP Server est-il open source ?
Oui. Son code est sur GitHub sous licence Apache-2.0.
Qui maintient Postman MCP Server ?
Il est publié par postmanlabs. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.