-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
enhancementissues that are enhancements to current functionality - nice to havesissues that are enhancements to current functionality - nice to haves
Description
Feature Description:
Currently, all MCP Tool calls are accessible and need to be added manually to prompt templates. Users should have the ability to control which tool calls are available, ask for confirmations before executing certain calls, and be more confident working with MCP server.
- In the MCP config view, there can be an option field to allow/disallow certain tool calls.
- Introduce the following options for tool calls:
- allowed: tool call can be executed anytime.
- onConfirmation: the tool call needs to be confirmed before its being run (this should probably be the default).
- disallowed: never run this tool call, do not show it in auto-completion, etc.
We can utilize the shortcut to add all the tool calls to the prompt template, as added with Allow to add all MCP functions via prompt fragment #15270. Similarly, the MCP config view introduced in Add MCP Server config view to AI Configuration #15280 can be used to incorporate these changes.
Bear in mind, this will likely require reworks to the tool invocation mechanism but it would also enable the reuse of the same approach for internal tools if desired.
Metadata
Metadata
Assignees
Labels
enhancementissues that are enhancements to current functionality - nice to havesissues that are enhancements to current functionality - nice to haves