# MCP testing

> MCP testing is an open-source agent skill for developer tools. Test and debug MCP servers with the Postman CLI, from one tool call to CI runs. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/postmanlabs/postman-plugin/tree/main/agent-plugin/skills/mcp-testing
- **Repository:** https://github.com/postmanlabs/postman-plugin
- **GitHub stars:** 49
- **License:** Apache-2.0
- **Skill name:** mcp-testing
- **Collection:** https://github.com/postmanlabs/postman-plugin
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/postmanlabs/postman-plugin/tree/HEAD/agent-plugin/skills/mcp-testing)
- [License: Apache-2.0](https://github.com/postmanlabs/postman-plugin/tree/HEAD/agent-plugin/skills/mcp-testing)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [MCP CLI](https://ai-powered.com/skills/mcp-cli): MCP CLI is an open-source agent skill for developer tools.
- [Postman MCP server](https://ai-powered.com/skills/postman-mcp-server-postmanlabs): Postman MCP server is an open-source agent skill for developer tools.
- [MCP release QA](https://ai-powered.com/skills/mcp-release-qa): MCP release QA is an open-source agent skill for developer tools.
- [MCP builder](https://ai-powered.com/skills/mcp-builder-microsoft): MCP builder is an open-source agent skill for ai models and llm tooling.
- [Craft MCP](https://ai-powered.com/skills/craft-mcp): Craft MCP is an open-source agent skill for developer tools.
- [MCP builder](https://ai-powered.com/skills/mcp-builder): MCP builder is a free agent skill for ai models and llm tooling.
- [MCP server patterns](https://ai-powered.com/skills/mcp-server-patterns-abdullayevtemurmalik): MCP server patterns is an open-source agent skill for developer tools.
- [MCP implementation security review](https://ai-powered.com/skills/mcp-implementation-security-review): MCP implementation security review is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/mcp-testing
