mcp

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

A guide to building and changing an MCP server. MCP, or Model Context Protocol, is a standard way for an AI application to discover and call tools; this server uses JSON-RPC over standard input and output, with an optional local HTTP listener.

In plain words
What is it for?
Use it when adding or modifying abi-mcp tools, request validation, transport handling, or middleware.
Why use it?
It documents the fixed tool names, input limits, transports, and middleware rules so changes do not accidentally break clients. It also clarifies the server's startup and shutdown behavior.

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 Codex; mentions OpenCode.

Good fit Use it when adding or modifying abi-mcp tools, request validation, transport handling, or middleware.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/donaldfilimon/abi/mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/donaldfilimon/abi/mcp"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 886 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00045 $0.00886
Opus 5.5 $0.00018 $0.00354
Sonnet 5.5 $0.00009 $0.00177
Haiku 4.5 $0.00005 $0.00089

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

Security

Grade A, and why

mcp scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Global MCPs standardized: .cursor/mcp.json, .claude.json, ~/.grok/config.toml [mcp_servers.*], ~/.config/opencode/opencode.jsonc — core: abi-mcp (via /.../abi/mcp/launcher.sh stdio), [email protected], context7, fetch(u
.agents/skills/mcp/SKILL.md · 44 lines

How it starts

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

mcp

Entry point for the abi MCP server (crates/abi-mcp/src/). Routes to specialists:

You want to… Use
Smoke-test abi-mcp + verify the 12-tool contract mcp-smoke
Deep-dive the MCP superpower abi-superpower-mcp
Transport / middleware / protocol limits detail abi-mcp-transport

Frozen contract (do not change without a parity/contract-test update)

  • 12 tools, in source order: ai_run, ai_complete, ai_learn, ai_train, wdbx_query, scheduler_stats, scheduler_info, connector_test, gpu_status, plugin_list, wdbx_stats, plugin_run.
  • protocol.MAX_REQUEST_SIZE = 64 KB; MAX_JSON_DEPTH = 32; per-field 16 KB cap in crates/abi-mcp/src/middleware.rs (declarative validation before dispatch).
  • Frozen enums: connector_test tool arg service ∈ {openai, anthropic, discord, twilio, grok}; ai_train tool arg format ∈ {jsonl, csv, text}.

Honest boundary

Stdio exits on stdin EOF (not a long-lived daemon). Startup also attempts the custom loopback listener (127.0.0.1:8080 by default, configured with ABI_MCP_HTTP_PORT / ABI_MCP_HTTP_TOKEN); bind failure leaves stdio running. GET /sse opens a persistent MCP 2024-11-05 HTTP+SSE session whose POST /message?sessionId=<id> responses arrive as SSE message events (202 on the POST; unknown session 404; at most 16 sessions), while POST /message without a session keeps the one-shot direct-reply mode. It is not Streamable HTTP (2025-03-26), and non-loopback serving is not supported. Rust handlers return bounded JSON-RPC errors without exposing internal error chains.

Client registrations (cleaned 2026-09): consistent across grok/claude/codex/opencode/cursor + abi project scopes. Use launcher for abi-mcp everywhere. See opencode and help skills for the exact current lists.

Finalized state (2026-09-16)

  • Best options: central only ~/.grok/skills + launch.sh sync (idempotent, 0 on re-run); donald-mode; bot-repo authority separate (abbey-bot etc); permission fixes in opencode.jsonc + .grok/config.toml; key comments (GITHUB_TOKEN="", disabled with # requires KEY).
  • Global MCPs standardized: .cursor/mcp.json, .claude.json, ~/.grok/config.toml [mcp_servers.*], /.config/opencode/opencode.jsonc — core: abi-mcp (via /.../abi/mcp/launcher.sh stdio), [email protected], context7, fetch(uvx), filesystem(/.abi/), github(unauth), memory, playwright. (4 more disabled w/ comments).
  • Verifs: central sync-clis.py --dry-run = "0 actions/changes"; abi in-repo .agents/skills/sync-clis/launch.sh --dry-run (separate mech); mcp-smoke.sh = "RESULT: PASS — 12/12"; configs parse clean; no drift (timestamps match, dry=0); key files re-read (abs paths).
  • Maintain: ALWAYS edit only central ~/.grok/skills/* (or .grok/config.toml for grok MCPs); run sync; never hand-edit copies. Abbey-bot/others: own AGENTS/CLAUDE, separate.
  • No loose ends. All per context + final re-checks.

Read the full file on GitHub · 44 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 · 44 lines · 45 tokens per session scan A e87530db7c29

Subscribe to this mod's changes

mcp is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 45 tokens to every session and 886 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

mcp compared with skills from other repositories

mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcpdonaldfilimon/abiSkill185d agoApache-2.0A45Claude 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