drio
Open app

Postman MCP Server

Source

A simple API wrapper around Postman/Newman functionality for API testing and mock server generation

Catalog onlyCatalog onlySTDIO

Overview

Postman MCP Server is a Node.js Express application that serves as an API wrapper around Postman/Newman functionality, enabling users to manage Postman collections, create mock servers, and run API tests.

To use the Postman MCP Server, clone the repository, install the dependencies, configure your environment with your Postman API key, and run the server. You can then access various API endpoints to create test scenarios, generate mock servers, and run tests.

  • Test scenario management using Postman collections. - Mock server generation based on Postman collections. - API testing capabilities using Newman.
  1. Managing and executing API tests in a development environment.
  2. Creating mock servers for testing API responses.
  3. Organizing and running test scenarios for various API endpoints.

Add to your AI client

Use these steps to connect Postman MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "postman-mcp-server-freebeiro": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postman-mcp-server-freebeiro"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "postman-mcp-server-freebeiro": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postman-mcp-server-freebeiro"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "postman-mcp-server-freebeiro": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postman-mcp-server-freebeiro"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "postman-mcp-server-freebeiro": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postman-mcp-server-freebeiro"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "postman-mcp-server-freebeiro": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postman-mcp-server-freebeiro"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "postman-mcp-server-freebeiro": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postman-mcp-server-freebeiro"
      ]
    }
  }
}

FAQ

What are the prerequisites for using Postman MCP Server?

You need Node.js (v14 or higher), npm or yarn, and a Postman API key.

How do I run the server?

After installation, run the command `npm start` to start the server.

Can I create multiple mock servers?

Yes, you can create multiple mock servers based on different Postman collections.

Postman MCP Server — MCP Registry