*** title: Add an MCP server to your MCP host updated: 2025-09-12T00:00:00.000Z max-toc-depth: 2 ---------------- You can add an MCP server to Postman Agent Mode to give it further context and extend its capabilities. You can also export an MCP server configuration to set up an MCP host, such as [Claude Desktop](https://modelcontextprotocol.io/clients#claude-desktop-app), [VS Code](https://modelcontextprotocol.io/clients#vs-code-github-copilot), or [Cursor](https://modelcontextprotocol.io/clients#cursor). Once you set up your app, its AI models or agents can use the MCP server for the same added context and capabilities. {/* vale postman-style-guide.Headings = NO */} {/* "Postman Agent Mode" is a branded term. */} ## Add the MCP server to Postman Agent Mode {/* vale postman-style-guide.Headings = YES */} To add the MCP server to Postman Agent Mode, do the following: {/* vale Vale.Terms = NO */} {/* "Config" is part of a UI label. */} 1. Choose an existing MCP request or [create a new one](/docs/postman-ai/mcp-requests/create/). 2. In the right sidebar, click Code icon **Generate Config**. 3. Choose **Postman Agent Mode**. 4. Click **Add to Agent Mode**. {/* vale Vale.Terms = YES */} Postman adds the MCP server to Postman Agent Mode. To see the configuration, click **Agent Mode configuration**. ## Export the MCP server configuration To export the MCP server configuration, do the following: {/* vale Vale.Terms = NO */} {/* "Config" is part of a UI label. */} 1. Choose an existing MCP request or [create a new one](/docs/postman-ai/mcp-requests/create/). 2. In the right sidebar, click Code icon **Generate Config**. 3. Choose your **MCP host**. Postman tells you where to add the configuration. 4. Click **Copy snippet**. 5. Open your configuration file and add the configuration. {/* vale Vale.Terms = YES */} Your MCP host is ready to connect to the MCP server. You may need to restart your host. To learn more, see your MCP host's documentation.