For each request you add to your Model Context Protocol (MCP) server, Postman generates a tool for you. Once you set up your server and start it, you can use Postman to interact with it. The server supports the MCP standard input and output (STDIO) and streamable HTTP transport layers.
To set up your MCP server, do the following:
If you haven't already, install Node.js 18 or later and generate and download your MCP server.
Unzip the file you downloaded.
(Optional) Rename the unzipped folder and move it to another directory.
Open your terminal and change to your MCP server's root directory:
cd /path/to/your-mcp-server
Install your project's dependencies:
npm install
List your tools:
npm run list-tools
This command lists your tool's information, including their file names. You may need to edit these files in the next steps. You can find these files in the tools
directory.
For each tool, open its tool file, and verify the baseUrl
value is correct.
If you need to store sensitive data, such as your API keys or tokens, open the .env
file and save them there.
If your tool needs authentication, for each such tool, open its tool file and use token
to implement authentication. For example, if the original request passes a token in the headers, add token
to headers
.
To learn more, see your project's README.md
file.
To start your MCP server, do the following:
Open your terminal and change to your server's root directory:
cd /path/to/your-mcp-server
Start your server:
To start your standard input and output server, run the following command:
node mcpServer.js
To start your streamable HTTP server, run the following command:
node mcpServer.js --streamable-http
When you're ready to stop your server, press Control+C or Ctrl+C.
You're ready to use Postman to interact with your MCP server.
Last modified: 2025/08/18