Remote MCP on Railway (1 click deploy) will not complete last part of authentication (using notion as test) #9379
Answered
by
jteusa
jteusa
asked this question in
Troubleshooting
-
I'm trying to add notion remote MCP on my Librechat, deployed on Railway (1 click deploy) and amd having issues.
Read thru some discussions hacking around, but can't get it to work.
So close to doing what I want to do (it's not notion, it's another mcp) but I'm stuck. Thanks!
|
Beta Was this translation helpful? Give feedback.
Answered by
jteusa
Aug 29, 2025
Replies: 2 comments 1 reply
-
FML. I changed to type: sse and worked. Could've sworn I tried that earlier at some point. But it's working now. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jteusa
-
I dug in and here’s what’s going on:. The (high-level) Fix @jteusa
Example Configinterface:
runCode: false
agents:
capabilities:
- tools
- ocr # keep text ingestion alive
# removed: execute_code, file_search
Pseudocode (UI + Server)
// UI (AttachMenu)
if (caps.includes('ocr')) opts.push('as_text');
if (caps.includes('file_search')) opts.push('file_search');
if (caps.includes('execute_code') && ui.runCode) opts.push('code');
// Server (uploadController)
switch (mode) {
case 'as_text': return ocrExtract(file);
case 'file_search': return indexForRAG(file);
case 'code': return stageForSandbox(file);
case 'image': return attachImage(file);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FML. I changed to type: sse and worked. Could've sworn I tried that earlier at some point. But it's working now.