run-mcp-eval

run-mcp-eval is a skill for Claude Code, Codex from gleanwork/mcp-server-tester. It costs 111 tokens per session (3,114 once invoked), scanned A, original, MIT.

A workflow for running and interpreting an MCP evaluation, which tests an MCP tool or server across cases, clients, models, and graders.

In plain words
What is it for?
Use it to dry-run an evaluation, check credentials, run small or resumed runs, compare variants or earlier runs, reread results, and run evaluations in Docker or CI.
Why use it?
It catches configuration problems before spending tokens, and helps distinguish ordinary failures, incomplete cases, infrastructure errors, and uncertain results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to dry-run an evaluation, check credentials, run small or resumed runs, compare variants or earlier runs, reread results, and run evaluations in Docker or CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gleanwork/mcp-server-tester/run-mcp-eval
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gleanwork/mcp-server-tester --skill run-mcp-eval
Clone the repo
git clone --depth 1 https://github.com/gleanwork/mcp-server-tester

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for run-mcp-eval

README.md
[![agentmods](https://agentmods.dev/badge/skills/gleanwork/mcp-server-tester/run-mcp-eval/github.svg)](https://agentmods.dev/skills/gleanwork/mcp-server-tester/run-mcp-eval)
Your own site
<a href="https://agentmods.dev/skills/gleanwork/mcp-server-tester/run-mcp-eval"><img src="https://agentmods.dev/badge/skills/gleanwork/mcp-server-tester/run-mcp-eval/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-mcp-eval

Your own site · 80×15
<a href="https://agentmods.dev/skills/gleanwork/mcp-server-tester/run-mcp-eval"><img src="https://agentmods.dev/badge/skills/gleanwork/mcp-server-tester/run-mcp-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,114 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00111 $0.03114
Opus 5.5 $0.00044 $0.01246
Sonnet 5.5 $0.00022 $0.00623
Haiku 4.5 $0.00011 $0.00311

Measured 6d ago against content hash 9fa141889a19, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-mcp-eval scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/run-mcp-eval/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run an MCP Eval

mst run runs an eval config: every case on its variant's client and model, then the graders. This skill is about running it and reading the result. To write the dataset or the eval config, use write-mcp-eval. To decide whether a judge's verdicts can be trusted, use calibrate-mcp-judge.

Every command below is npx mst ... in a project that has @gleanwork/mcp-server-tester installed.

Step 1: Check the config without running it

npx mst run --config eval.json --dry-run

--dry-run loads the config, its plugins and its datasets, and prints the eval's name, output directory, datasets, variants and runner as JSON. It catches unknown keys, plugins and config-level extension names that don't resolve, datasets that don't load, a case that sets client options its variant's desktop app can't take, and a --variant or --case the config doesn't have. A case's own plugin judge is checked only for its namespace: a misspelt judge name in a loaded plugin fails when the run grades. Fix what it reports before you spend tokens.

Then check the credentials the run needs:

  • The client's credentials. npx mst clients show <client> prints a client's install, credentials and setup (npx mst clients lists the clients). For example, api with Anthropic needs ANTHROPIC_API_KEY, and codex-cli needs OPENAI_API_KEY (a Codex sign-in is not enough).
  • The judge's key, when the config has judges. A judge's provider can differ from the client's.
  • Server tokens: a server's auth.accessTokenEnv names an environment variable. Connector servers need mst auth --config eval.json once.

A server that lists tools that aren't annotated read-only stops the run when it starts (MST can't see these servers' writes), unless a connector's dry-run proxy guards it or the config accepts its writes with "writes": { "<label>": "unguarded" }. The write-mcp-eval skill's references/eval-configs.md has the write modes.

Keep keys out of the config. Put them in a file and pass --secrets-file run.env (JSON or dotenv). Results replace values named as credentials (*_TOKEN, *_KEY, ...). A local run also reads the environment. A worker in Docker or another runner doesn't inherit this machine's environment, so put what its client and servers need in the secrets file.

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed 9fa141889a19
  2. 12d ago Changed 1d49ea556a38
  3. 22d ago First seen · 136 lines · 111 tokens per session scan A 5c03c6b3ff7d

Subscribe to this mod's changes

run-mcp-eval is a skill published in the GitHub repository gleanwork/mcp-server-tester (20 stars, last pushed 2d ago), licensed MIT. It adds 111 tokens to every session and 3,114 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-08.

Related

run-mcp-eval compared with skills from other repositories

run-mcp-eval next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-mcp-evalgleanwork/mcp-server-testerSkill202d agoMITA111Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code