Postman MCP Server

Postman MCP Server

MCP-compliant server providing full access to the Postman API.

143
Stars
31
Forks
143
Watchers
8
Issues
Postman MCP Server is a TypeScript-based implementation of an MCP server that offers extensive integration with the Postman API. It enables management of Postman collections, environments, and APIs while supporting advanced features like authentication, webhooks, and enterprise controls. The project is part of the Model Context Protocol initiative and adheres to MCP standards for model context integration. Designed with developers in mind, it provides CRUD operations, version control, and seamless automation capabilities.

Key Features

Full CRUD operations for collections, environments, and APIs
API key authentication with role-based access control
Version control for collections including fork, merge, and pull
Extensive request and folder management within collections
Support for comments on collections and APIs
Multi-file schema management for APIs
Workspace-level permission management
Webhook creation for triggering collections with custom payloads
Private API network and element management
Enterprise features like advanced role controls and SCIM support

Use Cases

Automating the management of Postman collections in a collaborative environment
Integrating Postman collection updates into CI/CD pipelines
Enforcing granular access controls within API development teams
Synchronizing environment variables across multiple projects
Facilitating schema management and versioned updates for APIs
Triggering collection runs or workflows via webhooks
Centralizing API documentation and change tracking for organizations
Connecting enterprise identity and organizational structures to API workflows
Enabling scalable API observability and control via MCP protocols
Streamlining onboarding for new developers by automating workspace setup

README

Postman MCP Server

smithery badge Version: v0.2.0

An MCP server that provides access to the Postman API. Functionality is based on the official OpenAPI specification. For more information, see the Postman API documentation.

This project is part of the Model Context Protocol (MCP) initiative from Anthropic. For more information, visit the MCP GitHub repository and the announcement on the Anthropic blog.

Skip ahead to install instructions

postman-mcp-server - Cover Image

[!WARNING] This project is currently under active development. Please use with caution and expect breaking changes.

[!NOTE] AI Generated Code. I used Cline v2.2.2 with Claude 3.5 Sonnet (2024-10-22). See docs/README.md for prompts and details about how this code was generated.


Overview

Postman MCP Server is a TypeScript-based MCP server that integrates with the Postman API, providing comprehensive management of Postman collections, environments, and APIs.

Features

Collections

  • CRUD Operations: Create, retrieve, update, and delete Postman collections.
  • Folder Management: Organize requests into folders within collections.
  • Request Management: Add, update, and delete requests within collections.
  • Response Management: Manage responses associated with requests.
  • Version Control: Fork, merge, and pull changes for collections.
  • Comments: Add and manage comments on collections.

Environments

  • Manage Environments: Create and retrieve environments for different setups.
  • CRUD Operations: Full support for creating, updating, and deleting environments.

APIs

  • API Management: Create, retrieve, update, and delete APIs.
  • Schema Support: Manage API schemas with multi-file support.
  • Tagging: Add and manage tags for APIs.
  • Comments: Add and manage comments on APIs.

Authentication & Authorization

  • API Key Authentication: Secure access using API keys.
  • Role-Based Access Control: Manage permissions at workspace and collection levels.
  • Workspace Permissions: Define permissions specific to workspaces.

Additional Features

  • Private API Network: Manage elements and folders within a private API network.
  • Webhooks: Create webhooks to trigger collections with custom payloads.
  • Enterprise Features: Advanced role controls and SCIM support for enterprise environments.

Installation

Installing via Smithery

To install Postman MCP Server for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install postman-api-server --client claude

Prerequisites

Steps

  1. Clone the repository:

    bash
    git clone https://github.com/delano/postman-api-server.git
    cd postman-api-server
    
  2. Install dependencies:

    bash
    pnpm install
    
  3. Build the server:

    bash
    pnpm run build
    
  4. Run in development mode with auto-rebuild:

    bash
    pnpm run watch
    

Usage

Setting up API Keys

  1. Generate your API Key

  2. Configure the API Key

    • Add the key to your environment as POSTMAN_API_KEY
    • For Claude Desktop or Cline, include it in your config file (see configuration examples below)
    • Never commit API keys to version control
  3. Verify Access

    • The API key provides access to all Postman resources you have permissions for
    • Test access by running a simple query (e.g., list workspaces)

[!NOTE] If you're using the Postman API collection directly, store your API key as a postman-api-key collection variable.

Using Claude Desktop

To use with Claude Desktop, add the server config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

[!IMPORTANT] If you're updating this provider, Claude must be restarted to pick up API changes from the input schema (i.e. When the MCP server's ToolDefinition elements have changed). This is because Claude caches the tool definitions when it starts up.

Example configuration

json
{
  "mcpServers": {
    "postman": {
      "command": "node",
      "args": [
        "/path/to/postman-api-server/build/index.js"
      ],
      "env": {
        "POSTMAN_API_KEY": "CHANGEME"
      }
    }
  }
}

Using Cline

Using the same example configuration, add the server config to your Cline MCP Servers configuration:

Example configuration

Same as Claude above.

Using Zed

I'm still trying to get this to work. From the Zed docs it looks like it needs to be an extension (also this issue #21455).


Documentation

The official Postman API documentation is available in the Postman Public Workspace.

Project Overview

Postman API References & Summaries

This project leverages the Claude model and Cline extension to convert the OpenAPI specification into TypeScript code, enhancing type safety and integration within the MCP server.

This GitHub project includes API References documentation that provides detailed guidance on utilizing the Postman platform programmatically. It covers both the Collection SDK for local development and the Postman API for cloud platform integration. Key topics include authentication mechanisms, rate limits, and in-depth documentation of all API endpoints, including workspaces, collections, environments, mock servers, monitors, and more. Additionally, the guide offers prerequisites and quick-start instructions to facilitate seamless API interactions.

