Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 7
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3use BLU\McpServer;
4use Bluehost\Plugin\WP\MCP\Core\McpAdapter;
5
6
7if ( function_exists( 'add_action' ) ) {
8
9    add_action(
10        'plugins_loaded',
11        function () {
12            // Initialize MCP adapter (required to register rest_api_init hook)
13            McpAdapter::instance();
14
15            // Initialize MCP server
16            new McpServer();
17        }
18    );
19
20}