Quickstart¶
From pip install to a populated Postman collection in under five minutes — with no
manual config editing.
1. Install¶
2. Set up this project (once)¶
Run init from your project root. It is idempotent — safe to re-run.
init walks you through six steps, in order:
- Detect the project + input source. It identifies your framework (FastAPI / Express / Django / NestJS) and looks for an OpenAPI spec. If it finds one, it uses the OpenAPI path; otherwise it parses your code.
- API-key handshake. Paste your Postman personal API key. It's validated with
GET /me. The key is read in the terminal — never typed into a web form, never sent to Claude. - Store the key by reference. The raw key goes into your OS credential store (the
default); only a pointer (
apiKeyRef) is written to config. See Configuration for the env-var and file fallbacks. - Pick workspace + collection. Choose the project's collection, or create a new one.
- Write
postman-mcp.jsonat the project root — small, committable, secret-free. - Register with Claude Code + install slash commands. This makes the
/postman:*commands appear.
On success you'll see:
✓ Connected to Postman workspace "Acme API" → collection "Acme Backend"
✓ Config written to ./postman-mcp.json
✓ MCP server registered with Claude Code
✓ 6 slash commands installed
Next: open Claude Code in this project and run
/postman:syncall (first full sync)
/postman:syncapi <fn> (sync one route)
3. Use it inside Claude Code¶
Open Claude Code in the project. Every write-capable command shows a diff first and writes only on confirm.
Typical first run¶
Typical daily run¶
Verify the whole setup¶
Any time something looks off:
doctor checks the six-point setup contract: CLI
on PATH, config present with a valid collection id, API key resolves and GET /me returns
200, MCP server registered, slash-command files present, and the target collection still
exists. It names anything broken and gives you the one command to fix it.
Next steps¶
- Learn each command in the Commands reference.
- Understand the
postman-mcp.jsonconfig. - See how it works under the hood in the Architecture overview.