|
dolibarr 24.0.0-beta
|
Admin page to configure which MCP tools are available per context. More...
Go to the source code of this file.
Variables | |
| if( $action=='addrights'||$action=='delrights') if($action=='apply_preset' &&!empty($toolcontext) &&!empty($mode) | $help_url ) = '' |
| ACTIONS. | |
Admin page to configure which MCP tools are available per context.
Two independent allow-lists are managed here: AI_ASSISTANT_ALLOWED_TOOLS — tools visible to the private chat assistant AI_MCP_SERVER_ALLOWED_TOOLS — tools visible to external MCP clients
System tools (isSystem() = true) are always shown as locked-on and are never written into the allow-list constants — McpHandler forces them through at runtime.
Constant semantics (same for both constants): '' → not yet configured → all non-system tools are allowed (default open) 'NONE' → admin explicitly disabled every non-system tool else → comma-separated list of allowed tool names (explicit allow-list)
Definition in file configure_tools.php.