*/ public function get_config_snippet( string $server_url, string $auth_token ): array { return array( '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 __( 'Roo Code — AI coding agent for VS Code', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_config_file(): string { return '.roo/mcp.json'; } /** * {@inheritDoc} */ public function get_top_level_key(): string { return 'mcpServers'; } /** * {@inheritDoc} */ public function get_instructions(): string { return __( 'Generate a password → copy the JSON → open .roo/mcp.json (or use the Roo Code sidebar → MCP Servers → Configure MCP Servers) → paste under mcpServers.', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_restart_step_text(): string { return __( 'Roo Code hot-reloads MCP servers — reopen the MCP Servers panel in the Roo Code sidebar to confirm the new server is listed.', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_priority(): int { return 75; } }