From 9bbf6f9329f271c19bcf498af7e1010f0ef99ab6 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 19 Jul 2026 05:52:09 +0000 Subject: [PATCH 1/2] Add project-scoped Railway MCP server config Registers the Railway MCP server (railway mcp via npx @railway/cli) in .mcp.json so Claude Code sessions pick it up automatically. Requires RAILWAY_API_TOKEN (or railway login) at runtime for the server to start. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016UrrzgrBtQRXvshDhvz3Hs --- .mcp.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .mcp.json diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 000000000..9c08f6927 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "railway": { + "command": "npx", + "args": ["-y", "@railway/cli", "mcp"] + } + } +} From 2d02b5f6cd816668fb5dc4a6fe7eab8c41426193 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 19 Jul 2026 05:58:54 +0000 Subject: [PATCH 2/2] Pin @railway/cli to 5.27.0 in MCP config Addresses review: unpinned npx would fetch the latest CLI from npm at runtime. Pin to the version verified against the MCP handshake. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016UrrzgrBtQRXvshDhvz3Hs --- .mcp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mcp.json b/.mcp.json index 9c08f6927..07b03c528 100644 --- a/.mcp.json +++ b/.mcp.json @@ -2,7 +2,7 @@ "mcpServers": { "railway": { "command": "npx", - "args": ["-y", "@railway/cli", "mcp"] + "args": ["-y", "@railway/cli@5.27.0", "mcp"] } } }