The docs/api/summaries directory contains comprehensive Markdown summaries of the Postman API. These documents outline API endpoints, request/response formats, and implementation details essential for validating and ensuring the functionality of the MCP server. Refer to the API Summaries README for an overview of the documentation structure and implementation strategies.

Converting OpenAPI Spec to TypeScript Code with Claude

Building the MCP Server

Refer to the Handlers Documentation for detailed specifications on implementing MCP server handlers. This includes URI formats, prompt requirements, and resource handling patterns. This guide is crucial for developers working on integrating and enhancing the Postman API functionalities within the MCP server.


Rationale

The MCP wrapper for Postman tools makes sense primarily as an AI interaction layer for complex, multi-step operations where structure and safety are paramount. However, it may be overengineered for simple operations where direct CLI or API usage would suffice. The MCP wrapper provides most value when:

  1. Complex Operations
  • Managing multiple collections
  • Coordinating environments
  • Generating comprehensive reports
  1. AI-Driven Automation
  • Automated testing workflows
  • API documentation maintenance
  • Environment management
  1. Error-Sensitive Operations
  • Critical API testing
  • Production deployments
  • Compliance checking

It provides less value for:

  1. Simple Operations
  • Basic collection runs
  • Single API calls
  • Quick environment checks
  1. Direct CLI Usage
  • Developer-driven operations
  • Local testing
  • Quick iterations

Development

Install dependencies:

bash
pnpm install

Build the server:

bash
pnpm run build

For development with auto-rebuild:

bash
pnpm run watch

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, available as a package script:

bash
pnpm run inspector

Docs

The Inspector will provide a URL to access debugging tools in your browser: http://localhost:5173. You will need to add the POSTMAN_API_KEY before connecting. Navigate to "Tools" to get started.

Other MCP Servers

License

This project is licensed under the MIT License. See the LICENSE file for details.

Star History

Star History Chart

Repository Owner

delano
delano

User

Repository Details

Language TypeScript
Default Branch main
Size 518 KB
Contributors 4
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
95.96%
JavaScript
3.72%
Dockerfile
0.32%

Tags

Topics

anthropic claude mcp

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Postmancer

    Postmancer

    A standalone MCP server for API testing and management via AI assistants.

    Postmancer is a Model Context Protocol (MCP) server designed to facilitate API testing and management through natural language interactions with AI assistants. It enables HTTP requests, organizes API endpoints into collections, and provides tools for managing environment variables, authentication, and request history. Postmancer is particularly aimed at integrating with AI platforms like Claude for seamless, automated API workflows.

    • 28
    • MCP
    • hijaz/postmancer
  • PostHog MCP

    PostHog MCP

    Easily deploy and manage Model Context Protocol servers across multiple platforms.

    PostHog MCP provides a server implementation for the Model Context Protocol, now maintained within the PostHog monorepo. It enables quick deployment for enhanced model context management across editors like Cursor, Claude, Claude Code, VS Code, and Zed. Users can install the MCP server with a single command, streamlining integration for large language model workflows. Documentation and further details are provided through official PostHog resources.

    • 138
    • MCP
    • PostHog/mcp
  • HackMD MCP Server

    HackMD MCP Server

    MCP server connecting LLM clients to the HackMD collaborative note platform.

    HackMD MCP Server implements the Model Context Protocol (MCP) to provide a standardized interface between large language model (LLM) clients and the HackMD collaborative note service. Through HTTP and STDIO transports, it enables creation, retrieval, update, and deletion of notes, along with management of teams, user profiles, and history data. It supports deployment in both local and cloud environments, with secure API token-based authentication and configuration via environment variables or HTTP headers.

    • 43
    • MCP
    • yuna0x0/hackmd-mcp
  • Keycloak MCP Server

    Keycloak MCP Server

    MCP server for streamlined Keycloak administration and user management

    Keycloak MCP Server provides a Model Context Protocol (MCP) interface for managing Keycloak users and realms. It enables easy creation, deletion, and listing of users and realms through standardized tools. Designed for integration with platforms like Claude Desktop and tools like Smithery, it automates repeated Keycloak admin tasks and supports both NPM and local development setups.

    • 33
    • MCP
    • ChristophEnglisch/keycloak-model-context-protocol
  • Firefly MCP Server

    Firefly MCP Server

    Seamless resource discovery and codification for Cloud and SaaS with Model Context Protocol integration.

    Firefly MCP Server is a TypeScript-based server implementing the Model Context Protocol to enable integration with the Firefly platform for discovering and managing resources across Cloud and SaaS accounts. It supports secure authentication, resource codification into infrastructure as code, and easy integration with tools such as Claude and Cursor. The server can be configured via environment variables or command line and communicates using standardized MCP interfaces. Its features facilitate automation and codification workflows for cloud resource management.

    • 15
    • MCP
    • gofireflyio/firefly-mcp
  • MCP-Typescribe

    MCP-Typescribe

    An MCP server for serving TypeScript API context to language models.

    MCP-Typescribe is an open-source implementation of the Model Context Protocol (MCP) focused on providing LLMs with contextual, real-time access to TypeScript API documentation. It parses TypeScript (and other) definitions using TypeDoc-generated JSON and serves this information via a queryable server that supports tools used by AI coding assistants. The solution enables AI agents to dynamically explore, search, and understand unknown APIs, accelerating onboarding and supporting agentic behaviors in code generation.

    • 45
    • MCP
    • yWorks/mcp-typescribe
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results