# Railway

> Railway 官方插件，打包 use-railway 技能与托管 Railway MCP，让 agent 创建项目、部署服务、配置环境变量与数据库，并查看日志指标、排查部署故障。需要 Railway 账号。

- 类型：Plugin
- 仓库：https://github.com/railwayapp/railway-skills/tree/main/plugins/railway
- 页面：https://hebbmind.com/zh-CN/plugin/railway
- Stars：326
- 适用职业：[全栈 / 独立开发](https://hebbmind.com/zh-CN/tools.md?profession=fullstack)、[后端开发](https://hebbmind.com/zh-CN/tools.md?profession=backend)、[运维 / SRE](https://hebbmind.com/zh-CN/tools.md?profession=devops)
- 标签：部署、云服务、railway、paas
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
claude plugin install railway@claude-plugins-official
```

## README

> 以下内容来自上游仓库 https://github.com/railwayapp/railway-skills/tree/main/plugins/railway ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

# Railway

Deploy, configure, monitor, and troubleshoot apps and infrastructure on
[Railway](https://railway.com) from your coding agent.

## What's included

- **`use-railway` skill**: routes Railway requests to the right workflow:
  creating projects and services, deploying code, configuring environments,
  variables, and domains, provisioning databases and buckets, reading logs and
  metrics, and debugging failed builds or deployments.
- **Railway MCP server**: Railway's hosted MCP server at
  `https://mcp.railway.com`, authenticated with your Railway account over
  OAuth.

## Getting started

1. Install the plugin.
2. Connect your Railway account when prompted. If you don't have one, sign-in
   creates it.
3. Try a starter prompt:
   - "Deploy this app to Railway"
   - "Check the Railway status for this project"
   - "Debug my latest failed Railway deployment"

## Optional: Railway CLI

The hosted MCP server covers most platform operations without any local
install. For workflows that need your local machine, such as deploying the
current directory, SSH, or database analysis scripts, install the
[Railway CLI](https://docs.railway.com/cli):

```bash
curl -fsSL agents.railway.com | sh
```

The database analysis scripts also require `python3`.

## Links

- [Railway agent docs](https://docs.railway.com/agents)
- [Source](https://github.com/railwayapp/railway-skills)
- [Privacy policy](https://railway.com/legal/privacy)
- [Terms of service](https://railway.com/legal/terms)

