Until now you've been a consumer of MCP servers. This module flips the table. You're now the person building the server that someone else's agent calls. That's a very different kind of power — and it comes with some responsibility.
The two paths to building an MCP server in Postman — visual (Flows) vs. API-first (Generator)
The anatomy of a toolDefinition scenario and how to write one that actually makes sense
How the MCP Generator translates your existing API requests into agent-ready tools
Which path is right for your use case — answered by a decision tree, not a coin flip
Postman Flows lets you build an MCP server without touching a line of server code. The mechanism is a special kind of deployed Flow called an Action — a flow that lives in the cloud and responds to HTTP requests. When you give that action a toolDefinition scenario, it becomes an MCP server. Clients can connect to it, see its tools, and call them.
A toolDefinition is just a JSON scenario in your Flow. It has one required section and two optional ones. Click each section below to expand it — the greeter example runs through all three.
Each tool has a name (what the agent calls), a description (what the agent reads to decide whether to use it — write this thoughtfully), and an inputSchema (the arguments it accepts).
Each property in inputSchema.properties becomes an argument when the tool is called. In Postman Flows, you access it at arguments.first_name.
Prompts let your server suggest structured conversation starters to the client. Think of them as pre-written instructions that a client can surface to a user or pass to an LLM.
name and arguments — the outer MCP envelope is stripped away for you.Resources provide static context to a model — files, documents, data — identified by URI (not name). Resource templates parameterize that URI using RFC 6570 URI Templates.
{ uri } object. Resource template actions receive the resolved URI with any template variables filled in. The outer MCP envelope is stripped — same as prompts.You have an API. Maybe several. The MCP Generator reads your existing Postman requests and generates a working MCP server, with one tool per request, handling auth, base URLs, and parameters automatically.
Walk through the full generation process below. Each step has a "why this matters" annotation so you know what's actually happening under the hood.
Answer three questions and get a concrete recommendation. No waffling, no "it depends" — just your path.
The demo below builds the same simple MCP server two ways — Flows on the left, Generator on the right. Same result, different journeys. Watching them back to back is the fastest way to decide which workflow fits your brain.
npm run list-tools. Read what got created. Does it match what you'd have written?