feat: add LANGFLOW_MCP_BASE_URL config for MCP server URL override - #12523
Conversation
Add LANGFLOW_MCP_BASE_URL setting that the frontend uses as a fallback when building MCP server URLs in the UI configuration JSON. This allows deployments behind reverse proxies to specify the correct external URL. Priority chain: mcp_base_url > api.defaults.baseURL > window.location.origin
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
❌ Your project status has failed because the head coverage (49.07%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## release-1.9.0 #12523 +/- ##
=================================================
+ Coverage 49.84% 50.08% +0.24%
=================================================
Files 1930 1930
Lines 171890 172606 +716
Branches 25287 26539 +1252
=================================================
+ Hits 85671 86456 +785
+ Misses 85173 85105 -68
+ Partials 1046 1045 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…12523) * feat: add mcp_base_url to config endpoint for MCP server URL override Add LANGFLOW_MCP_BASE_URL setting that the frontend uses as a fallback when building MCP server URLs in the UI configuration JSON. This allows deployments behind reverse proxies to specify the correct external URL. Priority chain: mcp_base_url > api.defaults.baseURL > window.location.origin * test: add tests for mcp_base_url config and URL fallback priority
Summary
LANGFLOW_MCP_BASE_URLsetting so deployments behind reverse proxies can specify the correct external URL for MCP server configuration in the UImcp_base_url > api.defaults.baseURL > window.location.origin