postman-api-mcp
Postman API MCP is a tool that provides a server compliant with the Model Context Protocol (MCP). It implements a lightweight STDIO server that communicates over standard input/output, making it ideal for integration with editors and tools like Visual Studio Code. The tool allows for easy setup to utilize the Postman API and can be integrated with VS Code extensions, enabling developers to efficiently leverage API tools. Additionally, an HTTP streamable version is available, providing access to a cloud-based MCP server.
GitHub Stars
1
User Rating
Not Rated
Forks
0
Issues
4
Views
1
Favorites
0
Postman API MCP Server
This project offers a single MCP-compatible server option:
- STDIO server — A lightweight MCP server that communicates over standard input/output, ideal for integration with editors and tools like VS Code.
See more about the Model Context Protocol available transports in the MCP specification.
🧰 VS Code Integration
You can integrate your MCP server with Visual Studio Code to use it with VS Code extensions that support MCP.
Create a
.vscode/mcp.json
file in your project with the following configuration:{ "servers": { "postman-api-mcp": { "type": "stdio", "command": "node", "args": [ "${workspaceFolder}/dist/src/index.js" ], "env": { "POSTMAN_API_KEY": "${input:postman-api-key}" } } }, "inputs": [ { "id": "postman-api-key", "type": "promptString", "description": "Enter your Postman API key" } ] }
Install an MCP-compatible VS Code extension (such as GitHub Copilot, Claude for VS Code, or other AI assistants that support MCP).
Configure your extension to use the MCP server:
- postman-api-mcp: Uses the local stdio-based server, running directly from your project files.
- Clone the repository
- In the repository root folder, execute
npm install && npm run build
. This compiles the server code in thedist
folder. - Make sure to replace
${workspaceFolder}
in the mcp.json file with the full path to the Postman API MCP repository.
- postman-api-mcp: Uses the local stdio-based server, running directly from your project files.
When prompted, enter your Postman API key.
You can now use your Postman API tools with your VS Code extension through the MCP protocol.
🐳 Docker Setup
See DOCKER.md for up-to-date build, Docker, and usage instructions.
HTTP streamable version
If you prefer to use the HTTP version, it's available at http://mcp.postman.com. Here are the instructions to install it:
🧰 VS Code Integration
{
"servers": {
"postman-api-http-server": {
"type": "mcp",
"url": "https://mcp.postman.com/mcp",
"headers": {
"Authorization": "Bearer ${input:postman-api-key}"
}
}
},
"inputs": [
{
"id": "postman-api-key",
"type": "promptString",
"description": "Enter your Postman API key"
}
]
}
You will be asked to input your Postman API key. Afterwards, the agent performs calls to the Postman cloud MCP server (http://mcp.postman.com).
🧰 Claude Integration
Open the claude_desktop_config.json file, which is accessible from Claude preferences. Then, add the following:
{
"mcpServers": {
"postman-api": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.postman-beta.com/mcp",
"--header",
"Authorization: Bearer PMAK-YOUR-POSTMAN-API-KEY"
]
}
}
}
💬 Questions and support
- See the Postman Agent Generator page for updates and new capabilities.
- 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.
3,325
Followers
199
Repositories
0
Gists
12
Total Contributions