MCP.so
登录
服务器

Postman Tool Generation MCP Server

@giovannicocco

概览

What is Postman Tool Generation MCP Server?

The Postman Tool Generation MCP Server is an MCP server that generates AI agent tools from Postman collections and requests. It integrates with the Postman API to convert API endpoints into type-safe code that can be used with various AI frameworks, such as OpenAI, Mistral, Gemini, Anthropic, LangChain, and AutoGen.

How to use Postman Tool Generation MCP Server?

Install dependencies with npm install, build the server with npm run build, then configure the MCP settings file (e.g., cline_mcp_settings.json) with a postman-ai-tools entry pointing to the built index.js and providing a POSTMAN_API_KEY environment variable. The server exposes a single tool called generate_ai_tool, which accepts collectionId, requestId, language ("javascript" or "typescript"), and agentFramework (one of "openai", "mistral", "gemini", "anthropic", "langchain", "autogen").

Key features of Postman Tool Generation MCP Server

  • Generates TypeScript/JavaScript code from Postman collections
  • Supports multiple AI frameworks (OpenAI, Mistral, Gemini, Anthropic, LangChain, AutoGen)
  • Produces type-safe code with request/response type definitions
  • Includes error handling, validation, and API integration

Use cases of Postman Tool Generation MCP Server

  • Convert a Postman collection request into a ready-to-use OpenAI function definition
  • Generate type-safe code for LangChain or AutoGen agents from a public API endpoint
  • Quickly create AI tool definitions for Claude Desktop using natural language and Postman IDs

FAQ from Postman Tool Generation MCP Server

What does the server generate?

It generates type-safe TypeScript or JavaScript code for a given Postman collection request, including type definitions for request/response, error handling, API integration, and OpenAI function definitions.

What AI frameworks are supported?

The supported frameworks are OpenAI, Mistral, Gemini, Anthropic, LangChain, and AutoGen.

What are the required environment variables?

A POSTMAN_API_KEY must be set with your Postman API key.

How is the server configured in an MCP client?

Add a server entry to your MCP settings file (e.g., cline_mcp_settings.json) with the command node and the path to the built index.js, along with the POSTMAN_API_KEY environment variable.

What transport does the server use?

The server runs as a command-line process communicating via stdio, which is the standard MCP transport for desktop clients like Claude Desktop and Cline.

标签

来自「其他」的更多内容