- Home
- MCP servers
- Postman Tool Generation
Postman Tool Generation
- javascript
13
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 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": {
"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 your Postman collections and requests, turning API endpoints into type-safe code that works with multiple AI frameworks. This MCP server lets you describe a collection and request, choose a programming language, and select an AI framework to produce ready-to-use tool code for your workflows.
How to use
Use this MCP server with an MCP client to generate AI tools from your Postman data. You provide the collection identifier and a specific request, choose either JavaScript or TypeScript, and select an AI framework such as OpenAI, Mistral, Gemini, Anthropic, LangChain, or AutoGen. The server then returns type-safe code that includes request/response types, error handling, API integration, and framework-specific definitions.
How to install
Prerequisites you need before installing include Node.js and npm. Ensure you have access to your Postman API key for server operations.
npm install
npm run build
Configuration and startup
Configure the MCP settings by adding the following configuration to your Claude/MCP client settings. This enables the Postman Tool Generation server to run locally and be invoked through your MCP workflow.
{
"mcpServers": {
"postman_ai_tools": {
"command": "node",
"args": [
"/path/to/postman-tool-generation-server/build/index.js"
],
"env": {
"POSTMAN_API_KEY": "your-postman-api-key"
},
"disabled": false,
"autoApprove": []
}
}
}
Calling the tool
Invoke the tool named generate_ai_tool through your MCP client with the required parameters. You specify the collectionId, requestId, language, and agentFramework. The server returns a generated tool ready for use in your AI workflows.
Examples of usage
When you call the tool, provide the following parameters to generate code for your chosen environment.
Available tools
generate_ai_tool
Generates a tool that wraps a Postman collection and request into a type-safe code module for the selected programming language and AI framework.