# Railway 發布 Grok Bot plugin，整合 MCP 與 OAuth 管理基礎設施

> 📖 本站完整內容索引（documentation index）：[llms.txt](/llms.txt)

> 原作者：Railway (@Railway) · 策展與摘要：EasyVibeCoding · 平台：X (Twitter) · 熱度：🔥🔥🔥 · 日期：2026-08-28

> 原始來源：https://x.com/Railway/status/2093022975964713199

## 證據與延伸閱讀

- [Railway 發布 Grok Bot plugin，整合 MCP 與 OAuth 管理基礎設施。](https://docs.railway.com/ai/grok-bot-plugin) — 官方文件 · 最後核對：2026-08-28 · 支持主張：Adds a documented install/authentication flow, support for multiple Railway accounts, and bot workflows for deployments, configuration, monitoring, troubleshooting, usage summaries, and release coordination.
- [Bot 可協助處理部署與基礎設施管理](https://x.com/Railway/status/2093022975964713199)
- [影片展示設定與部署流程並已開源](https://video.twimg.com/amplify_video/2093008211599364096/vid/avc1/1280x720/x2MzjWVo1-zTnm4L.mp4?tag=29)

## 中文摘要

Railway 發布 Grok Bot plugin，整合 MCP 與 OAuth 管理基礎設施。

這項功能已提供安裝、授權與多帳號設定流程，但官方未說明價格、可用性限制或權限範圍。

**功能與定位** Railway 表示，使用者可以讓 Grok Bot 協助處理部署、基礎設施管理、應用程式除錯與監控，並建立自動化 Railway 工作流程。plugin 內含兩個主要元件：

- `use-railway` skill：提供 Railway 專用的設定、部署、組態與營運流程。
- 託管式 Railway MCP server：透過 OAuth 提供已驗證的 Railway 專案與基礎設施存取能力。

實際工作情境包括建立應用程式部署、從應用程式收集的日誌中查詢效能資料、每日產生使用量摘要，以及協調多個 Bot 之間的版本發布。

**安裝與授權** 官方文件列出以下操作順序，可參考[Railway Docs 官方頁面](https://docs.railway.com/ai/grok-bot-plugin) ：

1. 啟動 Grok Bot。
2. 開啟 plugins 介面。
3. 在搜尋欄輸入 `railway`。
4. 在結果中找到 Railway plugin，按下旁邊的 `Add`。
5. 在 Grok Bot 開啟 Railway plugin 頁面。
6. 進入 `Accounts`，在預設帳號旁按下 `Authenticate`。
7. 瀏覽器開啟後，完成 Railway OAuth 流程。
8. 若要連結多個 Railway 帳號，按下 `Add Another Account`，再分別完成每個帳號的授權。

完成 OAuth 後，使用者即可在對話中提出部署、設定、監控或疑難排解需求；若連結多個帳號，仍需檢查目前選用的帳號，避免操作到錯誤的 Railway 資源。

**安全與驗證範圍** 這項設計把基礎設施操作搬進 Bot 對話，降低執行部署與日常維運的操作門檻，但來源沒有交代 OAuth 的實際權限範圍、是否限制可用帳號或 plugin 是否收費，因此不應將它解讀為全面且無限制的存取。附帶影片展示了在 plugins 設定中搜尋並安裝 Railway plugin、開啟 Railway OAuth 授權頁面，再透過 Bot 查詢最近部署與連線日誌的流程；不過這類視覺展示無法獨立證實後端授權行為。Railway 另稱 plugin 已開源於 Railway skills repository。

<video src="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/1787890840335-u5bblom0.mp4" poster="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/0faa919363a4f317.jpg" controls playsinline preload="metadata" style="max-width:100%;height:auto;display:block;margin:1rem 0"></video>
> 示範在 Grok Bot 的 plugins 設定中搜尋並安裝 Railway plugin、開啟 Railway OAuth 授權頁面，並在對話中查詢最近部署與連線日誌的流程。

## 媒體內容

**示範在 Grok Bot 的 plugins 設定中搜尋並安裝 Railway plugin、開啟 Railway OAuth 授權頁面，並在對話中查詢最近部署與連線日誌的流程。**

**影片中的 Prompt 與操作**

操作步驟：

1. （00:15）開啟 plugins 設定介面
2. （00:18）在搜尋列輸入 railway
3. （00:21）點擊 Railway plugin 的 Add 按鈕
4. （00:32）點擊 Authenticate 按鈕進行驗證

**逐字稿**

- `00:00` 嗨，各位朋友，（Hello friends,）
- `00:01` 我要示範如何把 Railway 加入 GrokBot，這樣你就能建立懂得如何在 Railway 完成各項工作的機器人，（I'm going to show you how you can get Railway brought into GrokBot so you can create bots that understand how to do everything in Railway,）
- `00:07` 從部署應用程式、疑難排解，到啟動新的應用程式，通通都能處理。（everything from deploying your applications to troubleshooting them to spinning up new applications.）
- `00:12` 我們來看看吧。（Let's check it out.）
- `00:13` 首先，我要開啟 GrokBot。（So first, I'm going to open up GrokBot.）
- `00:15` 我要往下進入 plugin。（I'm going to head down into plugins.）
- `00:16` 我們要設定 Railway plugin。（We're going to configure the Railway plugin.）
- `00:18` 我在這裡輸入 Railway。（So I'll type in Railway here.）
- `00:19` 可以看到它就在裡面。（We can see it's in there.）
- `00:20` 我要按下新增，這樣就會加入 plugin。（I'm going to hit add and this is going to go ahead and add the plugin.）
- `00:23` 這個 plugin 裡內建了遠端 MCP 伺服器，以及 Railway 的 skill，讓你可以存取我們為 Railway 各項功能發布的所有工具。（The plugin has the remote MCP server built into it as well as the Railway skills and this gives you access to all the tools that we publish out for all things Railway.）
- `00:31` 現在我們可以進去並進行驗證。（Now we can drop in and go ahead and authenticate.）
- `00:34` 我按下驗證，接著它會帶我進入我們為 Railway MCP 伺服器設定的 OAuth 流程。（I hit authenticate and it's going to take me into the OAuth flow that we have set up for the Railway MCP server.）
- `00:39` 這是遠端 MCP，因此它會取得使用者憑證，讓我們能用這些憑證驗證並登入 Railway 環境。（It's a remote MCP so this gets our user credentials in so we can use it to authenticate into our Railway environment.）
- `00:46` 我要進來。（I'm going to come in.）
- `00:47` 我要建立一個新的機器人。（I'm going to create a new bot.）
- `00:49` 我們建立一個新的。（We'll create a new one.）
- `00:50` 我要貼上一段我寫的簡單 prompt，設定它成為 Railway 工程師，協助我們管理所有部署作業，（I'm going to paste in just a simple prompt that I wrote around it being a Railway engineer who's going to help us go and manage all of our deployments,）
- `00:58` 包括疑難排解、效能，以及這個機器人內所有相關事項。（troubleshooting, performance, and everything about that inside of this bot.）
- `01:01` 我還叫它取一個有趣的名字，因為我就是這麼機靈。（I also told it to give itself a funny name because I'm clever like that.）
- `01:05` 所以它應該會自行命名，從現在起也會一直使用這個身分。（So it should name itself and then from now on it'll have this identity.）
- `01:08` 因此，當 GrokBot 裡的其他機器人需要實際執行部署時，（And so when other bots inside of our GrokBot need to actually do a deployment,）
- `01:12` 它們就會聯絡這個 Agent，請它執行部署。（they'll reach out to this agent to go and do it.）
- `01:15` 現在我要再拿一個 prompt，要求它找出上一個完成部署的專案之連線記錄，這應該會使用 Railway plugin 來搜尋。（Now I'm going to grab another prompt that we have asking you to go and find connection logs from the last project that was deployed and this should go and use the Railway plugin to find this.）
- `01:26` 它會執行我們提供的幾個 MCP 工具呼叫，找出最近完成的部署，接著查看記錄，擷取這些資訊並提供給我們。（So it's going to execute several of the MCP tool calls that we have to go and track down the last deployment that was done and then actually look into the logs to pull this information out and give it to us.）
- `01:35` 接著我可以取得這些資訊，（I could then take that,）
- `01:36` 把它交給 GrokBot 環境裡的工程機器人，讓它在需要時修正問題，（hand it over to my engineering bot that's inside of my GrokBot environment and have it go and fix those if I wanted to,）
- `01:42` 拉取 PR 並推送上去。（pull the PR and push it up.）
- `01:44` 或者，我也可以讓這個機器人聯絡負責我所有網站建置與部署工作的 Webb，請它拉取其中一些專案，建立新的專案，並在上面部署應用程式。（Or I could have this bot reach out to Webb who handles all my website builds and deployments and have it pull down some of those and go and create new projects and deploy applications onto those as well.）
- `01:53` 這需要幾分鐘的時間來執行。（Now this is going to take a few moments to run.）
- `01:55` 我先讓它完成，稍後再回來。（I'm going to go ahead and let it finish up and I'll be back in a moment.）
- `01:57` 現在它找到最近部署的專案，是多人火車配送應用程式。（Now it's found that the last project that deployed was the multiplayer train delivery application.）
- `02:02` 它現在正使用工具呼叫來尋找個別的記錄。（It's going in and actually using the tool calls now to find the individual logs.）
- `02:06` 它也找到 YBA Sports 昨天完成部署，而且時間更近。（It's also finding that YBA Sports deployed yesterday, which was much sooner.）
- `02:10` 我想那是因為我修補了它。（I think that was because I patched it.）
- `02:12` 那是我為孩子們的籃球隊寫的應用程式，讓他們可以互相簽到。（That's an application that I wrote for my kids' basketball team so they can actually check in with each other.）
- `02:17` 所以它也會把那個專案找出來，並擷取相關記錄。（So it's going to pull that down and pull logs for those as well.）
- `02:20` 好了，記錄出來了。它根據這些內容提供了一份不錯的摘要。（And there we go. Logs are up. It gives me a nice summary out of these.）
- `02:24` 我也可以讓這些機器人取得這些資訊，替我在 Linear 和其他平台建立工單，追蹤目前發生的事情。（I could have the bots go and take this and create tickets for me and things like Linear and other platforms to track what's happening.）
- `02:30` 我可以把工作交給一些寫作機器人，請它們根據這些內容替我撰寫簡報。（I can hand off to some of my writing bots to actually write me a briefs around this.）
- `02:34` 當你讓這些機器人彼此互動時，能獲得很大的彈性。（There's a lot of flexibility you get when you have these bots interacting with each other.）
- `02:38` 而且當你給它們 Railway 環境的完整控制權時，（And when you give them a full control over a railway environment,）
- `02:40` 它們現在就能部署各種項目，還能實際監控已部署的項目。（they can now go and deploy things and actually monitor the things that are deployed as well.）
- `02:44` 所以很希望你能試試看。（So we'd love for you to give it a try.）
- `02:46` 告訴我們該如何為你打造更好的體驗，以及你希望遠端 MCP 裡有哪些工具，讓這一切更容易。（Let us know how we can make this a better experience for you and what tools you might want inside of the Remote MCP that makes this a lot easier.）
- `02:52` 很希望你能試用看看，並告訴我們如何讓它變得更好。（We'd love for you to check it out and let us know how we can make it better.）
- `02:54` 很快再聊。（Talk to you soon.）

## 標籤

MCP, 功能更新, Agent, Railway, Grok
