/ai: take a self-hosted address in the command block - #5692
Merged
Conversation
Contributor
Author
KristopherLeads
approved these changes
Aug 27, 2026
KristopherLeads
enabled auto-merge
August 27, 2026 14:01
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.


Description
Stacked on #5681. Base is that branch, not
main.The MCP address on
/aiis the Cloud one. A self-hosted platform answers on its owndomain, so a self-hosted reader copies an address that is not theirs and has to know
to edit it. The docs say "substitute your own platform address" in prose; this makes
the block do it.
FfCommandgets an opt-inhost-swap. Closed, it is one line of link text under theblock. Opened, it takes a domain and the address shown and copied becomes
https://<that domain>/mcp. It is shared state, so the address survives switchingagent tabs, and it is remembered per browser. The copy event now carries
self_hosted, so we can see which of the two people actually copy.Not in here: swapping the two
/docs/user/expert/links to the new guide. That waitsfor FlowFuse/flowfuse#8241, because the link checker fails on
a docs page that is not live yet.
Related Issue(s)
FlowFuse/flowfuse#8192
Checklist