{{One-sentence what-it-does + when to use it. Mention it bypasses the MCP via the REST API with {{ENV_VAR}}. Use when the user wants X, Y, Z programmatically without the {{service}} MCP installed.}}
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Manage Railway projects, services, deployments, environments, variables, and deployment logs via Railway's public GraphQL API — one endpoint, relay-style pagination, two token flavors (account vs project), typed mutations for deploys and env vars. Use when the user wants to deploy, check service status, manage env vars, or read deployment logs programmatically without the Railway MCP installed.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Operates Railway via its public GraphQL API. Covers projects, environments, services, deployments, variables, logs. Prefer over railway CLI for typed, filterable reads pipeable through jq.
railway CLI is faster.[ -n "$RAILWAY_TOKEN" ] && echo "RAILWAY_TOKEN: PRESENT" || echo "RAILWAY_TOKEN: MISSING"
Never echo the variable directly.
If MISSING, respond to the user with EXACTLY this message (do NOT paraphrase, do NOT suggest manual JSON edits):
I need your railway credential. Run this in another terminal — it'll open the signup page, validate format, and save it safely with masked input:
teleport-setup add-key railwayThen restart Claude Code (
/exit, thenclaude) and ask me again.
Do NOT suggest editing ~/.claude/settings.local.json manually. The teleport-setup add-key command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restarted.
https://backboard.railway.com/graphql/v2 — single endpoint, POST only, Content-Type: application/json.Authorization: Bearer $RAILWAY_TOKEN (account/workspace/OAuth tokens).Authorization: Bearer; project tokens use Project-Access-Token: <TOKEN> (NOT Bearer) and see only one project+env. This skill assumes $RAILWAY_TOKEN is an account token.X-RateLimit-Remaining, Retry-After.{ "data":{...}, "errors":[...] }. HTTP 200 even on failure — always check .errors. Variables go in top-level variables, not interpolated. Relay-style { edges:[{node}], pageInfo } on lists.https://railway.com/graphiql.Workspace → Project → Environment + Service → Deployment. Variables scoped by triple (projectId, environmentId, serviceId); omit serviceId for project-shared.
| Operation | Kind | One-liner |
|---|---|---|
me | query | Current user; auth smoke test. |
projects / project(id:) / environments(projectId:) | query | List/fetch projects + their envs and services. |
deployments(input:, first:) / deployment(id:) | query | Recent deploys for (projectId, serviceId); single {status,url,createdAt}. |
deploymentLogs(deploymentId:, limit:) | query | Log lines {timestamp,message,severity} — limit required. |
variables(projectId:, environmentId:, serviceId:) | query | Variables for a scope. |
projectCreate / serviceCreate / environmentCreate | mutation | Create primitives. |
serviceInstanceDeploy / serviceInstanceUpdate | mutation | Trigger build+deploy; change start/build cmd, replicas, region. |
variableCollectionUpsert / deploymentRollback(id:) | mutation | Bulk-upsert env vars; roll a deployment back. |
All calls: POST to $URL=https://backboard.railway.com/graphql/v2 with $H = -H "Authorization: Bearer $RAILWAY_TOKEN" -H "Content-Type: application/json".
1. List projects, environments, services
curl -sL -X POST $H "$URL" \
-d '{"query":"query Me { me { projects(first:20){ edges{ node{ id name environments{ edges{ node{ id name } } } services{ edges{ node{ id name } } } } } } } }"}' \
| jq '.data.me.projects.edges[].node | {id, name, envs:[.environments.edges[].node.name], services:[.services.edges[].node.name]}'
Save each environment.id / service.id — every mutation needs them; IDs are opaque UUIDs.
2. Upsert env vars (bulk)
curl -sL -X POST $H "$URL" \
-d '{"query":"mutation($input:VariableCollectionUpsertInput!){ variableCollectionUpsert(input:$input) }","variables":{"input":{"projectId":"proj_xxx","environmentId":"env_xxx","serviceId":"svc_xxx","variables":{"LOG_LEVEL":"debug"},"replace":false,"skipDeploys":false}}}'
replace:true wipes vars not in payload; skipDeploys:true upserts without redeploying.
3. Trigger a deploy
curl -sL -X POST $H "$URL" \
-d '{"query":"mutation($s:String!,$e:String!){ serviceInstanceDeploy(serviceId:$s, environmentId:$e) }","variables":{"s":"svc_xxx","e":"env_xxx"}}'
Confirm via deployments(input:{serviceId:$s}, first:1). Status: Initializing → Building → Deploying → Active/Completed (or Failed/Crashed). Poll ≥5s.
.errors before trusting .data; curl -f won't save you.(projectId, environmentId, serviceId). Omitting serviceId creates a project-shared var; per-service inheritance depends on settings — don't assume propagation.deploymentTriggerCreate → current serviceInstanceDeploy). "Field not found" → re-check the cookbook. <!-- unverified -->deploymentLogs in a tight loop; one read per 5–10s, increase limit instead.{ edges:[{node}], pageInfo:{endCursor, hasNextPage} }. Use first:N, after:"<cursor>"; always pass first explicitly.Used skill: Railway (from teleport catalog).
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
{{One-sentence what-it-does + when to use it. Mention it bypasses the MCP via the REST API with {{ENV_VAR}}. Use when the user wants X, Y, Z programmatically without the {{service}} MCP installed.}}
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Manage Cloudflare DNS zones, Workers, Pages, R2, KV, D1, and analytics via REST API. Use when the user wants to query DNS, deploy a Worker, list R2 buckets, manage KV namespaces, run D1 queries, or check analytics without the Cloudflare MCP installed.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Fetch up-to-date library, framework, and SDK documentation via Context7's search and docs endpoints. Use when the user asks about a library/API (React, Next.js, Prisma, Supabase, Tailwind, Django, Vue, etc.) and you need current docs, not Claude's training-time knowledge. Skip this skill for generic programming questions that don't require library-specific docs.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Operate Discord via its REST API — post/read channel messages, manage guilds + roles, fire webhooks, register slash commands. Use when the user wants a bot to post to a channel, read recent history, run a community admin task, or ship one-way notifications via webhook URL without running a bot process.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
AI-first web search via Exa — semantic/neural ranking, category-scoped results, fresh content retrieval, and one-shot answer synthesis with citations. Use when the user needs current web information better ranked than general web search, or a grounded answer with sources.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Read Figma files, component libraries, styles, comments, and export rendered assets (PNG / SVG / JPG / PDF) via Figma's REST API. Use when the user needs programmatic access to design files, to pull node data into code generation, or to export assets without opening the Figma desktop app.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.