Skip to content

feat(mcp): register MCP tools as Bub deferred tools - #77

Merged
frostming merged 1 commit into
mainfrom
feat/mcp-deferred-tools
Oct 8, 2026
Merged

frostming merged 1 commit into
mainfrom
feat/mcp-deferred-tools

Conversation

@frostming

Copy link
Copy Markdown
Contributor

Summary

  • Build discovered MCP tools with deferred=True using the deferred tool support on Bub main, so the model only sees their names until it loads definitions via tool.describe.
  • Add MCPSettings.deferred_tools (BUB_MCP_DEFERRED_TOOLS, default true) to expose MCP tools directly instead.
  • Lock bub to current main (b4a61bf).
  • Update the ACP session-isolation test to check the deferred tool list in the system prompt, and add a bub-mcp test for the setting.

Test plan

  • pytest packages/bub-mcp packages/bub-acp-server packages/bub-mcp-server packages/bub-agent-plugins

🤖 Generated with Claude Code

Use the deferred tool support on Bub main so discovered MCP tools are
listed by name only until the model loads them with `tool.describe`.
Add `BUB_MCP_DEFERRED_TOOLS=false` to expose them directly.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@frostming
frostming merged commit 8397028 into main Oct 8, 2026
1 check passed
@frostming
frostming deleted the feat/mcp-deferred-tools branch October 8, 2026 05:13
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