Skip to content
Skill

MCP testing

Test and debug MCP servers with the Postman CLI, from one tool call to CI runs

MCP testing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
49
Last commit
License
Apache-2.0
Listing updated

Similar skills

About MCP testing

This skill guides an agent through checking, debugging and writing tests for a Model Context Protocol server, whether it is local or remote and whoever built it. It explains how the Postman CLI's mcp command acts as a scriptable client that connects to one server, runs a single operation and disconnects, so an agent can confirm a tool works with one call.

The skill also covers turning those manual checks into saved MCP requests that the collection runner repeats locally and in CI with the same transport, auth and scripts. It sets out where pre-connect, post-connect, response and disconnect scripts belong, how to assert on tool schemas and results, and how to chain requests into multi-step workflows that pass values between calls.

It expects the Postman CLI to be installed and up to date, and it notes limits such as sampling and elicitation being declined, the stdio command being split at spaces, and each request opening a new session. Credentials come from a browser login locally or from a CI secret store in automated runs.

When your agent uses it

Use when checking, debugging or writing tests for an MCP server, local or remote, whoever built it. Use for requests such as "does my MCP server work", "why does this tool call fail", "connect to this MCP URL" or "make sure these tools keep working". Not for using Postman's own MCP tools on a workspace; that is postman:postman-mcp-server.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the postman plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add postmanlabs/postman-plugin
/plugin install postman@postman

Or copy only this skill to ~/.claude/skills/mcp-testing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mcp-testing &&
cp -R "$tmp/agent-plugin/skills/mcp-testing" ~/.claude/skills/mcp-testing &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/mcp-testing inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/mcp-testing to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mcp-testing &&
cp -R "$tmp/agent-plugin/skills/mcp-testing" ~/.agents/skills/mcp-testing &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/mcp-testing inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/mcp-testing to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mcp-testing &&
cp -R "$tmp/agent-plugin/skills/mcp-testing" ~/.cursor/skills/mcp-testing &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/mcp-testing inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/postmanlabs/postman-plugin.git --path agent-plugin/skills/mcp-testing

Or copy the folder to ~/.gemini/skills/mcp-testing yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/mcp-testing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mcp-testing &&
cp -R "$tmp/agent-plugin/skills/mcp-testing" ~/.copilot/skills/mcp-testing &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/mcp-testing inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git

Then copy postman-plugin/agent-plugin/skills/mcp-testing into your agent's skills folder as mcp-testing. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Single tool checks
Run one MCP tool call or server inspection from the command line and read the result.
Saved MCP requests
Turn a manual check into a request that the collection runner repeats locally and in CI.
Script hook placement
Guidance on which pre-connect, post-connect, response and disconnect scripts to use for each job.
Schema-based expectations
Write assertions from a tool's input and output schemas rather than copying its previous output.
Chained workflows
Pass values between requests so a collection can run a create, act and verify flow.
Result interpretation
Separate whether the server answered, whether the tool succeeded and whether assertions passed.
CI credential handling
Use a token from a CI secret store for servers that require authentication.

Good for

  • Check whether my MCP server's tools respond correctly
  • Debug why a specific MCP tool call is failing
  • Connect to a remote MCP URL and list its tools and resources
  • Write a regression test collection that CI runs on each change
  • Build a multi-step workflow test that creates and then verifies a record

MCP testing FAQ

What does MCP testing need to run?

It relies on the Postman CLI, using its mcp command, and suggests updating the CLI if that command is missing.

When does MCP testing trigger?

It is meant for requests like checking whether an MCP server works, debugging a failing tool call, connecting to an MCP URL or keeping tools working. It is not for using Postman's own MCP tools on a workspace.

Can MCP testing test servers that ask the client for sampling or elicitation?

Not fully. Those requests are declined because the one-shot client cannot answer them, so tools that need them fail in this setup.

Does a saved request run in CI?

Yes, collection run repeats a saved MCP request locally and in CI using the same transport, auth and scripts.

How do I install MCP testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/mcp-testing to use it in all your projects, or to .claude/skills/mcp-testing in one project. Or install the postman plugin, which includes it: /plugin marketplace add postmanlabs/postman-plugin, then /plugin install postman@postman.

Does MCP testing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use MCP testing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to MCP testing?

The closest alternatives to MCP testing are MCP CLI, Postman MCP server, MCP release QA, MCP builder and Craft MCP.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from postmanlabs/postman-plugin

  1. Guides an agent through wiring a new vendor plugin route into the Postman plugin repo

    • Open source
    • 49 GitHub stars
    • Developer tools
  2. Walks an agent through cutting and publishing npm releases of the Postman plugin installer

    • Open source
    • 49 GitHub stars
    • Developer tools
  3. Scores how well an API contract lets AI agents discover, call and recover from errors

    • Open source
    • 49 GitHub stars
    • Developer tools
  4. Finds existing API contracts, mocks and consumers so agents reuse them instead of guessing

    • Open source
    • 49 GitHub stars
    • Developer tools
  5. Keeps API contracts, examples and published docs accurate for callers, tests and mocks

    • Open source
    • 49 GitHub stars
    • Developer tools
  6. Guides an agent through multi-step HTTP API work using Postman skills and shared contracts

    • Open source
    • 49 GitHub stars
    • Legal and government