Registers the execute_expert tool with the MCP server.
Uses MCP Tasks primitive (SEP-1686) via registerToolTask for async execution. taskSupport: 'optional' preserves sync fallback for clients without task support.
Uses createSecureHandler for standardized security middleware (Issue #531). Includes timeout protection for CVE-2026-0621 mitigation (Issue #271).
MCP server instance
Tool dependencies
MCP exports - MCP server implementation Split from index.ts for file size compliance (Issue #285) Updated Issue #538: Added missing tool registration exports