PluginProbe
ZIP AI – AI Website Builder & AI Agent (Beta) / 0.0.8
ZIP AI – AI Website Builder & AI Agent (Beta) v0.0.8
0.0.10 0.0.9 trunk 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8
zip-ai / lib / mcp-adapter / includes / Handlers / System / SystemHandler.php

SystemHandler.php in ZIP AI – AI Website Builder & AI Agent (Beta) 0.0.8, at lib/mcp-adapter/includes/Handlers/System/SystemHandler.php

28 lines 557 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * System method handlers for MCP requests.
4 *
5 * @package McpAdapter
6 */
7
8 declare( strict_types=1 );
9
10 namespace WP\MCP\Handlers\System;
11
12 use WP\McpSchema\Common\AbstractDataTransferObject;
13 use WP\McpSchema\Common\Protocol\DTO\Result;
14
15 /**
16 * Handles system-related MCP methods.
17 */
18 class SystemHandler {
19 /**
20 * Handles the ping request.
21 *
22 * @return \WP\McpSchema\Common\AbstractDataTransferObject Empty result DTO per MCP specification.
23 */
24 public function ping(): AbstractDataTransferObject {
25 return Result::fromArray( array() );
26 }
27 }
28