feat(mcp): add MCP tool control functionality - #256
Merged
Conversation
Collaborator
|
CI,mac和linux编译失败,可以再修修 @inwf |
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.
变更概述
为 v2 的 MCP 管理增加工具级禁用、工具 Schema 预览、JSON 批量导入三项能力,并让禁用在下发给 Agent 时真正生效。UI 沿用 v2 现有工作台风格。
做了什么
边界
运行时无逐工具过滤能力,故置层生效(与它原本也不支持toolAllowlist 一致)。
验证
IPC""禁用列表存读并剔除失 回归)。
禁用状态保留;预览 Schema 条目行为符合预期。