本文へ移動
cccskills
無料GitHub で公開

mcp-smoke

Build the abi MCP server and smoke-test its JSON-RPC tool surface — start `abi-mcp`, send a `tools/list` over the stdio transport, and assert the frozen 12-tool contract (ai_run, ai_complete, ai_learn, ai_train, wdbx_query, scheduler_stats, scheduler_info, connector_test, gpu_status, plugin_list, wdbx_stats, plugin_run). Use to run/start/smoke-test abi-mcp, verify the MCP tool list, or check the 12-tool contract still holds. Local stdio; the process exits on pipe EOF.

日本語の概要は準備中です。原文の説明を表示しています。

donaldfilimon/abiスター 19(GitHub 19 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.3 KB
  • smoke.sh2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

SymptomFix
build FAIL./tools/cargo.sh build --locked --release -p abi-mcp then ./tools/check.sh
empty responsetrailing \n required; drop stderr
got 13 toolsover-counting schema "name" fields
tool set mismatchreconcile crates/abi-mcp/src/handlers.rs with AGENTS.md frozen list

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Maintain the Abbey / Aviva / Abi Discord system prompts in the Rust abbey-bot (`src/ask.rs`) and keep the hosted Grok bots (Grok Bot Abbey, Aviva Grok) in step with them. Use when the user says "improve grok bots", "abbey prompt", "persona prompt", "ask.rs", "system prompt", "tip floor", asks to change how Abbey/Aviva/Abi speak on Discord, or after an abbey-bot PR merges and the hosted bot's tip floor needs bumping. Runs as /abbey-system-prompt.

日本語の概要は準備中です。原文の説明を表示しています。

donaldfilimon/abi192026年10月27日 更新

Validate ABI docs and external collateral against repo evidence and docs/contracts/external-claims-audit.mdx. Use when auditing claims, scanning docs for unsupported QPS/sharding/FHE/AES language, checking one claim before publish, or re-confirming the external-claims audit. Agent procedure only — not a CLI or slash command. Pair with abi-doc-claims-sync when editing docs.

日本語の概要は準備中です。原文の説明を表示しています。

donaldfilimon/abi192026年10月27日 更新

Synchronize ABI Markdown and docs claims with executable behavior. Use before editing README, AGENTS.md, CLAUDE.md, GEMINI.md, docs/**/*.mdx, walkthroughs, changelogs, or any old ABI Markdown that mentions WDBX, MCP, GPU, clustering, compression, FHE, agents, or benchmarks.

日本語の概要は準備中です。原文の説明を表示しています。

donaldfilimon/abi192026年10月27日 更新

Plan and execute ABI repo work from the TODO board, roadmap/spec docs, stable Rust 1.99.1 constraints, and validation gates. Use when the user asks to find ABI todos/roadmaps, organize a large implementation from tasks/todo.md, or decide the next safe work slice. Distinct from the goals skill — that skill owns the persistent ledger tasks/goals.md; this skill plans from the active board and north-star specs.

日本語の概要は準備中です。原文の説明を表示しています。

donaldfilimon/abi192026年10月27日 更新

Validate ABI MCP JSON-RPC stdio and its custom loopback HTTP compatibility endpoint, including auth, limits, notifications, and shutdown.

日本語の概要は準備中です。原文の説明を表示しています。

donaldfilimon/abi192026年10月27日 更新

Review ABI's 16 compiled-in plugin fixtures, manifest validation, manual bundled registry, and real CLI/MCP run dispatch without claiming dynamic loading.

日本語の概要は準備中です。原文の説明を表示しています。

donaldfilimon/abi192026年10月27日 更新

donaldfilimon のスキルをすべて見る

このスキルの問題を報告する