Postman Tool Generator

v1.0.0Developer Toolsstable

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.

postman-tool-generation-mcp-servermcpai-integration
Share:
13
Stars
0
Downloads
0
Weekly
0/5

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

Convert Postman API collections into type-safe AI agent tools.
Generate code for APIs from Postman requests automatically.
giovannicocco

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedAug 16, 2025
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx postman-tool-generation-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 build
2

Obtain 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.

3

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.

4

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"
      }
    }
  }
}
5

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.

6

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.

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.

Quick Config Preview

{ "mcpServers": { "postman-tool-generation-mcp-server": { "command": "npx", "args": ["-y", "postman-tool-generation-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides