9 months ago
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!)
0 Threads mention this feature
16 Replies
Status changed to Planned unicodeveloper • 9 months ago
6 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
6 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
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
6 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
4 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
4 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. 
4 months ago
New docs are live - https://docs.railway.com/reference/mcp-server
3 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.
3 months ago
A read docs tool would be great, supabase mcp has one and it helped me tremendously
3 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
3 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`
2 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
2 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 • 3 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
2 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!
2 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?
a month 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
24 days 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


