- Home
- MCP servers
- Postman Tools
Postman Tools
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"mcp-mirror-giovannicocco_mcp-server-postman-tool-generation": {
"command": "node",
"args": [
"/path/to/postman-tool-generation-server/build/index.js"
],
"env": {
"POSTMAN_API_KEY": "YOUR_POSTMAN_API_KEY"
}
}
}
}You can generate AI agent tools from Postman collections and requests using a dedicated MCP server. This server converts Postman endpoints into type-safe code that you can use with multiple AI frameworks, enabling you to build programmable tools from your existing API definitions.
How to use
Use an MCP client to request the generation of an AI tool from your Postman collection. You provide the collection and request identifiers, choose a programming language, and pick the AI framework you want the tool to work with. The server returns a ready-to-use, type-safe tool that you can integrate into your workflows.
How to install
Prerequisites: you need Node.js installed on your machine and a Postman API key to access your Postman data.
# 1. Install dependencies
npm install
# 2. Build the server
npm run build
Configuration and usage notes
Configure the MCP client to load the server by pointing it to the official MCP runtime path and providing your Postman API key. The server exposes a single tool named generate_ai_tool that you can invoke via your MCP client.
Environment variable you need to supply for the server to access your Postman data is POSTMAN_API_KEY. Include this in your client's environment when launching the server and when embedding the server in your MCP configuration.
The server generates type-safe code in the requested language (TypeScript or JavaScript) and supports multiple AI frameworks including OpenAI, Mistral, Gemini, Anthropic, LangChain, and AutoGen. It includes error handling, request/response type definitions, API integration code, OpenAI function definitions, and usage documentation within the generated output.
Developer notes
If you change the server code, rebuild and restart the host app that loads the MCP server to pick up updates.
Examples
Generate an AI tool using your Postman collection and request, then incorporate the resulting code into your project to automate API interactions in your chosen framework.
Available tools
generate_ai_tool
Creates an AI tool for a specific Postman collection and request, producing type-safe code in the chosen language and framework.