Postman MCP Generator
About
Provides JavaScript tools for making API requests, generated by the Postman MCP Generator.
Details
- Author
- abhishekms1047
- Categories
- Developer Tools, API
Jump to
Setup
Install Postman MCP Generator in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/abhishekms1047/postman-mcp-server
Follow the installation instructions in the repository README, then restart your MCP client.
Welcome to your generated MCP server! π This project was created with thePostman MCP Generator, configured toModel Context Provider (MCP)Server output mode. It provides you with:
- β
An MCP-compatible server (mcpServer.js)
- β
Automatically generated JavaScript tools for each selected Postman API request
Before starting, please ensure you have:
- Node.js (v18+ required, v20+ recommended)
- npm(included with Node)
Warning: if you run with a lower version of Node,fetchwon't be present. Tools usefetchto make HTTP calls. To work around this, you can modify the tools to usenode-fetchinstead. Make sure thatnode-fetchis installed as a dependency and then import it asfetchinto each tool file.
Run from your project's root directory:
In the.envfile, you'll see environment variable placeholders, one for each workspace that the selected tools are from. For example, if you selected requests from 2 workspaces, e.g. Acme and Widgets, you'll see two placeholders:
Update the values with actual API keys for each API. These environment variables are used inside of the generated tools to set the API key for each request. You can inspect a file in thetoolsdirectory to see how it works.
// environment variables are used inside of each tool file const apiKey = process.env.ACME_API_KEY;
Caveat:This may not be correct for every API. The generation logic is relatively simple - for each workspace, we create an environment variable with the same name as the workspace slug, and then use that environment variable in each tool file that belongs to that workspace. If this isn't the right behavior for your chosen API, no problem! You can manually update anything in the.envfile or tool files to accurately reflect the API's method of authentication.
The MCP Server (mcpServer.js) exposes your automated API tools to MCP-compatible clients, such as Claude Desktop or the Postman Desktop Application. We recommend that you test the server with Postman first and then move on to using it with an LLM.
The Postman Desktop Application is the easiest way to run and test MCP servers. Testing the downloaded server first is optional but recommended.
Step 1: Download the latest Postman Desktop Application fromhttps://www.postman.com/downloads/.
Step 2: Read out the documentation articlehereand see how to create an MCP request inside the Postman app.
Step 3: Set the type of the MCP request toSTDIOand set the command tonode </absolute/path/to/mcpServer.js>. If you have issues with using onlynode(e.g. an old version is used), supply an absolute path instead to a node version 18+. You can get the full path to node by running:
To get the absolute path tomcpServer.js, run:
Use the node command followed by the full path tomcpServer.jsas the command for your new Postman MCP Request. Then click theConnectbutton. You should see a list of tools that you selected before generating the server. You can test that each tool works here before connecting the MCP server to an LLM.
You can connect your MCP server to any MCP client. Here we provide instructions for connecting it to Claude Desktop.
Step 1: Note the full path to node and themcpServer.jsfrom the previous step.
Step 2. Open Claude Desktop βSettingsβDevelopersβEdit Configand add a new MCP server:
{ "mcpServers": { "<server_name>": { "command": "<absolute/path/to/node>", "args": ["<absolute/path/to/mcpServer.js>"] } } }
Restart Claude Desktop to activate this change. Make sure the new MCP is turned on and has a green circle next to it. If so, you're ready to begin a chat session that can use the tools you've connected.
Warning: If you don't supply an absolute path to anodeversion that is v18+, Claude (and other MCP clients) may fall back to anothernodeversion on the system of a previous version. In this case, thefetchAPI won't be present and tool calls will not work. If that happens, you can a) install a newer version of node and point to it in the command, or b) importnode-fetchinto each tool asfetch, making sure to also add thenode-fetchdependency to your package.json.
For production deployments, you can use Docker:
docker build -t <your_server_name> .
Add Docker server configuration to Claude Desktop (Settings β Developers β Edit Config):
{ "mcpServers": { "<your_server_name>": { "command": "docker", "args": ["run", "-i", "--rm", "--env-file=.env", "<your_server_name>"] } } }
Add your environment variables (API keys, etc.) inside the.envfile.
The project comes bundled with the following minimal Docker setup:
FROM node:22.12-alpine AS builder WORKDIR /app COPY package.json package-lock.json ./ RUN npm install COPY . . ENTRYPOINT ["node", "mcpServer.js"]
To run the server with Server-Sent Events (SSE) support, use the--sseflag:
List descriptions and parameters from all generated tools with:
Available Tools: Workspace: acme-workspace Collection: useful-api list_all_customers Description: Retrieve a list of useful things. Parameters: - magic: The required magic power - limit: Number of results returned [...additional parameters...]
Extend your MCP server with more tools easily:
- VisitPostman MCP Generator.
- Pick new API request(s), generate a new MCP server, and download it.
- Copy new generated tool(s) into your existing project'stools/folder.
- Update yourtools/paths.jsfile to include new tool references.
Visit thePostman MCP Generatorpage for updates and new capabilities.
Join the#mcp-labchannel in thePostman Discordto share what you've built and get help.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
An MCP server for interacting with the Postman API, requiring an API key.
Adds possibility to work with testing management via MCP
An enhanced Apifox MCP service providing comprehensive API management capabilities for Claude Desktop and Cursor.
This MCP Server accepts swagger/postman documents as input. It then generates API & Load test scenarios, executes the tests and generates the execution report.
A Model Context Protocol (MCP) server for creating, managing, and executing Bruno API testing collections. Supports both .bru and .yml (opencollection) formats with built-in security hardening.
Execute Bruno collections using the Bruno CLI, with support for environment files and detailed test results.
An MCP server exposing Hoverfly as a programmable API simulation tool for AI assistants.
A free public REST API for testing and prototyping, powered by JSONPlaceholder.
Postman for MCP β search 156 servers, inspect tools with schema visualizer, test live
An AI-native API testing platform for generating scenarios, executing tests, and analyzing results.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





