# Use AI agents with the Postman API The [Postman Model Context Protocol (MCP) server](https://www.postman.com/postman/postman-public-workspace/collection/681dc649440b35935978b8b7) enables AI agents like Claude, Cursor, and VS Code to help you manage your Postman resources, including [workspaces](/docs/collaborating-in-postman/using-workspaces/overview/), [collections](/docs/collections/use-collections/use-collections-overview/), [specifications](/docs/design-apis/specifications/overview/), [mocks](/docs/design-apis/mock-apis/overview/), and [monitors](/docs/monitoring-your-api/intro-monitors/). The server translates your natural language commands into API workflows behind the scenes. With [MCP](https://modelcontextprotocol.io/introduction), you can build AI agents and complex workflows on top of LLMs using the tools and context provided by the servers. Communication between the Postman API and the AI agent happens through the following methods: * [*Remote Server*](/docs/developer/postman-api/postman-mcp-server/set-up-postman-mcp-server/#remote-server) - Securely links the agent to the server over streamable HTTPS at `https://mcp.postman.com/mcp` and `https://mcp.eu.postman.com` for EU, without requiring any extra agent setup. Great for using the Postman MCP server with your preferred IDE or AI agent. It supports two tool configurations to better serve different use cases: * *Minimal* - Only includes essential tools for basic Postman operations, available at `https://mcp.postman.com/minimal`. This offers faster performance and simplifies use for those who only need basic Postman operations. * *Code* - Includes tools to generate client code from public and internal API definitions, available at `https://mcp.postman.com/code`. This configuration is ideal for users who need to consume APIs or get context about APIs to their agents. * *Full* - Includes all available Postman API tools (100+ tools), available at `https://mcp.postman.com/mcp`. * [*Local Server*](/docs/developer/postman-api/postman-mcp-server/set-up-postman-mcp-server/#local-server) - Runs the MCP server locally on the agent machine with STDIO. Requires downloading and running the source code yourself or spinning up a local [Docker](https://www.docker.com/) image. For a complete list of the Postman MCP Server's tools, see the [Postman MCP Server collection](https://www.postman.com/postman/postman-public-workspace/collection/681dc649440b35935978b8b7). This collection offers both the remote [full](https://www.postman.com/postman/postman-public-workspace/mcp-request/6821a76b17ccb90a86df48d3) and [minimal](https://www.postman.com/postman/postman-public-workspace/mcp-request/689e1c635be722a98b723238) servers, and the [local server](https://www.postman.com/postman/postman-public-workspace/mcp-request/6866a655b36c67cc435b5033). ## Use cases * **Code synchronization** - Effortlessly keep your code in sync with your [collections](/docs/collections/collections-overview/) and specifications. * **Collection management** - Create and [tag](/docs/collections/use-collections/collaborate-with-collections/#tag-a-collection) collections, update collection and request [documentation](/docs/publishing-your-api/api-documentation-overview/), add [comments](/docs/collaborating-in-postman/comments/), or perform actions across multiple collections without leaving your editor. * **Workspace and environment management** - Create [workspaces](/docs/collaborating-in-postman/using-workspaces/overview/) and [environments](/docs/sending-requests/variables/managing-environments/), plus manage your environment variables. * **Automatic spec creation** - Create [specifications](/docs/design-apis/specifications/overview/) from your code and use them to generate Postman collections. ## Get started with agents Follow the [Postman MCP server setup guide](/docs/developer/postman-api/postman-mcp-server/set-up-postman-mcp-server/) to get up and running. Then, explore [best practices and tips](/docs/developer/postman-api/postman-mcp-server/postman-mcp-server-tips/) for getting the most out of its features.