With the Postman VS Code extension, you can integrate the Postman Model Context Protocol (MCP) server with your AI agent in VS Code. This enables you to manage your Postman resources, like workspaces and collections, with your agent using the Postman API. This integration uses the streamable HTTP Postman MCP server with the minimal tool configuration mode, which includes only essential tools for basic Postman operations.
You can also manually integrate the Postman MCP server with VS Code.
To get started, integrate the Postman MCP server with your AI agent in VS Code. An API key is generated to authenticate with Postman, giving your AI agent permission to manage your Postman resources with the Postman API. Learn about using AI agents in VS Code.
To integrate the Postman MCP server with VS Code, do the following:
An API key is generated for your user account. If the API key isn’t generated for you, learn how to manually generate an API key.
Learn about tips and best practices for using the Postman MCP server.
If the API key isn’t generated when you set up the Postman MCP server, you can create one instead.
Click Add / Update Postman MCP.
Click Add MCP in the in-app notification.
Choose one of the following in the in-app notification:
Enter your Postman API key then press Return or Enter.
Update the Postman API key you’re using to authenticate with Postman. Make sure to delete Postman API keys you’re no longer using.
To update your Postman API key, do the following:
Last modified: 2025/12/10