Skip to content

docs: add a guide for connecting your own AI agent over MCP - #8241

Merged
dimitrieh merged 14 commits into
mainfrom
docs/connect-your-own-agent
Aug 27, 2026
Merged

docs: add a guide for connecting your own AI agent over MCP#8241
dimitrieh merged 14 commits into
mainfrom
docs/connect-your-own-agent

Conversation

@dimitrieh

@dimitrieh dimitrieh commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Adds docs/user/expert/third-party-agents.md for the 3.0 third-party agent feature, plus an entry point from the Expert index.

Also updates docs/user/logs.md, which said the audit log covered Expert and API actions only. A connected agent shows the same sparkle icon, with via MCP on hover rather than via Expert.

Endpoint is https://app.flowfuse.com/mcp, confirmed on the thread. OAuth is the intended route and the page leads with it. Claude Desktop connects with OAuth alone, confirmed on this PR, so the token route is no longer written up as a per-agent workaround. It is a short mention for any client that has no sign-in flow, with no configuration examples and no agent named, pointing at the two common JSON schemas instead.

Comment thread docs/user/expert/index.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
States capability and permissions once instead of repeating them, drops the
prerequisites framing in favour of the agent resolving version issues, and
reframes the editor session as agent-guided.
@dimitrieh

Copy link
Copy Markdown
Contributor Author

Reworked from the review. The structural point drove most of it: capability and permissions were restated in four places, so they are now stated once and everything else refers to that.

Prerequisites removed. No "before you start", no version checklist. Versions moved to a closing "Getting the best out of it" section that opens by saying this is not something to set up in advance, because the agent tells you what is in the way and helps resolve it. Self-hosted broker is now "depends on how your platform was installed" rather than a setup step, per FlowFuse/helm#1010.

Wording. AI agent throughout, never assistant. FlowFuse applications, and flows inside your Node-RED instances. Editing rights rather than changes. Dropped "deliberately" and "exposure"; the editor session is agent-guided, with the header control for indicating which browser session it works in. Added the point that your own agent means your own model or provider, in both this guide and the Expert index.

Softened. No-delete and manual deploy both carry "for now" plus the intent about acting as required in production and in setups where experimentation is permitted. Read access now simply has no ability to change anything. Tool annotations are described as recommended usage and permissions.

Two things to note:

  • I removed the model-provider API section, since your comment there was a question for the team rather than a direction. Easy to restore if the answer is yes.
  • The endpoint path is unchanged and still open. Both your "to be confirmed" comments stand.

@dimitrieh

Copy link
Copy Markdown
Contributor Author

Up for review

Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
OAuth is stated as the intended route and the token route is kept for the
clients that cannot sign in, split into the two shapes that actually exist:
a header, and a local command via mcp-remote for Claude Desktop.

Also from review: HTTP MCP support is the real requirement rather than a
named provider list, Tables is read-only through the platform tools for the
time being but a flow with a Query Node still writes, the agent gets
Node-RED validation back and self-corrects, clients supply their own
confirmation prompt, and enforcement granularity is teams plus read or
write rather than per-tool.
The page said the logs covered FlowFuse Expert and API actions only. A
connected agent carries the same sparkle icon, distinguished by the hover
label: via Expert for the first party, via MCP for your own agent.
…r tooling

The fallback is for the reader whose approved assistant cannot sign in, so
that shape goes first. The editor and command-line config, which is the
technically simpler one, follows it rather than framing the section.
@dimitrieh
dimitrieh requested review from andypalmi and cstns August 26, 2026 09:54
@andypalmi

Copy link
Copy Markdown
Contributor

The token route stays as the fallback, because Claude Desktop's config file takes a command rather than an address, so it needs mcp-remote plus a header even after OAuth is in.

Is this still the case? I managed to connect on Claude Desktop with OAuth only without what you saying above in the PR body

Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Co-authored-by: Andrea Palmieri <76187074+andypalmi@users.noreply.github.com>

@andypalmi andypalmi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure the .md file with line breaks in middle of sentences is going to render badly in the website, have we checked that out?

Comment thread docs/user/expert/index.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
@dimitrieh

Copy link
Copy Markdown
Contributor Author

Regarding the line breaks in the middle of sentences: checked it against production rather than guessing. https://flowfuse.com/docs/install/configuration/ already ships hard-wrapped prose, and the live page renders it inside a single <p> with the newline as whitespace. One <br> in the whole page. Docs go through Nuxt Content and the website's nuxt.config.ts registers no remark-breaks, so soft breaks collapse.

Regardless, I have unwrapped the page to one line per paragraph. Every other doc in the repo is written that way and your suggestions all came in as single lines, so no reason to keep it mixed.

All suggestions taken and pushed. The only one not changed is the Platform Automation and Flow Building split, which stays on this page for now per that thread.

@dimitrieh
dimitrieh requested a review from andypalmi August 27, 2026 13:41
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated
Comment thread docs/user/expert/third-party-agents.md Outdated

@andypalmi andypalmi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with these changes, just check my latest suggestions and then it's a go from me

Co-authored-by: Andrea Palmieri <76187074+andypalmi@users.noreply.github.com>
@dimitrieh
dimitrieh merged commit c0359fe into main Aug 27, 2026
14 checks passed
@dimitrieh
dimitrieh deleted the docs/connect-your-own-agent branch August 27, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants