Feedback

Postmancer MCP Server

@hijaz Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
hijaz
Submitted by
Community
Quality
35
Stars
28

About Postmancer MCP Server

An experimental MCP server Rest Client intended to be a replacement of tools postman & insomnia

Postmancer is a MCP server in the Other category listed in the AddMCP.net directory, published by hijaz. It exposes 7 tools, including http_request, list_collections, list_requests, save_request and more. Supported transport: stdio. Runtime: node. License: MIT. The repository has 28 GitHub stars. Source code is hosted on github.com. Related topics: insomnia, mcp, postman, rest-client.

Setup

{
    "mcpServers": {
        "postmancer": {
            "command": "npx",
            "args": [
                "postmancer"
            ]
        }
    }
}

Postmancer MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "postmancer": {
            "command": "npx",
            "args": [
                "postmancer"
            ]
        }
    }
}

Postmancer MCP Server tools

  • http_request — Sends HTTP requests to specified URLs with optional authentication, headers, and body
    url:string*, method:string*, headers:object, body:string, query_params:object, timeout:number, auth:object, retry:boolean, max_retries:number, retry_delay:number
  • list_collections — Lists all available request collections
    (no parameters)
  • list_requests — Lists all requests in a specified collection
    collection_name:string*
  • save_request — Saves an HTTP request to a collection for future use
    collection_name:string*, request_name:string*, request:object*, description:string
  • request_from_collection — Retrieves and optionally executes a request from a collection
    collection_name:string*, request_name:string*, environment_name:string, execute:boolean
  • set_environment_variable — Sets an environment variable for use in HTTP requests
    name:string*, value:string*, is_secret:boolean, environment_name:string
  • get_environment_variables — Retrieves all environment variables from the specified environment
    environment_name:string

Overview

What is Postmancer?

Postmancer is a standalone MCP server for API testing and management, allowing AI assistants like Claude to make HTTP requests, manage collections of API endpoints, and test API responses through natural language. It offers similar functionality to tools like Postman or Insomnia but is designed specifically for AI assistants.

How to use Postmancer?

Install globally with npm install -g postmancer or run directly with npx postmancer. For Claude Desktop, add a configuration entry with "command": "npx", "args": ["-y", "postmancer"] to the MCP server list. Alternatively, run with Docker using docker run -i --rm --mount type=bind,src=/path/to/collections,dst=/data/collections postmancer.

Key features of Postmancer

  • Make HTTP requests to any REST API
  • Save and organize requests in collections
  • Set and use environment variables with variable substitution
  • Multiple authentication methods (Basic, Bearer, API Key, OAuth2)
  • Request/response history and testing

Use cases of Postmancer

  • AI assistant testing and debugging REST APIs via natural language
  • Managing a collection of reusable API endpoints
  • Running saved requests with environment variable substitution
  • Using different authentication methods for API testing
  • Maintaining request/response history for auditing or debugging

Frequently asked questions

1 What is Postmancer used for?

Postmancer allows AI assistants to make HTTP requests, manage API endpoint collections, and test API responses, functioning like a Postman for AI agents.

2 How do I install Postmancer?

Install globally with npm install -g postmancer or run on the fly with npx postmancer. It can also be run via Docker.

3 Where does Postmancer store data?

Collections and environment variables are stored in the path specified by the COLLECTIONS_PATH environment variable (default: ~/.postmancer).

4 What authentication methods are supported?

Postmancer supports Basic, Bearer, API Key, and OAuth2 authentication methods.

5 How can I secure sensitive data in Postmancer?

Set POSTMANCER_ENCRYPTION_KEY to encrypt credentials and tokens, and ENCRYPTION_KEY to encrypt environment variables marked as secrets. If not provided, random or default keys are used, which is less secure.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