Commit f7de41b
committed
fix: read MCP_API_KEY to avoid Railway shared variable conflict
Railway shares env vars across services in the same project.
The backend's API_KEY (dev-secret-key) was overriding the MCP
service's ci_ key at runtime, causing 401 on every tool call.
MCP_API_KEY takes precedence over API_KEY when both are set.1 parent 76af000 commit f7de41b
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments