Add private-address failure mode to self-hosted MCP troubleshooting - #1070
Merged
Conversation
The self-hosted networking section predated the AI_AGENT_MCP_ALLOW_PRIVATE_ADDRESSES env var shipped in 0.3234.0, so it was missing the third failure mode: MCP endpoints that resolve to private IPs are blocked by default with "MCP servers must use a public URL". Adds the error to the troubleshooting table with a link to the env-vars reference. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uw5xueaZQbYnZUQ1iVkYyH
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
🤖 Documentation Bot✅ All checks passed! No issues found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #886, which was drafted before
AI_AGENT_MCP_ALLOW_PRIVATE_ADDRESSESshipped in 0.3234.0 (lightdash/lightdash#24660) and so missed the third self-hosted failure mode.Adds the "MCP servers must use a public URL" error to the troubleshooting table — endpoints resolving to private/internal IPs are blocked by default as an SSRF safeguard — pointing self-hosted operators at
AI_AGENT_MCP_ALLOW_PRIVATE_ADDRESSES=truein the env-vars reference. Also mentions the flag in the internal-endpoints setup bullet, since internal hostnames typically resolve to private IPs and hit this error right after DNS is fixed.Error string and env var verified against
packages/backend/src/utils/ssrfProtection.tsandparseConfig.ts.Linear: PROD-8453
🤖 Generated with Claude Code
https://claude.ai/code/session_01Uw5xueaZQbYnZUQ1iVkYyH