caelum0x f32e27244f feat(mcp): Railyard MCP server and agent skill (RYP-D5, Y-5)
railyard-mcp (stdio, MCP TypeScript SDK) with seven tools, all marked
read-only for the agent:
- deploy.run returns the exact npx railyard deploy command (login first
  when signed out); the deploy itself runs on the user's machine.
- deploy.list and usage.current read the console API with the org
  token saved by railyard login; a token only ever sees its own org.
- insights.summary and insights.funnel say no_data_yet until an
  Insights query store is configured (RYP-D2), then pass its numbers.
- flags.list reports arriving and lists nothing.
- gateway.traces reads /relay/traces (RY-RL3) with the gateway key in the
  environment; Relay limits it to that key's own calls.
Arguments are schema-checked; errors are explicit, never an empty
success; no token appears in any output.

packages/skills: a Claude Code plugin (manifest starting railyard-mcp)
with a railyard skill (deploy, Cloudflare login in the browser, rollback,
no invented numbers) and a README.

Tests: annotation linter over tools/list, org A/B isolation against the
real console token and deploy code, signed-out and expired paths,
insights and gateway paths, a stdio round trip, and the copy lint over
both READMEs, the skill and every tool string.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:35:39 +03:00
..

Railyard plugin for coding agents

One skill and one MCP server so a coding agent can deploy a project to the user's own Cloudflare account, list and roll back deploys, and answer "how many people used it" from real numbers.

Install

Claude Code, from this folder:

claude plugin install ./packages/skills

Or add the MCP server alone:

claude mcp add railyard -- npx -y railyard-mcp

Then sign in once in a terminal:

npx railyard login

What is inside

  • skills/railyard/SKILL.md: when to deploy, how to handle the Cloudflare login in the browser, what to say when there is no data yet.
  • .claude-plugin/plugin.json: the plugin manifest; it starts railyard-mcp.

The tools are listed in packages/mcp/README.md. All of them are read-only for the agent; the deploy itself runs as a command on the user's machine.