Repository navigation
feat(host-mcp): serve Executor configuration tools on the passthrough surface - #20
Merged
Merged
Conversation
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.
What changes for users
An agent connected with
?mode=passthroughcan now add an integration when asked. It can search for and invoke Executor's own configuration tools, such asexecutor.mcp.addServer,executor.connections.createHandoffandexecutor.oauth.probe/executor.oauth.start. Before this change, passthrough hid these tools, so "add this MCP server" was only possible from the dashboard, the CLI or codemode.How
searchno longer dropsstatictools. It resolves each match to the listedToolinstead of re-parsing a five-segment address, because static tools are addressed by their fqid (executor.mcp.addServer).invokeaccepts an fqid: when the id is not a five-segment address, it looks the tool up under its integration.search-invokeguide now explains the add-an-integration flow and says to send the user the handoff or OAuth URL, never to collect credentials in chat.Safety
tools.listandtools.schemaalready apply them).destructiveHint: true).Tests
passthrough-tools.test.ts: a staticexecutor.mcp.addServerfixture is returned by search with its account details and schema, invoke runs it by fqid, and an unknown fqid is refused. Allpackages/hosts/mcptests pass (257).