Skip to content
cccskills
FreePublished on GitHub

abi-mcp-transport

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

The English summary is being prepared. Showing the original description.

donaldfilimon/abi19 stars(GitHub 19 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md3.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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.

The English summary is being prepared. Showing the original description.

donaldfilimon/abi19Updated Oct 27, 2026

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.

The English summary is being prepared. Showing the original description.

donaldfilimon/abi19Updated Oct 27, 2026

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.

The English summary is being prepared. Showing the original description.

donaldfilimon/abi19Updated Oct 27, 2026

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.

The English summary is being prepared. Showing the original description.

donaldfilimon/abi19Updated Oct 27, 2026

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

The English summary is being prepared. Showing the original description.

donaldfilimon/abi19Updated Oct 27, 2026

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.

The English summary is being prepared. Showing the original description.

donaldfilimon/abi19Updated Oct 27, 2026

See all skills by donaldfilimon

Report a problem with this skill