For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
        • Overview
        • Install and sign in
        • Send requests
        • Add and manage certificates
        • Create and manage collections
        • Create and manage environments
        • Share your work and manage access
        • Document APIs
        • Manage Postman with AI agents
        • Feedback
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Create the Postman MCP server integration
  • Update your Postman API key
  • Use language model tools
ReferencePostman VS Code extension

Use AI agents with the Postman API from the Postman VS Code extension

||View as Markdown|
Was this page helpful?
Previous

Use the Collection Runner from the Postman VS Code extension

Next

Give feedback about the Postman VS Code extension

Built with

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 tools for basic Postman operations.

You can also manually integrate the Postman MCP server with VS Code.

Create the Postman MCP server integration

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:

  1. Click MCP icon Add / Update Postman MCP.
  2. Click Add MCP in the in-app notification.

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.

Manually generate an API key

If the API key isn’t generated when you set up the Postman MCP server, you can create one instead.

  1. Click MCP icon Add / Update Postman MCP.

  2. Click Add MCP in the in-app notification.

  3. Choose one of the following in the in-app notification:

    • Click Generate API Key to open Postman and create a Postman API key.
    • Click I already have a key if you already have a Postman API key you’d like to use.
  4. Enter your Postman API key then press Return or Enter.

Update your Postman API key

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:

  1. Create a new Postman API key.
  2. Click MCP icon Add / Update Postman MCP.
  3. Click Update API Key in the in-app notification.
  4. Enter your new Postman API key then press Return or Enter.

Use language model tools

The Postman VS Code extension provides language model tools that make the AI agent context-aware about the extension’s state and enable the AI agent to interact with the extension.

To view the available tools, open the Chat view and select the Configure Tools button. You can specify the tool to use with your prompt or let the AI agent infer the tool you need for your task. For example, you can ask it to add some requests to your current workspace using the getCurrentWorkspace tool. To learn more, see Use tools with agents.