helixir: Agent for Claude Code

.claude/agents/mcp-protocol-specialist.md

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

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions Claude Code.

This is bookedsolidtech/helixir's own configuration. It tells Claude Code how to work on helixir itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything helixir configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bookedsolidtech/helixir. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bookedsolidtech/helixir/main/.claude/agents/mcp-protocol-specialist.md
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/github.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/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-protocol-specialist

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00063 $0.01463
Opus 5.5 $0.00025 $0.00585
Sonnet 5.5 $0.00013 $0.00293
Haiku 4.5 $0.00006 $0.00146

Measured 2mo ago against content hash fc0464339d51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 4mo ago), licensed MIT. It adds 63 tokens to every session and 1,463 once invoked, about $0.0003 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-08-31.

Related

Other agents, from other repositories

django-fastapi-expert

Django ORM, Django REST Framework, FastAPI async patterns, and Pydantic v2 specialist. Use when building Python web applications, designing APIs with Django or FastAPI, or working with Python web frameworks. Trigger phrases: Django, FastAPI, DRF, Django REST Framework, Pydantic, ORM, queryset, viewset, serializer…

travisjneuman/.claude · 86 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

rust-expert

Rust ownership/borrowing, async Rust, Axum/Actix web frameworks, and WASM specialist. Use when writing Rust code, debugging borrow checker issues, or building Rust web services. Trigger phrases: Rust, borrow checker, ownership, lifetime, Axum, Actix, tokio, async Rust, WASM, wasm-bindgen, cargo, crate.

travisjneuman/.claude · 78 tokens

auth-specialist

OAuth 2.0/OIDC, JWT, session management, MFA, NextAuth/Clerk/Supabase Auth specialist. Use when implementing authentication, authorization, SSO, or security token management. Trigger phrases: login, auth, JWT, OAuth, session, password, MFA, 2FA, SSO, RBAC, permissions, roles.

travisjneuman/.claude · 76 tokens

api-designer

Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.

travisjneuman/.claude · 31 tokens

api-integration-specialist

Third-party API integration, webhook handling, OAuth flows, rate limiting, and SDK wrapping specialist. Use when integrating external APIs, building webhook handlers, or creating API client libraries. Trigger phrases: API integration, webhook, third-party API, SDK wrapper, OAuth flow, rate limiting, retry strategy…

travisjneuman/.claude · 74 tokens