*/ 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 __( 'Cline — autonomous coding agent for VS Code', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_config_file(): string { return 'cline_mcp_settings.json'; } /** * {@inheritDoc} * * Cline's config is workspace-relative, so there is nothing per-OS to * express — the same relative path is correct everywhere. Declared empty * explicitly so a later reader can see this was decided, not missed. * * @since 0.3.9 * @return array */ public function get_config_files(): array { return array(); } /** * {@inheritDoc} */ public function get_top_level_key(): string { return 'mcpServers'; } /** * {@inheritDoc} */ public function get_instructions(): string { return __( 'Generate a password → copy the JSON → open the Cline sidebar in VS Code → click MCP Servers → Configure MCP Servers → paste under mcpServers.', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_restart_step_text(): string { return __( 'Cline hot-reloads MCP servers — reopen the MCP Servers panel in the Cline sidebar to confirm the new server is listed.', 'acrossai-mcp-manager' ); } /** * {@inheritDoc} */ public function get_priority(): int { return 74; } }