*/ 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 __( 'OpenAI Codex CLI', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_config_file(): string { return '~/.codex/config.toml'; } /** * {@inheritDoc} */ public function get_top_level_key(): string { return 'mcp_servers'; } /** * {@inheritDoc} */ public function get_instructions(): string { return __( 'Generate a password → copy the TOML snippet → open ~/.codex/config.toml → paste under [mcp_servers] → restart Codex CLI.', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_priority(): int { return 50; } }