Postman Tool Generator
An MCP server that generates AI agent tools from Postman collections and requests. This server integrates with the Postman API to convert API endpoints into type-safe code that can be used with various AI frameworks.
What is Postman Tool Generator?
Postman Tool Generator is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that generates ai agent tools from postman collections and requests. this server integrates with the postman api to convert api endpoints into type-safe code that can be used with various a...
An MCP server that generates AI agent tools from Postman collections and requests. This server integrates with the Postman API to convert API endpoints into type-safe code that can be used with various AI frameworks.
This server falls under the Developer Tools and APIs categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP server that generates AI agent tools from Postman col
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx postman-tool-generation-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Postman Tool Generator
The Postman Tool Generation MCP Server connects AI agents to the Postman API to automatically convert Postman collections and individual requests into type-safe, framework-specific code that AI agents can use as tools. Given a collection ID and request ID, it generates complete implementations — including type definitions, error handling, and documentation — targeting frameworks like OpenAI, Anthropic, LangChain, Mistral, Gemini, or AutoGen. Teams that already maintain Postman collections can rapidly turn their API documentation into callable AI agent tools without writing boilerplate code.
Prerequisites
- Node.js 18 or later and npm
- A Postman account with an API key from https://web.postman.co/settings/me/api-keys
- Access to Postman Public API Network collections (collection ID and request ID)
- An MCP-compatible client such as Claude Desktop, Cline, or Cursor
Clone and build the server
Clone the MCP server repository and build it with npm.
git clone https://github.com/giovannicocco/mcp-server-postman-tool-generation
cd mcp-server-postman-tool-generation
npm install
npm run buildObtain your Postman API key
Log into Postman and navigate to Settings > API Keys to generate a new API key. This key authenticates the server's requests to the Postman API.
Find your Postman collection and request IDs
Navigate to the Postman Public API Network and find the collection you want to generate tools from. Copy the collection ID and the specific request ID you want to convert.
Configure the MCP client
Add the server to your MCP client's settings file, providing the path to the built server and your Postman API key as an environment variable.
{
"mcpServers": {
"postman-ai-tools": {
"command": "node",
"args": ["/path/to/mcp-server-postman-tool-generation/build/index.js"],
"env": {
"POSTMAN_API_KEY": "your_postman_api_key_here"
}
}
}
}Restart your MCP client
Restart Claude Desktop or your MCP client to load the new server configuration. The generate_ai_tool tool will now be available.
Generate your first AI tool
Ask your AI assistant to generate a tool from a Postman collection and request, specifying the language and target AI framework.
Postman Tool Generator Examples
Client configuration
Claude Desktop or Cline configuration for the Postman Tool Generation MCP server.
{
"mcpServers": {
"postman-ai-tools": {
"command": "node",
"args": ["/path/to/mcp-server-postman-tool-generation/build/index.js"],
"env": {
"POSTMAN_API_KEY": "your_postman_api_key_here"
}
}
}
}Prompts to try
Example prompts for generating AI agent tools from Postman collections.
- "Generate a TypeScript Anthropic tool from Postman collection 12345-abcde request 67890-fghij"
- "Create an OpenAI JavaScript function from collectionID: 12345-abcde requestID: 67890-fghij"
- "Convert this Postman request to a LangChain tool in TypeScript"
- "Generate an AutoGen Python tool for Postman collection 99999-zzzzz request 11111-aaaaa"Troubleshooting Postman Tool Generator
POSTMAN_API_KEY authentication error or 401 Unauthorized
Verify the API key is correct and has not expired in your Postman account settings at https://web.postman.co/settings/me/api-keys. Ensure the key is placed in the env block of the MCP config without extra spaces or quotes.
Collection or request ID not found
Collection and request IDs must be from the Postman Public API Network. Private workspace collections may not be accessible via the public API. Verify the IDs by navigating to the collection in Postman and checking the URL or collection info panel.
Build fails or node cannot find the index.js file
Ensure npm run build completed without errors before starting the server. The compiled output should be in the build/ directory. If the directory is missing, re-run npm install followed by npm run build and verify no TypeScript compilation errors.
Frequently Asked Questions about Postman Tool Generator
What is Postman Tool Generator?
Postman Tool Generator is a Model Context Protocol (MCP) server that mcp server that generates ai agent tools from postman collections and requests. this server integrates with the postman api to convert api endpoints into type-safe code that can be used with various ai frameworks. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Postman Tool Generator?
Follow the installation instructions on the Postman Tool Generator GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Postman Tool Generator?
Postman Tool Generator works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Postman Tool Generator free to use?
Yes, Postman Tool Generator is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Postman Tool Generator Alternatives — Similar Developer Tools Servers
Looking for alternatives to Postman Tool Generator? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Postman Tool Generator in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Postman Tool Generator?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.