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

abi-mcp-transport

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

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

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

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

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

ABI MCP transport

Use this skill for the real abi-mcp transport surface. ABI provides JSON-RPC 2.0 over stdio and attempts a loopback-only custom HTTP compatibility listener at startup. A bind failure leaves stdio running. The HTTP path serves persistent MCP 2024-11-05 HTTP+SSE sessions (not Streamable HTTP, 2025-03-26); the process itself is not a long-lived daemon.

Real launch paths

Build and start stdio:

./tools/cargo.sh build -p abi-mcp
./mcp/launcher.sh stdio

The server exits on stdin EOF. List or call the frozen tools by sending normal JSON-RPC requests over stdio; there are no /abi-mcp-transport commands.

Configure the automatically attempted custom loopback listener:

ABI_MCP_HTTP_PORT=8080 ABI_MCP_HTTP_TOKEN=local-secret \
  ./target/debug/abi-mcp
  • GET /sse opens a persistent session: event: endpoint names /message?sessionId=<id> (a random v4 UUID) and the stream stays open on its own thread (crates/abi-mcp/src/sse.rs).
  • POST /message?sessionId=<id> answers 202 with an empty body and publishes the JSON-RPC response as event: message, data byte-identical to stdio. Notifications queue no event. An unknown or closed session gets 404 before dispatch.
  • At most 16 sessions (503 beyond); a session ends on client disconnect or server stop, with a : keepalive after 15 s idle.
  • POST /message without a sessionId keeps the one-shot compatibility mode: one JSON-RPC message per connection, response directly over HTTP (200), and accepted notifications get 202 with an empty body.
  • A present Origin must identify localhost or 127.0.0.1 over HTTP(S).
  • The listener binds only to loopback.

ABI_MCP_HTTP_PORT=0, empty, malformed, or out-of-range environment values fall back to 8080. Direct Rust tests may still use HttpConfig { port: 0 } for an ephemeral listener.

Enforced protocol boundaries

BoundaryBehavior
Stdio physical line64 KiB maximum; one parse error, discard through newline, then recover
JSON nesting32-container maximum before JSON parse
String/field inputMiddleware applies its bounded field checks
NotificationOmitted id dispatches without a JSON-RPC response
Explicit id: nullInvalid request; omitted and null remain distinct
HTTP authOptional exact Bearer token via ABI_MCP_HTTP_TOKEN
HTTP+SSE sessionUnknown/closed session 404 before dispatch; more than 16 open 503
ShutdownEOF wakes and joins the actual bound HTTP listener

Frozen tool catalog

The twelve contract-tested tools are ai_run, ai_complete, ai_learn, ai_train, wdbx_query, scheduler_stats, scheduler_info, connector_test, gpu_status, plugin_list, wdbx_stats, and plugin_run. Do not change the catalog or tests/golden/mcp-tools-list.json as incidental transport cleanup.

Validation

ABI_WDBX_PATH=:memory: ABI_WDBX_PERSIST=0 ./tools/cargo.sh test -p abi-mcp
./tools/cargo.sh clippy -p abi-mcp --all-targets -- -D warnings
./tools/cargo.sh build -p abi-mcp

Tests and smokes must never open the user's live ~/.abi store.

Claim boundary

  • JSON-RPC stdio and the frozen twelve-tool catalog are contract-tested.
  • The loopback HTTP surface serves persistent MCP 2024-11-05 HTTP+SSE sessions, contract-tested against stdio bytes (transport_contract.rs), plus the one-shot direct-reply POST /message mode.
  • It is not Streamable HTTP (2025-03-26), WebSocket/gRPC streaming, a production non-loopback service, or a claim of TLS/authz/rate-limit completeness.

レビュー

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

コメント

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

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

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。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日 更新

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日 更新

Coordinate ABI codebase health, skill telemetry, bundled-plugin runtime checks, ABI Mega inventories, stable Rust 1.99.1 gates, and cross-CLI skill synchronization. Use for full ABI health reviews and claim-honest skill/plugin improvement cycles.

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

donaldfilimon/abi192026年10月27日 更新

donaldfilimon のスキルをすべて見る

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