mcp-tool-surface-testing

mcp-tool-surface-testing is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 76 tokens per session (1,704 once invoked), scanned A, original, MIT.

A black-box testing process for every tool exposed by an MCP server. MCP is a standard way for an AI agent to call external tools; this process checks each tool against written expectations before comparing its actual result.

In plain words
What is it for?
Use it to audit an MCP server's complete tool set, check input and output contracts, test tools in dependency order, and save the results in the repository.
Why use it?
It finds broken tools, mismatches between live behaviour and documentation, and unsafe handling of tools that can change or delete data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit an MCP server's complete tool set, check input and output contracts, test tools in dependency order, and save the results in the repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/mcp-tool-surface-testing
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 Arasz/ai-raccoon --skill mcp-tool-surface-testing
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

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 mcp-tool-surface-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/mcp-tool-surface-testing/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/mcp-tool-surface-testing)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/mcp-tool-surface-testing"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/mcp-tool-surface-testing/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 mcp-tool-surface-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/mcp-tool-surface-testing"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/mcp-tool-surface-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,704 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.00076 $0.01704
Opus 5.5 $0.00030 $0.00682
Sonnet 5.5 $0.00015 $0.00341
Haiku 4.5 $0.00008 $0.00170

Measured yesterday against content hash 3a91526ef837, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-tool-surface-testing 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 yesterday.

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.

.ai-badger/skills/mcp-tool-surface-testing/SKILL.md · 122 lines

How it starts

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

MCP tool-surface testing

Systematic black-box test of every tool an MCP server exports, with the expectations written down before any call and a results doc as the deliverable. The user's explicit method (verified on a 21-tool surface, 2026-08-06): expectations first, then call, then compare — never reverse the order, or the test degenerates into exploratory guessing.

When to use

  • "test all tools exported by X", "full-test-all-tools", "does every MCP tool work"
  • A server's surface changed (tools added/removed) and you want a live contract audit
  • Before writing agent guidance that depends on tool response shapes

Procedure

  1. Enumerate the surface. Sources, in order: the project's mcp-index (.ai-badger/mcp-tools.json — per-server tool lists), the host's tool catalog (deferred tool list), list_prompts for prompt tools. Note the count (e.g. 19 memory tools + 2 prompts = 21).
  2. Gather the contract, then write expectations. Three sources, all read BEFORE any call:
    • the docs tool table (often stale — flag drift as a finding, don't silently follow it)
    • live tool schemas (tool_describe per tool — exact param names, required flags)
    • mcp-index intents (semantic expectations) Write an expectations table into the results doc: tool | expected behaviour | expected response shape. This table is the test oracle.
  3. Safety first. Use a DEDICATED test project id (never a real project's data). Destructive tools (delete, delete_context, sweep, discard, share) get positive AND negative controls (bogus hash → {deleted: 0}). Watch/ingest tests use temp dirs. Clean up afterwards and verify zero residue (get_store_statistics shows the test context gone). If the server needs per-project config (watch enable/scope), restore it after.
  4. Execute in dependency order, batching independents. Write → search (verify hash round-trip at rank 1) → share → search shared; workspace begin → write → status → consolidate → verify → discard → verify. Batch independent calls in parallel; never race dependent ones (status before the write it should show).
  5. Compare + verdict. PASS (matches expectation) / PARTIAL (works, differs from documented/ideal shape) / FAIL. When the live contract contradicts a prior assumption, mark it as an expectation CORRECTION — the live server outranks docs, index intents, and memory.
  6. Perfect-response table. For each tool, the ideal response shape — what the docs promise or what would make the response unambiguous (e.g. "echo the new hash on share", "object instead of stringified JSON").
  7. Findings section. Docs drift vs live contract, index-intent overstatements (e.g. a tool documented as "denied in rw" that actually succeeds on this deployment), response-key inconsistencies between sibling tools, error-message gaps (typed error that doesn't name its remedy).

Read the full file on GitHub · 122 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 122 lines · 76 tokens per session scan A 3a91526ef837

Subscribe to this mod's changes

mcp-tool-surface-testing is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,704 once invoked, about $0.0003 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-12-05.

Related

mcp-tool-surface-testing compared with skills from other repositories

mcp-tool-surface-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-tool-surface-testingArasz/ai-raccoonSkill7todayMITA76Claude Code, Codex
debugariaxhan/kernel-claudeSkill16yesterdayMITA64Claude Code
agentsight-bugfixalibaba/anolisaSkill68813d agoApache-2.0A67Claude Code, Codex
ascend-moe-optimizer-auto-traceXiaoLuoLYG/GODSkill1.3k11d agoApache-2.0A170Claude Code, Codex
observabilityPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA67Claude Code
compiler-cb1e8e4bFuRongJun-1999/dsh-memorySkill778todayMITA110Claude Code
code-reviewShy2593666979/AgentChatSkill9433d agoMITA41Claude Code, Codex