每台设备存放明文密钥
- 原始 Railway Token 被复制到本地配置文件
- 每位成员在每台电脑都需要重复安装配置
- 每次对话都要注入数十个工具 Schema 占满上下文
一次连接,随时一键吊销
- 每团队独立信封加密保存凭证
- 本地磁盘与大模型提示词中零明文密钥
- 全团队共享同一个远程 MCP 端点
set up https://duang.ai/SKILL.md
可以让智能体这样提问
“Show me the projects in our Railway workspace.”
## Projects in your Railway workspace | Project | Environments | Services | |---|---|---| | **acme-platform** | production, staging | web, api | | **acme-docs** | production | docs | Two projects and three services in all. **acme-platform** is the larger one, with two environments. Want me to show the latest deployment of any of them?
projects“Why did the last deployment of api fail? Look at its logs.”
## Why the last deployment failed It crashed on startup because it **could not reach its database**. 1. 09:14:02 The container started and ran `node dist/server.js` 2. 09:14:05 `connect ECONNREFUSED 10.0.0.5:5432`: the database refused the connection 3. 09:14:08 It gave up after 3 retries 4. 09:14:08 The container exited with code 1 **Likely cause:** nothing is accepting connections at 10.0.0.5:5432, so the database service is stopped, or the address the app uses is wrong. Want me to check that the database service is running?
deployment-logs全部操作(334)
| 操作 | 价格 |
|---|---|
POST backboard.railway.com/graphql/v2:Mutation.baseEnvironmentOverrideSets the base environment override for a deployment trigger. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.canvasViewMergeMerge a canvas layout from one environment into another. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectGet a project by ID | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectClaimClaims a project. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectClearanceDefaultUpdateSets whether environments created from now on start with Railway Authentication protecting services that have no setting of their own. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectComplianceGet comprehensive compliance information for a project including 2FA status, member permissions, backup schedules, and compliance… | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectCreateCreates a new project. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectDeleteDeletes a project. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectFavoriteSetStar or unstar a project for the authenticated user. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectFavoritesThe authenticated user's favorited project ids in a workspace, in the order the Favorites row should render them. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectInvitationCreateCreate an invitation for a project | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectInvitationDeleteDelete an invitation for a project | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectInvitationResendResend an invitation for a project | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectInvitationsGet invitations for a project | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectLeaveLeave project as currently authenticated user | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectMemberAddAdd a workspace member to a project with a specific role. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectMemberRemoveRemove user from a project | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectMemberUpdateChange the role for a user within a project | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectMembersGets users who belong to a project along with their role | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectResourceAccessGet resource access rules for project-specific actions | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectScheduleDeleteDeletes a project with a 48 hour grace period. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectScheduleDeleteCancelCancel scheduled deletion of a project | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectScheduleDeleteForceForce delete a scheduled deletion of a project (skips the grace period) | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectServiceUsageGet paginated usage grouped by project and service for a workspace. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectTransferTransfer a project to a workspace | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectTransferConfirmConfirm the transfer of project ownership | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectTransferInitiateInitiate the transfer of project ownership | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.projectUpdateUpdates a project. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectWorkspaceMembersGet workspace members for a project with 2FA details | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectsGets all projects for a user or workspace. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.projectsByIdsFetch multiple projects by id. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.serviceGet a service by ID | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceCreateCreates a new service. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceDeleteDeletes a service. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.serviceInstanceGet a service instance belonging to a service and environment | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.serviceInstanceAutoDeployStatusReturns the auto-deploy status for a service instance, including whether it can be enabled. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceAutoDeployUpdateEnables or disables auto-deploy for a service instance. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceAutoUpdateScheduleUpdateUpdate the auto-update maintenance window for a service instance, applied immediately (no config staging, no redeploy). | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceAutoUpdateSnoozeSkip the next scheduled auto-update for a service instance. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceAutoUpdateSnoozeClearUndo an active auto-update skip for a service instance, applied immediately (no config staging, no redeploy). | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceClearanceUpdateSets a service instance's own Railway Authentication setting: on, off, or none (follow the environment's default). | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceDeployDeploy a service instance | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceDeployV2Deploy a service instance. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.serviceInstanceIsUpdatableCheck if the upstream repo for a service has an update available | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.serviceInstanceLimitOverrideGet the service instance resource limit overrides (null if no overrides set) | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.serviceInstanceLimitsGet the merged resource limits for a service instance (includes plan defaults) | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceLimitsUpdateUpdate the resource limits for a service instance | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceRedeployRedeploy a service instance | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceUpdateUpdate a service instance | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceVulnRemediationDismissDismiss a pending database security update and cancel its scheduled redeploy. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceInstanceVulnRemediationPatchNowApply a pending database security update now (backup, then redeploy). | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.serviceUpdateUpdates a service. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.environmentFind a single environment | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.environmentChangeSetApplyReturns the status or completed result of an asynchronous RailwayChangeSet apply. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.environmentClearanceDefaultUpdateSets whether Railway Authentication protects an environment's services that have no setting of their own, and pushes it to them. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.environmentCreateCreates a new environment. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.environmentDeleteDeletes an environment. | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.environmentHasLegacyStaticEgressWhether any service in the environment is on legacy static egress (not HA). | 自备 Key |
POST backboard.railway.com/graphql/v2:Query.environmentHistorySettled history for an environment (system events + terminal operations), newest first. | 自备 Key |
POST backboard.railway.com/graphql/v2:Mutation.environmentIacPartialReleaseRelease resources from a named IaC partial without deleting, redeploying, or changing them. | 自备 Key |
常见问题
如何在 Claude Code 或 Cursor 中接入 Railway?
通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 Railway 全部 334 个操作,无需本地维护 MCP 插件或明文密钥。
通过 Duang 接入 Railway 需要额外付费吗?
团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。
我的 Railway 密钥会暴露给大模型吗?
不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。


