get_name() ); } /** * Declared (not incidental): the server dispatches through * `McpCore\Registry\ToolRegistry`, reads access levels off * `McpCore\Registry\ToolDescriptor`, and `AuthManager` falls back to * `McpCore\Support\Permissions` for cookie/Application-Password callers. */ public function get_dependencies(): array { return [ 'mcp-core', 'utilities' ]; } protected function init_hooks(): void { // The endpoint itself. Registers its REST routes on `rest_api_init` and // its pretty-path rewrites on `init` — see HttpTransport's constructor. HttpTransport::get_instance(); // Credential management for the Settings → MCP tab. Connections::get_instance(); // Reclaim expired delegated-approval records (FR-030). The sweep itself // stays here; its SCHEDULING moved to the shared cleanup service, which // this module contributes a task to (spec 052). RecordStore::schedule_sweep(); OAuthRecordsTask::register(); } }