Official Railway MCP server

We're working on an official MCP (Model Context Protocol) server for Railway. We’d love to hear what workflows and features you'd like to see. You can share your wishlist in this post ↓

(Also using this ticket to track tool calling requests for Railway CLI, I see you vibe-coders!)

Completed

0 Threads mention this feature

17 Replies

Status changed to Planned unicodeveloper 11 months ago


petermiller310
FREE

7 months ago

Yooo any updates on this?

A Railway MCP would be awesome for new users onboarding and get a project deployed quickly

I want Claude Code to be my devops eng LMAO


petermiller310

Yooo any updates on this?A Railway MCP would be awesome for new users onboarding and get a project deployed quicklyI want Claude Code to be my devops eng LMAO

petermiller310
FREE

7 months ago

ive been using the supabase mcp a bunch and found it to be very helpful at automating tasks i normally would have to do manually

so maybe this could be used as inspiration for Railways MCP

https://supabase.com/blog/mcp-server


petermiller310

ive been using the supabase mcp a bunch and found it to be very helpful at automating tasks i normally would have to do manuallyso maybe this could be used as inspiration for Railways MCPhttps://supabase.com/blog/mcp-server

petermiller310
FREE

7 months ago

I have been using claude code w/ the railway cli and it seems to struggle with some of the commands that require interactive sessions


chandrika
EMPLOYEE

6 months ago

Hi everyone! This is now in progress and we've got our newest dev rel, Mahmoud working on this so you’ll soon have an official Railway MCP

We're planning to have our MCP do things like list projects, query logs, add domains, deploy templates, and so much more!

If there’s functionality you’d like to see our MCP have, please drop us a note in this thread


chrismasterton
PRO

6 months ago

Please MCP, allow someone smarter than me (Claude, cursor-cli, almost anyone really) to be able to set the correct environment variables that I always mess up. pray emoji



joshuachestang
PRO

4 months ago

Overall, the MCP has been very helpful, but as of recently, I've found that get-logs has been problematic. And it is hard to tell if the issue with Cursor as an IDE or if the problem is with the package. Nonetheless, this make programming THAT much easier.


toomingos
PRO

4 months ago

A read docs tool would be great, supabase mcp has one and it helped me tremendously


timib54
HOBBY

4 months ago

view build logs would be useful. having to always go into the build logs to copy and paste the errors is a hassle


tanookipeter
PRO

4 months ago

the get-logs mcp tool seems to hang for me, similarly i cannot have claude code run the cli due to it being interactive. ideally would just be able to have it drive the cli, but logs would need to just dump text and not run in a 'follow' mode a la `til -f`


tanookipeter

the get-logs mcp tool seems to hang for me, similarly i cannot have claude code run the cli due to it being interactive. ideally would just be able to have it drive the cli, but logs would need to just dump text and not run in a 'follow' mode a la `til -f`

mikewesthad
PRO

4 months ago

Have you tried updating the latest version of railway CLI + MCP server? I shipped some upgrades to both last week, so you can use AI to "find the latest failing deployment, read its logs and propose a fix"
- The CLI logs command support non-streaming mode + filtering so that it is easier to find and search for logs
- The CLI has a way to query for recent deployments and their statuses
- The MCP server knows how to use both of those tools now


timib54

view build logs would be useful. having to always go into the build logs to copy and paste the errors is a hassle

mikewesthad
PRO

4 months ago

Have you tried the latest CLI + MCP? The MCP should know how to get build logs for you!


Status changed to Completed jr 4 months ago


mikewesthad

Have you tried updating the latest version of railway CLI + MCP server? I shipped some upgrades to both last week, so you can use AI to "find the latest failing deployment, read its logs and propose a fix"- The CLI logs command support non-streaming mode + filtering so that it is easier to find and search for logs- The CLI has a way to query for recent deployments and their statuses- The MCP server knows how to use both of those tools now

tanookipeter
PRO

4 months ago

confirming this fixed my problems: mcp logs is working now, and railway logs --lines 10 also allows me to use this via CLI.

thanks so much for this!


tanookipeter
PRO

4 months ago

new issue: i had claude code look at some logs and fix a bug. because i run in claude yolo mode via --dangerously-skip-permissions, it immediately decided to deploy the fix into production before i had a change to review it.

obviously skipping permissions is inherently risky, but can i limit access to railway mcp somehow, e.g. read only, so that i can make this less likely to happen?


Anonymous
PRO

3 months ago

I've been using it a bit. Claude has been falling back to the cli. It's able to handle services, logs and other things quite well. It would be nice to allow ssh access authentication with token auth for administrative tasks (I'm running drupal , so drush access is important). This would also be helpful for CLI. Also improving --help documentation and error messages to clearly articulate things like the requirement to link to a project / service first would also help the process. I think some of this housekeeping will go a long way.


mikewesthad

Have you tried updating the latest version of railway CLI + MCP server? I shipped some upgrades to both last week, so you can use AI to "find the latest failing deployment, read its logs and propose a fix"- The CLI logs command support non-streaming mode + filtering so that it is easier to find and search for logs- The CLI has a way to query for recent deployments and their statuses- The MCP server knows how to use both of those tools now

tanookipeter
PRO

2 months ago

- The CLI logs command support non-streaming mode + filtering so that it is easier to find and search for logs

wanted to connect a separate but related request i had:

https://station.railway.com/feedback/cli-railway-logs-command-should-allow-f-2e1aeddb

basically, this is helpful but i don't see how to filter by date, which would make the railway logs command a lot more useful to me


austinkettner
PRO

17 days ago

I think that the MCP achieves a parallel to the CLI experience but fails at largely going one level higher. If we imagine where MCPs are going, It's way too 'project centric'. I want to be able to tie this in with Cloudflare, Github, and the core Gemini/Claude editing, to be able to do the following without a bunch of hijinx:

  • Tell me status of project X, without linking my directory

  • "Is the domain configured for project X", "which projects don't have a configured and SSL enabled domain", "please validate the SSL cert is issued for Project X" => "Oh it's not? Add it, then use Cloudflare MCP to add the records"

  • "Fetch the logs from project X and tell me about any errors in the last 30 minutes within the production set environment"


Loading...