Skip to content

DRU-673 -- Give the operator's chat the enabled MCP servers - #754

Merged
czpython merged 1 commit into
mainfrom
paulo/dru-673-give-the-operators-chat-the-enabled-mcp-servers
Sep 29, 2026
Merged

czpython merged 1 commit into
mainfrom
paulo/dru-673-give-the-operators-chat-the-enabled-mcp-servers

Conversation

@czpython

@czpython czpython commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

An operator's chat now reaches every MCP server that is enabled in Settings → MCP servers, the same servers a workflow agent reaches. Before, the chat agent had only the Druks server.

  • Chat resolves the enabled servers through Workspace.get_all_mcp_servers for an operator account. Their secret refs join the chat sandbox's refs, so enabling or disabling a server gives the next turn a new sandbox.
  • The bridge's start request carries the servers. The bridge adds them to the ACP session's mcpServers beside druks and fills each ${VAR} header from the sandbox environment.
  • McpServer.get_request_headers() builds the headers with ${VAR} placeholders for secrets. The Claude and Pi harnesses and chat use it.
  • Chat leaves out a server that cannot authenticate for the operator, such as an OAuth server they have not connected: get_all_mcp_servers(..., skip_unauthenticated=True) filters on the server's has_token. Workflows still fail loudly on such a server.
  • A Bot's users and admins still reach only the Druks server.

@mintlify

mintlify Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
druks 🟢 Ready View Preview Sep 29, 2026, 1:49 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@czpython
czpython force-pushed the paulo/dru-673-give-the-operators-chat-the-enabled-mcp-servers branch from 50ba8e0 to 7f31f09 Compare September 29, 2026 13:48
@czpython
czpython enabled auto-merge (squash) September 29, 2026 13:49
@czpython
czpython merged commit 8253e5a into main Sep 29, 2026
4 checks passed
@czpython
czpython deleted the paulo/dru-673-give-the-operators-chat-the-enabled-mcp-servers branch September 29, 2026 13:57

This branch was successfully deployed

1 active deployment
staging - docs — 7f31f09c Deployed Sep 29, 2026 by mintlify[bot]
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.

1 participant