*/ public function get_config_snippet( string $server_url, string $auth_token ): array { return array( '_comment' => 'Adapt the top-level key to match your MCP tool (e.g. mcp.servers, tools, etc.).', 'mcpServers' => array( $this->derive_server_key( $server_url ) => array( 'command' => 'npx', 'args' => array( '-y', '@automattic/mcp-wordpress-remote@latest' ), 'env' => $this->build_env( $server_url, $auth_token ), ), ), ); } /** * {@inheritDoc} */ public function get_icon(): string { return '⚙'; } /** * {@inheritDoc} */ public function get_description(): string { return __( 'Custom MCP Client Implementation', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_config_file(): string { return 'depends on your client'; } /** * {@inheritDoc} */ public function get_top_level_key(): string { return 'depends on your client'; } /** * {@inheritDoc} */ public function get_instructions(): string { return __( 'Use the JSON below as a starting point — most MCP clients accept the same command / args / env shape. Consult your client\'s docs for the exact config file path and top-level key.', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_restart_step_text(): string { return __( 'Restart your MCP client (or reload its window / extension) to load the new MCP server. Consult your client\'s docs for the exact reload action.', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_priority(): int { return 80; } }