postmanlabs

Postman MCP Server

Community postmanlabs
Updated

Postman MCP Server β€” connect AI agents (Claude Code, Cursor, VS Code Copilot, Gemini CLI) to your Postman collections, OpenAPI specs, and environments via Model Context Protocol (MCP)

Postman MCP Server

This project offers a single MCP-compatible server option:

  • STDIO server β€” A lightweight MCP server that communicates over standard input/output, ideal for integration with editors and tools like VSβ€―Code.

See more about the Model Context Protocol available transports in the MCP specification.

🧰 VS Code Integration

You can integrate your MCP server with Visual Studio Code to use it with VS Code extensions that support MCP.

  1. Create a .vscode/mcp.json file in your project with the following configuration:

    {
      "servers": {
        "postman-api-mcp": {
          "type": "stdio",
          "command": "node",
          "args": [
            "${workspaceFolder}/dist/src/index.js"
          ],
          "env": {
            "POSTMAN_API_KEY": "${input:postman-api-key}"
          }
        }
      },
      "inputs": [
        {
          "id": "postman-api-key",
          "type": "promptString",
          "description": "Enter your Postman API key"
        }
      ]
    }
    
  2. Install an MCP-compatible VS Code extension (such as GitHub Copilot, Claude for VS Code, or other AI assistants that support MCP).

  3. Configure your extension to use the MCP server:

    • postman-api-mcp: Uses the local stdio-based server, running directly from your project files.
      • Clone the repository
      • In the repository root folder, execute npm install && npm run build. This compiles the server code in the dist folder.
      • Make sure to replace ${workspaceFolder} in the mcp.json file with the full path to the Postman MCP repository.
  4. When prompted, enter your Postman API key.

You can now use your Postman API tools with your VS Code extension through the MCP protocol.

🐳 Docker Setup

See DOCKER.md for up-to-date build, Docker, and usage instructions.

HTTP streamable version

If you prefer to use the HTTP version, it's available at http://mcp.postman.com. Here are the instructions to install it:

🧰 VS Code Integration

{
    "servers": {
      "postman-api-http-server": {
        "type": "mcp",
        "url": "https://mcp.postman.com/mcp",
        "headers": {
            "Authorization": "Bearer ${input:postman-api-key}"
          }
      }
    },
    "inputs": [
      {
        "id": "postman-api-key",
        "type": "promptString",
        "description": "Enter your Postman API key"
      }
    ]
  }

You will be asked to input your Postman API key. Afterwards, the agent performs calls to the Postman cloud MCP server (http://mcp.postman.com).

🧰 Claude Integration

Open the claude_desktop_config.json file, which is accessible from Claude preferences. Then, add the following:

{
  "mcpServers": {
    "postman-api": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.postman-beta.com/mcp",
        "--header",
        "Authorization: Bearer PMAK-YOUR-POSTMAN-API-KEY"
      ]
    }
  }
}

πŸ’¬ Questions and support

MCP Server Β· Populars

MCP Server Β· New

    docmancer

    Docmancer

    Find out what your coding agents already know. Docmancer indexes the memory, rules, and instructions Claude Code, Codex, Cursor, and Gemini wrote on your machine, then carries the durable parts to every agent. Local-first, MIT.

    Community docmancer
    lineai-intelligence

    codelogic-mcp-server

    An MCP Server to utilize Codelogic's rich software dependency data in your AI programming assistant.

    HUANGCHIHHUNGLeo

    claude-real-video

    Let Claude (or any LLM) actually watch a video β€” scene-aware, deduplicated frames + transcript, from a URL or local file. Runs locally, MIT.

    Community HUANGCHIHHUNGLeo
    jgraph

    Draw.io MCP Server

    MCP Server

    Community jgraph
    ninetails-io

    gnucash-mcp

    MCP server enabling AI assistants to read and write GnuCash accounting data

    Community ninetails-io