An experimental MCP server Rest Client intended to be a replacement of tools postman & insomnia
A standalone MCP server for API testing and management, allowing AI assistants to interact with RESTful APIs through natural language.
Postmancer is an MCP (Model Context Protocol) server that enables AI assistants like Claude to make HTTP requests, manage collections of API endpoints, and test API responses. It provides similar functionality to tools like Postman or Insomnia but designed specifically for AI assistants.
# Install globally
npm install -g postmancer
# Or run directly with npx
npx postmancer
Add this to your Claude Desktop configuration file:
%USERPROFILE%\.claude\claude_desktop_config.json
~/.claude/claude_desktop_config.json
{
"mcpServers": {
"postmancer": {
"command": "npx",
"args": ["-y", "postmancer"],
"env": {
"LOG_LEVEL": "info"
}
}
}
}
docker run -i --rm \
--mount type=bind,src=/path/to/collections,dst=/data/collections \
postmancer
Postmancer provides the following tools to AI assistants:
Configure Postmancer with these environment variables:
COLLECTIONS_PATH
: Path to store collections (default: ~/.postmancer)LOG_LEVEL
: Logging level (debug, info, warn, error) (default: info)POSTMANCER_ENCRYPTION_KEY
: Secret key used to encrypt credentials and tokens (generates a random key if not provided)ENCRYPTION_KEY
: Secret key used to encrypt environment variables marked as secrets (uses default key if not provided)For security in production environments, it's strongly recommended to set these encryption keys rather than using the defaults.
MIT