# How to use the Postman MCP Server with Claude Code

Source: https://www.youtube.com/watch?v=0xuUk6BcxHA
Recap page: https://rapidrecap.app/video/0xuUk6BcxHA
Generated: 2026-02-19T20:06:14.264+00:00

---
## Quick Overview

The video demonstrates how to use the Postman Model Content Protocol (MCP) Server with Claude Code to generate client-side code for a banking API, which involves connecting to the local Postman MCP server, using CLI commands to list available servers, and then generating TypeScript code for the API endpoints after updating the collection within Postman.

**Key Points:**
- The tutorial guides users on integrating Claude Code with the Postman MCP Server to automatically generate client-side code for an existing banking API.
- The process requires running `yarn dev` to start the local banking API server, which serves as the backend for Postman.
- The presenter uses the CLI command `/mcp list` to discover the Postman MCP server running locally, which is connected to the user's Postman account.
- After implementing new account CRUD endpoints in the code (e.g., Get Single Account, Update Account, Delete Account), Claude is prompted to update the Postman collection.
- Claude successfully updates the Postman collection schema and prompts the user to confirm the workspace for the update.
- The final step involves using the command `/mcp generate` to create client-side TypeScript code based on the updated API collection structure, including generated mock server URLs for testing.
- The generated code includes full TypeScript support, error handling for common HTTP status codes (401, 403, 404, 400), and comprehensive documentation.

![Screenshot at 00:33: The presenter views the GitHub repository for the 'Banking-API-Demo' project, which is being used to showcase native Git support and Postman integration.](https://ss.rapidrecap.app/screens/0xuUk6BcxHA/00-00-33.jpg)

**Context:** The video features Gbadebo Bello, a Developer Relations Engineer, demonstrating an advanced integration between Postman's Model Content Protocol (MCP) server functionality and Claude Code within a development environment (VS Code). The goal is to streamline the process of keeping Postman API collections synchronized with backend code changes, specifically using a sample 'Intergalactic Bank API' as the demonstration project.

## Detailed Analysis

Gbadebo Bello demonstrates how to leverage Claude Code's integration with the Postman MCP Server to keep Postman collections updated automatically whenever API code changes are made. The demonstration starts by ensuring the local banking API server is running via `npm run dev`. The presenter then uses the CLI command `/mcp list` within Claude Code to find the local Postman MCP server instance, which is connected to the user's Postman account via a local network connection. After manually implementing missing CRUD endpoints for account management (Get Single Account, Update Account, Delete Account) in the local code files (like `accounts.js`), Claude prompts the user about updating the Postman collection to reflect these changes. Upon confirmation ('Yes'), Claude updates the collection structure. Subsequently, the presenter uses the `/mcp generate` command, prompting Claude to generate client-side TypeScript code for the entire collection, including the new endpoints, demonstrating how this tool manages the synchronization between local development and the Postman API definition.

### Setting up the Environment

- The presenter assumes Postman MCP Server is installed and set up; uses a local banking API example running on port 3000
- Local API server shows endpoints for authentication, accounts (CRUD), and transactions.

### Connecting to Postman MCP Server

- Uses CLI command `/mcp list` to discover the local Postman MCP server instance, noting it has 11 tools available, and confirms connection status for local and GitHub instances.

### Code Implementation and Collection Update

- Implements missing account CRUD endpoints in TypeScript code, prompting Claude to ask if it should update the Postman collection to reflect these changes; user accepts, and Claude updates the collection structure.

### Client Code Generation

- Uses the command `/mcp generate` to create client-side TypeScript code for the collection, including new endpoints like Get Single Account and Delete Account (soft delete).

### Reviewing Generated Code Features

- The generated code includes TypeScript support, error handling for common HTTP codes (401, 403, 404, 400), shared types, and is ready to use with native fetch API.

![Screenshot at 00:00: Gbadebo Bello introduces himself as a Developer Relations Engineer in the introductory segment.](https://ss.rapidrecap.app/screens/0xuUk6BcxHA/00-00-00.jpg)
![Screenshot at 00:33: The screen displays the GitHub repository file structure for the 'Banking-API-Demo' project, which is the focus of the demonstration.](https://ss.rapidrecap.app/screens/0xuUk6BcxHA/00-00-33.jpg)
![Screenshot at 01:03: The VS Code terminal shows the README file content detailing the project's quick start guide and features.](https://ss.rapidrecap.app/screens/0xuUk6BcxHA/00-01-03.jpg)
![Screenshot at 02:56: The Postman client shows the 'Intergalactic Bank API' collection structure, highlighting existing endpoints.](https://ss.rapidrecap.app/screens/0xuUk6BcxHA/00-02-56.jpg)
![Screenshot at 04:07: The Postman interface prompts the user to select a new request type, showing options like HTTP, GraphQL, AI, and the Postman Collection/Environment options.](https://ss.rapidrecap.app/screens/0xuUk6BcxHA/00-04-07.jpg)
