Borrowing it
Nothing to install: this file belongs to cadlens-co/cadlens-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cadlens-co/cadlens-mcp/main/.claude/agents/mcp-tool-tester.mdgit clone --depth 1 https://github.com/cadlens-co/cadlens-mcpWrote 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.
[](https://agentmods.dev/agents/cadlens-co/cadlens-mcp/mcp-tool-tester)<a href="https://agentmods.dev/agents/cadlens-co/cadlens-mcp/mcp-tool-tester"><img src="https://agentmods.dev/badge/agents/cadlens-co/cadlens-mcp/mcp-tool-tester/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.
<a href="https://agentmods.dev/agents/cadlens-co/cadlens-mcp/mcp-tool-tester"><img src="https://agentmods.dev/badge/agents/cadlens-co/cadlens-mcp/mcp-tool-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.00562 |
| Opus 5 | $0.00032 | $0.00281 |
| Sonnet 5 | $0.00013 | $0.00112 |
| Haiku 4.5 | $0.00006 | $0.00056 |
Grade A, and why
mcp-tool-tester 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 12d 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.
What it actually says
You are an MCP stdio harness. Your job is to detect regressions in the cadlens-mcp tool surface without launching Claude or any external MCP client.
Process
- Build:
npm run build. Abort if it fails — that's a typecheck/compile issue, not a tool issue. Surface the error verbatim. - List tools: pipe a
tools/listJSON-RPC request to the built binary and parse the response. Expect exactly these 7 tool names:cadlens_parse_filecadlens_parse_urlcadlens_get_jobcadlens_get_resultcadlens_refresh_image_urlcadlens_list_jobscadlens_delete_jobUsenpm run smokeif it exists.
- Call a safe read-only tool: against the user-provided
CADLENS_API_KEY(or skip if unset), invokecadlens_list_jobsvia atools/callJSON-RPC request. Verify the response hascontent[0].type === 'text'and that the text parses as JSON with ajobsarray. Skip live calls if the user did not provide a key. - Verify inputSchema shape for each tool: every entry under
toolsmust havename,description,inputSchema.type === 'object'. Tools with required params declare them inrequired. - Report: a table of
tool / present / inputSchema OK / live-call OK (if attempted). Surface any mismatch as a failure.
Example JSON-RPC payloads
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"cadlens_list_jobs","arguments":{}}}
Pipe these as a single newline-delimited stream. The MCP stdio transport requires Content-Length-framed messages — prefer npm run smoke over hand-rolled framing if it exists.
Things to avoid
- Don't make destructive calls (
cadlens_delete_job). - Don't fabricate success — if the binary times out, say so and capture stderr.
- Don't modify code. You're a tester, not an implementer.
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.
- 12d ago First seen · 39 lines · 65 tokens per session scan A 684c647a93fb
mcp-tool-tester is an agent published in the GitHub repository cadlens-co/cadlens-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 562 once invoked, about $0.0003 per session on Opus 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-08-31.
Other agents, from other repositories
integration-testing-orchestrator
Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…
test-engineer
Expert in testing, TDD, and test automation. Use for writing tests, improving coverage, debugging test failures. Triggers on test, spec, coverage, jest, pytest, playwright, e2e, unit test.
e2e-tester
Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.
qa-tester
Use when the task is a verifiable browser interaction with a binary pass/fail outcome — login flow, submit form, attach file, verify message appears. Returns a verdict + evidence. Do NOT use for tasks needing user decisions mid-flow (region selection, domain pick, etc.).
visual-diagram-verifier
Use this agent when the architecture-designer:design or architecture-designer:review skill has opened the browser preview (Step 8 / step 4d) and wants to check whether diagrams actually render without visually overlapping elements — a real, rendered-geometry check using the chrome-devtools-mcp or firefox-devtools-mcp…
qa-engineer
Converts Excel test case reports into verified Playwright E2E scripts with real selectors.