For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
        • Overview
        • Create MCP servers
        • Start MCP servers
        • Interact with MCP servers and AI models
        • Promote MCP servers
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Set up your MCP server
  • Start your MCP server
Postman AIGenerate MCP servers

Set up and start your generated MCP server locally

||View as Markdown|
Was this page helpful?
Previous

Generate an MCP server with public APIs from the Postman API Network

Next

Use Postman to interact with your generated MCP server and an AI model

Built with

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.

Set up your MCP server

To set up your MCP server, do the following:

  1. If you haven’t already, install Node.js 18 or later and generate and download your MCP server.

  2. Unzip the file you downloaded.

  3. (Optional) Rename the unzipped folder and move it to another directory.

  4. Open your terminal and change to your MCP server’s root directory:

    $cd /path/to/your-mcp-server
  5. Install your project’s dependencies:

    $npm install
  6. 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.

  7. For each tool, open its tool file, and verify the baseUrl value is correct.

  8. If you need to store sensitive data, such as your API keys or tokens, open the .env file and save them there.

  9. 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.

Start your MCP server

To start your MCP server, do the following:

  1. Open your terminal and change to your server’s root directory:

    $cd /path/to/your-mcp-server
  2. 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
  3. 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.