- Home
- MCP servers
- REST to Postman
REST to Postman
- javascript
0
GitHub Stars
javascript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"runninghare-rest-to-postman": {
"command": "npx",
"args": [
"-y",
"rest-to-postman@latest",
"--postman-api-key",
"your_api_key",
"--postman-workspace-id",
"your_workspace_id"
],
"env": {
"POSTMAN_API_KEY": "your_api_key",
"POSTMAN_ACTIVE_WORKSPACE_ID": "your_workspace_id"
}
}
}
}You can use this MCP server to automatically translate your REST API endpoints into Postman collections and keep your environment variables in sync. It supports multiple authentication methods, merges new endpoints with existing collections, and can run via stdio or SSE transports to fit your tooling choices.
How to use
Start by choosing how you want to run the server. You can run it directly with a command that connects to your Postman workspace, or run it in a streaming mode to receive updates as they happen.
How to install
Prerequisites: you need Bun installed (v1.2.2 or later). You also need a Postman API Key and a Postman Workspace ID.
Install via a package manager and then run the MCP server with a ready-made command line.
npx -y @smithery/cli install @runninghare/rest-to-postman-mcp --client claude
npx -y rest-to-postman@latest --postman-api-key your_api_key --postman-workspace-id your_workspace_id
export POSTMAN_API_KEY=your_api_key
export POSTMAN_ACTIVE_WORKSPACE_ID=your_workspace_id
npx -y rest-to-postman@latest
Configuration and usage notes
The MCP server supports two main startup modes. You can run in stdio mode to interact directly with a client, or in SSE mode to receive a continuous stream of updates.
// StdIO: default run
bun run src/mcp.ts
// StdIO: run with SSE enabled
bun run src/mcp.ts --sse
Available tools
rest_to_postman_env
Creates or updates a Postman environment with your application's environment variables.
rest_to_postman_collection
Creates or updates a Postman collection with your REST API endpoints, including authentication settings and request items.