mcp-smoke

mcp-smoke is a skill for Claude Code, Codex from donaldfilimon/abi. It costs 127 tokens per session (664 once invoked), scanned A, original, Apache-2.0.

A local smoke test for an MCP server. It builds abi-mcp, starts it over standard input and output, asks for its tool list using JSON-RPC, and checks that the expected tools are present.

In plain words
What is it for?
Use it after changing the MCP server or its launcher to verify the JSON-RPC response and the complete tool list.
Why use it?
It quickly catches build failures, startup failures, protocol errors, and changes to the server's tool contract. The test uses an in-memory store and does not need network access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is | ABI_WDBX_PATH=:memory: ABI_WDBX_PERSIST=0 ./mcp/launcher.sh stdio \.

Good fit Use it after changing the MCP server or its launcher to verify the JSON-RPC response and the complete tool list.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi
agentmods
npx agentmods add skills/donaldfilimon/abi/mcp-smoke

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/donaldfilimon/abi/mcp-smoke/github.svg)](https://agentmods.dev/skills/donaldfilimon/abi/mcp-smoke)
Your own site
<a href="https://agentmods.dev/skills/donaldfilimon/abi/mcp-smoke"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/mcp-smoke/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-smoke

Your own site · 80×15
<a href="https://agentmods.dev/skills/donaldfilimon/abi/mcp-smoke"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/mcp-smoke.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 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.00127 $0.00664
Opus 5.5 $0.00051 $0.00266
Sonnet 5.5 $0.00025 $0.00133
Haiku 4.5 $0.00013 $0.00066

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

Security

Grade A, and why

mcp-smoke 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 15d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (smoke.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/mcp-smoke/SKILL.md · 48 lines

What it actually says

mcp-smoke — assert the MCP server's 12-tool contract

Driver: .agents/skills/mcp-smoke/smoke.sh (paths relative to repo root). Builds release abi-mcp via ./tools/cargo.sh, launches it through mcp/launcher.sh stdio, sends one JSON-RPC tools/list over stdio, and asserts the frozen 12-tool set. Fully local — no network.

The driver overrides inherited store settings with ABI_WDBX_PATH=:memory: and ABI_WDBX_PERSIST=0. Locked builds explicitly use this checkout's target/ directory, even with an inherited CARGO_TARGET_DIR. Python 3 parses the response and checks the JSON-RPC version, request ID, success envelope and tool names. A failed build or server exit fails the smoke.

Run (agent path)

.agents/skills/mcp-smoke/smoke.sh

Prints RESULT: PASS — 12/12 frozen MCP tools present (exit 0) or RESULT: FAIL.

One-liner:

printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
  | ABI_WDBX_PATH=:memory: ABI_WDBX_PERSIST=0 ./mcp/launcher.sh stdio \
  | jq -r '.result.tools[].name'

Gotchas

  • ⚠️ Do NOT count tools with grep -c '"name":' — it returns 13, not 12. Use jq -r '.result.tools[].name' or count only tool-list name values.
  • stdio framing is newline-delimited JSON — not LSP Content-Length.
  • No hang, no timeout needed. Pipe EOF exits the stdio loop.
  • Optional loopback HTTP/SSE may log on stderr; drop stderr when grepping stdout.

Troubleshooting

Symptom Fix
build FAIL ./tools/cargo.sh build --locked --release -p abi-mcp then ./tools/check.sh
empty response trailing \n required; drop stderr
got 13 tools over-counting schema "name" fields
tool set mismatch reconcile crates/abi-mcp/src/handlers.rs with AGENTS.md frozen list

Historical golden: tests/golden/mcp-tools-list.json.

Files

What ships with it

1 file 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. 15d ago First seen · 48 lines · 127 tokens per session scan A a0e167acf301

Subscribe to this mod's changes

mcp-smoke is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 127 tokens to every session and 664 once invoked, about $0.0005 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-15.

Related

mcp-smoke compared with skills from other repositories

mcp-smoke next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-smokedonaldfilimon/abiSkill185d agoApache-2.0A127Claude Code, Codex
clinical-reportssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A71Claude Code
imaging-data-commonssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A62Claude Code, Codex
cancer-genomics-analysissynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
clinical-decision-supportsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A97Claude Code
clinical-imagingsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A69Claude Code, Codex
curated-bio-datasetssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A79Claude Code, Codex