
Postman
STDIOMCP server providing seamless integration with Postman API for workspace and collection management
MCP server providing seamless integration with Postman API for workspace and collection management
A Model Context Protocol (MCP) server that provides seamless integration with the Postman API. This package enables AI assistants and applications to interact with Postman workspaces, collections, requests, environments, and folders programmatically.
Add to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json
on macOS):
{ "mcpServers": { "postman": { "command": "npx", "args": ["postman-mcp"], "env": { "POSTMAN_API_KEY": "your_postman_api_key_here" } } } }
Add the configuration to your Cursor settings:
{ "mcp": { "servers": { "postman": { "command": "npx postman-mcp", "env": { "POSTMAN_API_KEY": "your_postman_api_key_here" } } } } }
Add the following to your Warp session setup:
{ "postman": { "command": "npx", "args": ["postman-mcp"], "env": { "POSTMAN_API_KEY": "your_postman_api_key_here" }, "working_directory": null, "start_on_launch": true } }
Use the standard MCP server connection with:
npx postman-mcp
or node path/to/postman-mcp/dist/index.js
POSTMAN_API_KEY
Clone the repository:
git clone https://github.com/SalehKhatri/postman-mcp.git cd postman-mcp
Install dependencies:
npm install
Set up environment:
cp .env.example .env # Edit .env and add your POSTMAN_API_KEY
Build the project:
npm run build
Run in development mode:
npm run dev
list_workspaces
- Get all workspacesget_workspace
- Get workspace detailscreate_workspace
- Create new workspaceupdate_workspace
- Update workspace infolist_collections
- Get collections in workspaceget_collection
- Get full collection structurecreate_collection
- Create new collectionupdate_collection
- Update collection metadatadelete_collection
- Remove collectionadd_request
- Add HTTP request to collectionupdate_request
- Modify existing requestdelete_request
- Remove request from collectionlist_environments
- Get environments in workspaceget_environment
- Get environment variablescreate_environment
- Create new environmentupdate_environment
- Modify environment variablesdelete_environment
- Remove environmentcreate_folder
- Create folder in collection// List all workspaces const workspaces = await mcp.callTool("list_workspaces", {}); // Get collections in a workspace const collections = await mcp.callTool("list_collections", { workspaceId: "workspace-id", }); // Create a new request await mcp.callTool("add_request", { collectionUid: "collection-uid", name: "Get Users", method: "GET", url: "https://api.example.com/users", headers: { "Content-Type": "application/json", Authorization: "Bearer {{token}}", }, folder: "API/Users", }); // Create an environment await mcp.callTool("create_environment", { name: "Production", workspaceId: "workspace-id", values: [ { key: "base_url", value: "https://api.production.com", type: "default", }, { key: "api_key", value: "secret-key", type: "secret", }, ], });
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the developer community