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>