Skip to content

MCP_TOOL_NAME_PREFIX

const MCP_TOOL_NAME_PREFIX: "mcp" = 'mcp'

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/constants.ts:53

The additionalToolNamePrefix handed to MultiServerMCPClient so every MCP tool name is namespaced. Combined with prefixToolNameWithServerName, the adapter emits tool names shaped ${MCP_TOOL_NAME_PREFIX}__<serverName>__<toolName> (the __ separator is the mcp-adapters convention). Single-sourced here so the resolver that sets the prefix (EXT-32) and any consumer that groups tools back by server (the [[TUI-C20]] MCP debug tab) can never silently drift apart.