abi-mcp-transport

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

A validation guide for ABI's JSON-RPC transport over standard input and its optional local HTTP compatibility endpoint. JSON-RPC is a structured format for sending requests and responses between programs.

In plain words
What is it for?
Use it to test the MCP server over standard input, inspect its local server and server-sent event sessions, and verify request and shutdown behavior.
Why use it?
It helps catch incorrect assumptions about authentication, request limits, notifications, sessions, shutdown, and the HTTP protocol version actually supported.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./tools/cargo.sh build -p abi-mcp.

Good fit Use it to test the MCP server over standard input, inspect its local server and server-sent event sessions, and verify request and shutdown behavior.

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/abi-mcp-transport

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 abi-mcp-transport

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/donaldfilimon/abi/abi-mcp-transport"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/abi-mcp-transport.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 980 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.00033 $0.00980
Opus 5.5 $0.00013 $0.00392
Sonnet 5.5 $0.00007 $0.00196
Haiku 4.5 $0.00003 $0.00098

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

Security

Grade A, and why

abi-mcp-transport 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.

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/abi-mcp-transport/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Boundary Behavior
Stdio physical line 64 KiB maximum; one parse error, discard through newline, then recover
JSON nesting 32-container maximum before JSON parse
String/field input Middleware applies its bounded field checks
Notification Omitted id dispatches without a JSON-RPC response
Explicit id: null Invalid request; omitted and null remain distinct
HTTP auth Optional exact Bearer token via ABI_MCP_HTTP_TOKEN
HTTP+SSE session Unknown/closed session 404 before dispatch; more than 16 open 503
Shutdown EOF wakes and joins the actual bound HTTP listener

Read the full file on GitHub · 92 lines

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 · 92 lines · 33 tokens per session scan A d0e72939c6dd

Subscribe to this mod's changes

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

abi-mcp-transport compared with skills from other repositories

abi-mcp-transport next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
abi-mcp-transportdonaldfilimon/abiSkill185d agoApache-2.0A33Claude Code, Codex
bun-file-iosynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A49Claude Code, Codex
protocolsio-integrationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0B85Claude Code, Codex
clinical-reportssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A71Claude Code
imaging-data-commonssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A62Claude Code, Codex
clinical-decision-supportsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A97Claude Code
clinical-imagingsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A69Claude Code, Codex