P
Mission Progress
0 / 15
🚀 Intergalactic Banking Workshop

AI-Powered
API & MCP
Bootcamp

Build and test an Intergalactic Banking API end to end. Master API testing, automation with Postman Agent Mode, and building MCP servers to track transactions between astronauts. 60 minutes. Hands-on. No LLM experience required.

⏱️ 60 Minutes 🔬 Hands-On No LLM Exp. Required 🏷️ #PostmanBootcamp
Begin Mission View Resources
M
🏦
</>
🤖
Scroll to begin

Key Takeaways

What you'll accomplish in 60 minutes

Agent Mode Power

Use Postman Agent Mode to accelerate API design, testing, and development with AI copilots always available.

🔄

Code ↔ Collection

Move confidently between code-first and collection-first workflows using AI assistance to bridge the gap.

🔌

MCP Integration

Build and validate MCP-enabled services compatible with modern LLM tooling and autonomous AI agents.

🚀

Repeatable Workflow

Apply a Postman-centric workflow to modernize APIs for an AI-first future — techniques you can use immediately.

Workshop Resources

Everything you need — open these before starting

📦
Banking API Repo
github.com/Postman-Devrel/Banking-API-Demo
🌐
Postman Bootcamp Workspace
postman.com/devrel/ai-powered-api-mcp-bootcamp
🎓
Meet Agent Mode
academy.postman.com/meet-agent-mode
📚
Agent Mode Prompt Library
postman.com/templates/agent-mode
⚙️
Postman MCP Server
github.com/postmanlabs/postman-mcp-server
🔧
Postman Claude Code Plugin
github.com/Postman-Devrel/postman-claude-code-plugin

Prerequisites

Complete this before the workshop begins

Create a Postman Account at postman.com
📥
Workflow 1 2 steps

Import the API Spec into Postman

1

Create a New Workspace

In Postman, create a Blank Workspace and name it using this format:

Your Name — Intergalactic Banking
  • Set visibility to Internal
  • Set access to Everyone in the Team
2

Fork the Collection

Fork [Do It Yourself] Intergalactic Bank API from the public workspace into your newly created workspace:

🔗 postman.com/devrel/ai-powered-api-mcp-bootcamp
📝 Note: You may need the Postman Desktop Agent. Navigate to the bottom-right corner, find the Desktop Agent icon, and toggle on Auto Select and Desktop Agent.
🤖
Workflow 2 5 steps

Working with Agent Mode

1

Set Up Agent Mode & Create Environment

  • Select Claude Sonnet 4.6 as your model
  • Configure Agent Mode to Auto Run
  • Set the Collection as context, then send this prompt:
🤖 Agent Mode Prompt

Create an Environment Variable file called Banking.local

Switch to your new environment using the Environment Selector dropdown in the top right corner.

2

Set the Base URL as a Collection Variable

Ensure the Collection is set as context, then send:

🤖 Agent Mode Prompt

For all the requests in this collection, add https://template.postman-echo.com as an environment variable called baseUrl and update all the URLs in the collection to use {{baseUrl}}.

💡 Tip: Verify that the baseUrl variable has been automatically populated in the Variables tab.
3

Set the API Key as an Environment Variable

  • Send the Generate API Key GET request
  • Verify that the environment variable has been set in the Environment tab
💡 Tip — Mark as Sensitive: Go to your Environments on the side panel and set the apiKey value to sensitive.
4

Add Post-Request Scripts to fromAccount & toAccount

Set the fromAccount request as context and send:

🤖 Agent Mode Prompt — fromAccount

Programmatically add a post-response script that parses the response body, reads the accountId field, and saves its value as an environment variable called fromAccount in the Banking.local environment.

Set the toAccount request as context and send:

🤖 Agent Mode Prompt — toAccount

Programmatically add a post-response script that parses the response body, reads the accountId field, and saves its value as an environment variable called toAccount in the Banking.local environment.

Send both requests, then send GET List All Accounts to view the randomly generated accounts.

5

Add Post-Request Script to New Transaction

Set the Create new transaction request as context and send:

🤖 Agent Mode Prompt

Programmatically add a post-response script that parses the response body, reads the transactionId field, and saves its value as an environment variable called transactionId in the Banking.local environment.

Send the request to see the ID populated. Now send GET Transaction by ID — you should see a 200 OK response. 🎉

🧪
Workflow 3 2 steps

Testing and Automation

1

Write Tests with Agent Mode

Once your full API request workflow is producing expected happy-path responses, set the Collection as context and send:

🤖 Agent Mode Prompt

Write tests for all the requests in this collection. Include only status code tests and response time tests.

2

Run the Collection Runner

Walk through the Collection Runner interface. Demonstrate how to execute all requests in sequence and review results in the Test Results panel. Then use Agent Mode:

🤖 Agent Mode Prompt

Run all tests using the Collection Runner.

⚙️
Workflow 4 3 steps Optional

Connect the Postman MCP Server

1

Generate Your Postman API Key

  • Click your user icon in the top right → SettingsAPI Keys
  • Generate a new key and name it Workshop
  • Copy the key and store it somewhere safe — you will not be able to view it again
2

Create an MCP Request

  • Return to your Intergalactic Banking workspace and select MCP Request
  • Set transport type to HTTP
  • MCP Server URL:
https://mcp.postman.com/mcp

Set authentication type to Bearer Token and enter your API key.

3

Get Collections Using MCP Server

  • Navigate to Tool 49 — getCollection
  • Run the request using your Workspace ID
  • Find your Workspace ID in the Overview tab
💻
Bonus 3 steps Optional

Claude Code + Postman MCP

1

Add the MCP Server to Claude Code

Run this command in your terminal to register the Postman MCP Server with Claude Code:

💻 Terminal
claude mcp add --transport http postman \
  https://mcp.postman.com/mcp \
  --header "Authorization: Bearer <YOUR_API_KEY>"

Expected mcp.json configuration:

📄 mcp.json
{
  "mcpServers": {
    "postman_mcp_server": {
      "url": "https://mcp.postman.com/mcp",
      "headers": {
        "Authorization": "Bearer PMAK-YOUR-KEY-HERE"
      }
    }
  }
}
2

Verify the Connection

Run claude mcp list or type /mcp in Claude to list registered MCP servers. Then verify with:

🤖 Claude Prompt

List all my Postman workspaces.

3

Add Tests via the MCP Server

Get your workspace ID:

🤖 Claude Prompt

Get the workspace ID for "[WORKSHOP-WORKSPACE-NAME]".

Add tests to the collection:

🤖 Claude Prompt

Using the Postman MCP server, add tests to [workshop collection name]. For each request: 1. Add a status code check (200 OK) 2. Validate the response has a 'success' property set to true

Run the tests:

🤖 Claude Prompt

Run the "[workshop collection name]" collection and show me the test results.