cmd/mcp

A project-specific guide for exposing a Go application's databases and workflows through MCP, the Model Context Protocol used by AI applications to call tools. It describes JSON-RPC communication over standard input and output.

In plain words
What is it for?
Use it when implementing or maintaining native MCP bindings, JSON-RPC over STDIO, and configuration-controlled access to the application's services.
Why use it?
It helps keep AI access subject to the same configuration and infrastructure rules as human administrators, including the project's database and workflow environments.

Skill for Claude CodeCodex

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 skills/quantdiy/gerp/mcp
Any agent
npx skills add quantDIY/GERP --skill mcp
Clone the repo
git clone --depth 1 https://github.com/quantDIY/GERP

Made for: Claude Code, Codex.

Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 243 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.00043 $0.00243
Opus 5 $0.00022 $0.00121
Sonnet 5 $0.00009 $0.00049
Haiku 4.5 $0.00004 $0.00024

Measured yesterday against content hash 5e7b33dae394, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cmd/mcp 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 yesterday.

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.

cmd/mcp/SKILL.md · 19 lines

What it actually says

Model Context Protocol Server (cmd/mcp & internal/mcp)

This module builds the AI Brain Interface for GERP. It exposes the FAANG-grade architecture via the official Model Context Protocol (MCP) using JSON-RPC over STDIO. This allows AI Swarms (like Claude, Gemini, or custom orchestrators) to securely interact with the physical databases and Temporal Sagas autonomously.

Constraints

  • STDIO Transport: All data is structured over standard input/output streams natively.
  • Config Bound: The server strictly utilizes cli.InitConfig() to guarantee the AI agent is subject to the identical Spanner and Temporal environments as human sysadmins.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 19 lines · 43 tokens per session scan A 5e7b33dae394

Subscribe to this mod's changes

cmd/mcp is a skill published in the GitHub repository quantDIY/GERP (3 stars, last pushed 5mo ago), licensed MIT. It adds 43 tokens to every session and 243 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

comms-context

Fetch on-call and discussion context from Slack threads and PagerDuty incidents — participants, timeline, and status. Auto-loads on Slack permalinks or PagerDuty incident references. Keywords — Slack, thread, PagerDuty, on-call.

lugassawan/swe-workbench · 51 tokens

octo-drive

Octo Drive — spaces, folders, file upload/download, online-document mounts, share links, invites, IM-attachment transfer. Works with a bot token or a user API key; the CLI routes by token kind. Load after octo-shared.

Mininglamp-OSS/octo-cli · 55 tokens

octo-mail

OCTO Agent Mail operations for reading, searching, policy-aware sending, preparing drafts, and checking delivery status exclusively through octo-cli.

Mininglamp-OSS/octo-cli · 32 tokens

octo-docs

Docs domain — create and govern documents, read and incrementally edit a doc's live body, read and batch-edit spreadsheet cells (dims + images), read and batch-edit whiteboard scenes, members and sharing, inline comments, versions/snapshots, and attachment metadata as a bot. Load after octo-shared.

Mininglamp-OSS/octo-cli · 69 tokens

neohaskell-change

Stage playbook for executing steps of the change formula v2 (ADR-0075) — the 5-step molecule that takes a request from spec to merged PR. Use when claiming or executing any bead poured from the change formula (spec, spec-approval, build, verify, pr), when parking a stuck step, or when recording a spec approval. Covers…

neohaskell/NeoHaskell · 134 tokens

cymbal

Tree-sitter indexed code navigator. Use the cymbal CLI — not Read, Grep, Glob, or Bash — for finding where symbols are defined, tracing callers and callees, locating interface implementations, understanding the impact of a change, and mapping imports across an existing codebase. Returns precise, token-efficient…

1broseidon/cymbal · 89 tokens