docs(mcp-data-app): warn that duplication copies #MCP_PUBLIC_URL (SUPPORT-17219) - #95
Draft
ZoraJel wants to merge 1 commit into
Draft
docs(mcp-data-app): warn that duplication copies #MCP_PUBLIC_URL (SUPPORT-17219)#95ZoraJel wants to merge 1 commit into
ZoraJel wants to merge 1 commit into
Conversation
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
jordanrburger
approved these changes
Aug 4, 2026
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.
Summary
Documents a real-world failure mode of the
mcp-data-appskill: duplicating an MCP data-app config in the Keboola UI copies all secrets verbatim, including#MCP_PUBLIC_URL. The copy then advertises the source app's origin in its OAuth-shape discovery docs (/.well-known/oauth-authorization-server), so it deploys and runs fine, but a fresh client's OAuth handshake reads discovery from the new app and then redirects to the old app's/authorize, and fails.Because
#MCP_PUBLIC_URLdrives the advertisedissuer/authorization_endpoint/token_endpoint, and the app itself boots regardless of its value, this is invisible from the outside — only a new client setting up a fresh connection breaks.troubleshooting.mdpreviously covered only the empty#MCP_PUBLIC_URLcase (discovery showing127.0.0.1:5000), not the stale/copied one.Docs-only, two files:
reference/troubleshooting.md— new symptom→cause→fix row for the stale/copied value.reference/deploy.md§Two-pass — note that#MCP_PUBLIC_URLis instance-specific, duplication copies it, and the two-pass dance must be re-run on any duplicated app before connecting a client.Fix in both places is the same: reset
#MCP_PUBLIC_URLto the copy's own URL and redeploy.Surfaced from SUPPORT-17219.
Link to Devin session: https://app.devin.ai/sessions/439e811f308041028b0f492b2d66f2c8
Requested by: @ZoraJel