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>
18 lines
357 B
JSON
18 lines
357 B
JSON
{
|
|
"name": "railyard",
|
|
"version": "0.1.0",
|
|
"description": "Deploy to your own Cloudflare account, list and roll back deploys, and read visitor numbers from your coding agent.",
|
|
"author": {
|
|
"name": "Railyard"
|
|
},
|
|
"mcpServers": {
|
|
"railyard": {
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"railyard-mcp"
|
|
]
|
|
}
|
|
}
|
|
}
|