Skip to content

feat(tools): add channel-scoped MCP server registration#22

Merged
liut merged 1 commit into
mainfrom
feat/channel-mcp-tools
Jun 3, 2026
Merged

feat(tools): add channel-scoped MCP server registration#22
liut merged 1 commit into
mainfrom
feat/channel-mcp-tools

Conversation

@liut

@liut liut commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Support per-channel MCP server configuration via preset. Channel-scoped tools are only visible within their channel context. Global MCP servers continue to work as before.

  • Add ServerBasic.Channel field to distinguish global vs channel servers
  • Add ChannelConfig.MCPServers for preset YAML configuration
  • Add ContextWithChannel/ChannelFromContext for channel context plumbing
  • Add channelToolSet for per-channel tool/invoker isolation
  • Unify AddServer to route by server.Channel
  • Add onStop callbacks to channels registry for MCP cleanup
  • Add ChannelServerStatuses for health query

Support per-channel MCP server configuration via preset. Channel-scoped
tools are only visible within their channel context. Global MCP servers
continue to work as before.

- Add ServerBasic.Channel field to distinguish global vs channel servers
- Add ChannelConfig.MCPServers for preset YAML configuration
- Add ContextWithChannel/ChannelFromContext for channel context plumbing
- Add channelToolSet for per-channel tool/invoker isolation
- Unify AddServer to route by server.Channel
- Add onStop callbacks to channels registry for MCP cleanup
- Add ChannelServerStatuses for health query
@liut liut force-pushed the feat/channel-mcp-tools branch from f5203f2 to 60a7db1 Compare June 3, 2026 06:35
@liut liut merged commit cd3989f into main Jun 3, 2026
2 checks passed
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