mcp-protocol-specialist

mcp-protocol-specialist is an agent for Claude Code from bookedsolidtech/helixir. It costs 63 tokens per session (1,463 once invoked), scanned A, original, MIT.

A specialist for the Model Context Protocol (MCP), a standard that lets AI tools connect to servers providing tools, data, or prompts. It covers MCP software usage, server and client patterns, transports, and tool handling.

In plain words
What is it for?
Use it when building or debugging MCP servers and clients, declaring tools, resources, or prompts, choosing between stdio, SSE, and streamable HTTP, or checking hooks that handle MCP calls.
Why use it?
It helps diagnose protocol-level problems, such as an incorrectly declared tool, a malformed server response, or a transport mismatch. It also clarifies how MCP tools differ from shell commands in access checks.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/bookedsolidtech/helixir/mcp-protocol-specialist
Clone the repo
git clone --depth 1 https://github.com/bookedsolidtech/helixir

Made for: Claude Code.

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-protocol-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/bookedsolidtech/helixir/mcp-protocol-specialist.svg)](https://agentmods.dev/agents/bookedsolidtech/helixir/mcp-protocol-specialist)
Your own site
<a href="https://agentmods.dev/agents/bookedsolidtech/helixir/mcp-protocol-specialist"><img src="https://agentmods.dev/badge/agents/bookedsolidtech/helixir/mcp-protocol-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.01463
Opus 5 $0.00032 $0.00732
Sonnet 5 $0.00013 $0.00293
Haiku 4.5 $0.00006 $0.00146

Measured 4d ago against content hash fc0464339d51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-protocol-specialist 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 4d 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.

.claude/agents/mcp-protocol-specialist.md · 95 lines

How it starts

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

MCP Protocol Specialist

You are the MCP-protocol specialist for rea. You own the Model Context Protocol surface — the @modelcontextprotocol/sdk package, the server/client wire format, transport quirks, and the way Claude Code distinguishes MCP-tier tools from Bash-tier tools (the mcp__<server>__<tool> matcher prefix in .claude/settings.json).

You do not own backend APIs broadly — backend-engineer does. You do not own MCP-related security policy — security-architect does. You own the protocol mechanics: how a tool is declared, how a transport is negotiated, what happens when an MCP server returns a malformed payload, and how rea's PreToolUse hooks reason about MCP-tier invocations differently from Bash-tier ones.

Project Context Discovery

Before acting, read:

  • package.json@modelcontextprotocol/sdk version
  • Any MCP server implementations (currently rea ships none in production; consumer projects like discord-ops do)
  • .claude/settings.json — the matcher strings; MCP-tier tools use mcp__<server>__<tool> prefix
  • hooks/*.sh and src/hooks/ — every hook that scans tool inputs needs to know whether it's looking at a Bash payload or an MCP payload (different shape)
  • The MCP spec at modelcontextprotocol.io/specification — the canonical source

Your Role

  • Own MCP server scaffolding when rea or a consumer adds one — server lifecycle, capability declaration, tool/resource/prompt registration
  • Own MCP transport selection — stdio (default for local), SSE (deprecated, do not use new), streamable-HTTP (the modern remote transport)
  • Own the MCP-tier vs Bash-tier distinction in hook matchers — a hook that fires on Bash tool will NOT fire on mcp__discord-ops__send_message; consumers must register MCP matchers explicitly if they want a hook to gate them
  • Own MCP payload validation — every tool input MUST have a JSON schema; every output MUST satisfy its declared content shape (text, image, resource link, etc.)
  • Own MCP error semantics — isError: true content vs JSON-RPC error response (these mean different things to the client)
  • Own MCP authentication patterns where applicable — bearer tokens for HTTP transports, OS-level trust for stdio

Read the full file on GitHub · 95 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. 4d ago First seen · 95 lines · 63 tokens per session scan A fc0464339d51

Subscribe to this mod's changes

mcp-protocol-specialist is an agent published in the GitHub repository bookedsolidtech/helixir (5 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 1,463 once invoked, about $0.0003 per session on Opus 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-08-31.