> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt.

# Use the Postman plugin for coding agents

The Postman plugin connects your coding agent to your Postman Workspace. Bootstrap a repository's Postman setup, mock an API before it's implemented, run collection and governance checks in CI, monitor a live endpoint, and publish generated API documentation. Follow the steps for your agent: [Claude Code](#claude-code) or [Cursor](#cursor).

## Claude Code

Install the plugin using Claude Code's plugin marketplace:

```bash
claude plugin install postman@claude-plugins-official
```

## Cursor

Install the plugin from the [Cursor marketplace](https://cursor.com/marketplace/postman):

```bash
/add-plugin postman
```

## Use the plugin

Once you're set up, you can describe what you want to do using natural language, in any of the supported agents. For example:

Sync my OpenAPI spec with Postman

The plugin detects the local OpenAPI specification and creates or updates a Postman Collection in your workspace.

## How it works

The plugin automatically routes each task to whichever tool is best suited to complete it, so you don't have to choose yourself. It sends your agent's requests to the [Postman CLI](/docs/use/native-git/develop-with-agents/) whenever the CLI can complete them, and falls back to the [Postman MCP Server](/docs/reference/postman-api/postman-mcp-server/overview/) only for tasks the CLI doesn't support.

To learn more about using the plugin with your coding agent, see the following:

* [Postman plugin for Claude Code repository](https://github.com/postman-devrel/postman-claude-code-plugin) — Learn more about the Claude Code plugin's available commands and current installation options.
* [Postman plugin for coding agents repository](https://github.com/postmanlabs/postman-plugin) — Learn more about the Cursor plugin's available commands and current installation options.
* [Develop with a coding agent using Native Git](/docs/use/native-git/develop-with-agents/) — Walk through setting up a project, connecting a workspace, and completing tasks with the Postman CLI.