With Postman and the Model Context Protocol (MCP), you can create an MCP server that provides a standard, consistent two-way communication interface between AI systems and API services. You can expose tools or data through this interface, and an MCP client can then interact with them.
To generate an MCP server, do the following:
postman-mcp-server
.Your generated MCP server code is clean, well-documented TypeScript that you can edit and extend. Before running the server locally, make sure you have the following required tools:
To start the server, do the following:
Open a terminal and navigate to the directory where you extracted the zip file.
Enter npm install
.
Enter node mcpServer.js
. Your MCP server starts running.
To send requests to the server while it's running locally, do the following:
Open a workspace in Postman and click New > MCP.
Enter node path-to-server/mcpServer.js
, replacing path-to-server
with the location where you unarchived the server zip file.
Click Connect.
Click Grant Access.
Click one of the MCP server's tools, then click Run. The response appears in the Response pane.
To learn more about MCP requests, see Create an MCP request for your collection. To learn more about extending the server, deploying it in Docker, or running it from Claude Desktop, see the README in the extracted zip file.
Last modified: 2025/05/15