Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can automate WordPress administration on Kinsta by giving a local CLI agent access to WP-CLI through SSH, or by having an integration submit WP-CLI commands through Kinsta’s API. SSH suits interactive work and investigation; the API can fit programmatic workflows. Neither route makes production changes safe by itself: limit what the agent can do, review consequential commands, and verify the result.

How a CLI agent works with a Kinsta site

A CLI agent runs in a local terminal and can use tools available there, such as Git, SSH, and WP-CLI. It can inspect command output, plan a next step, run another command, and evaluate the result. That ability to adapt can help with debugging and investigations, but shell access also gives a mistaken command a path to affect the site. Kinsta’s September 29, 2026 article describes this workflow and warns that an agent without adequate guardrails may run a destructive or hallucinated command: Automating WordPress operations with CLI agents on Kinsta.

The agent does not need a special Kinsta-only command language. The host provides WP-CLI, while SSH or the API provides a way to run commands against a particular WordPress environment. Your instructions and permissions determine which commands it should be allowed to use.

Connect over SSH and run WP-CLI

Kinsta says SSH access is included with its Managed WordPress Hosting plans and WP-CLI v2 is installed by default on its servers. Find the server address, username, password or key details, and environment-specific port in the site’s Info tab in MyKinsta. Connect to the server and go to the site’s document root before running commands; Kinsta’s guide uses cd public as its example. Exact connection details and paths vary by environment. See Kinsta’s SSH guide and WP-CLI guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
  1. Gather the environment details. In MyKinsta, open the site’s Info tab and identify the SSH host, user, port, authentication method, and document-root path for the environment you intend to access.
  2. Set up local SSH access. Kinsta recommends using a dedicated SSH key. Add an SSH host alias in your local ~/.ssh/config so you do not have to repeat the connection details. For example, an entry can be structured like this, with your actual values substituted:
    Host kinsta-site
      HostName YOUR_KINSTA_HOST
      User YOUR_SSH_USER
      Port YOUR_ENVIRONMENT_PORT
      IdentityFile ~/.ssh/YOUR_PRIVATE_KEY

    Keep the private key private. Do not paste secrets into agent instructions, project files, or logs.

  3. Map a WP-CLI alias to that SSH target and WordPress path. In ~/.wp-cli/config.yml, define an alias such as @production that points to the SSH host and the environment’s document root. Kinsta’s tutorial demonstrates this pattern; substitute your own host, user, port, key configuration, and path rather than copying sample placeholders. WP-CLI’s global help documents remote execution through the --ssh parameter as well as options such as --path, --url, --skip-plugins, and --skip-themes.
  4. Verify the target before asking the agent to act. Run the example command wp @production plugin list. Confirm that the output belongs to the intended site and environment. If the command cannot connect or reports that WordPress was not found, recheck the alias, SSH details, and document-root path.

An SSH alias reduces repeated typing; it does not reduce the permissions or impact of the remote command. Treat a production alias as a pointer to a live site, not as a safety feature.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Choose the command scope before delegating

Kinsta’s WP-CLI guide covers administrative work such as listing, activating, deactivating, updating, and rolling back plugins; reading and updating options and users; clearing cache; and search-replace operations. These are examples of available tasks, not a recommendation to let an agent perform all of them unattended.

  • Inspection: Start with read-only requests, such as listing plugins or reading an option. Ask the agent to report findings before proposing changes.
  • Narrow mutations: If a change is authorized, name the precise environment and object—for example, the specific plugin—rather than allowing broad changes by default.
  • Broad or hard-to-reverse operations: Require human review before updates, rollback, search-replace, user changes, or other actions with wider effects. Use a staging environment when it is appropriate to validate the change before production.
  • Search-replace: Take a suitable backup first. Kinsta recommends a --dry-run before executing a search-replace and skipping the guid column to avoid damaging identifier-related URLs. A dry run simulates supported operations; it is not a substitute for checking what the real command will target.
  • Kinsta cache purge: Kinsta documents its cache-purge commands as requiring the Kinsta MU plugin to be installed.

WP-CLI documents options including --dry-run for supported operations, --skip-plugins, --skip-themes, --all, and output formats. Check the command’s own help and the host’s guidance before using an option: flags are command-specific, and not every operation supports a dry run.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Use Kinsta’s API for a programmatic workflow

If your automation already talks to Kinsta’s API, it can submit a WP-CLI command without opening an interactive SSH session. Kinsta’s May 20, 2026 update documents POST /v2/sites/environments/{env_id}/run-wp-cli-command with a wp_command field. The request requires a valid API bearer token, and a documented 202 response means the command has been queued—not that it has finished successfully. Kinsta describes tracking long-running work through its operations endpoint. See the API update and current Kinsta API documentation.

Check Kinsta’s current API reference and availability for your account before building around the endpoint. The API documentation was last updated May 14, 2026 in the available product information and described the API as a public beta at that time; that status may have changed.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

SSH or API: which route fits?

Consideration WP-CLI over SSH Kinsta API endpoint
Best fit Interactive investigation and work from a local terminal. Programmatic integration that submits commands through Kinsta’s API.
How it connects SSH to the server, then WP-CLI at the WordPress document root; local SSH and WP-CLI aliases can simplify repeat access. Submit wp_command to the environment’s run-wp-cli-command endpoint with a bearer token.
Result handling Inspect command output in the terminal and decide whether a follow-up is warranted. A 202 indicates queueing; track long-running work through the operations endpoint and verify its outcome.
Credential and scope decisions Control SSH credentials, the chosen host alias, and the commands permitted for that target. Protect the API bearer token and scope the environment and submitted commands deliberately.
Local project context The agent can use local terminal tools and project files alongside the SSH connection. The documented route submits a WP-CLI command; whether the larger automation also needs local project context depends on its design.

Neither route is inherently safe simply because it is an API call or an SSH command. Choose based on how the work is initiated and how you will review credentials, output, and changes.

Set boundaries for the agent and verify its work

Kinsta recommends recording operational rules, restrictions, and project constraints in an AGENTS.md file. Those instructions help make the permitted workflow explicit, but they do not technically enforce permissions. Pair them with credentials and access that are limited to what the task requires.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

A useful policy separates observation from change and identifies what requires a person’s approval. For example, project instructions can state that the agent may inspect the production plugin list, may not change production, and must request approval before any mutation; a separately authorized task can define the exact allowed change and target. Adapt the rules to the site rather than treating that example as a universal policy.

  • Give the agent only the account, SSH key, or API access needed for its task.
  • Make the target environment explicit; distinguish staging from production in aliases and instructions.
  • Require approval for destructive, broad, or difficult-to-reverse changes.
  • Back up before relevant high-impact operations and use --dry-run where that command supports it.
  • Read the command output, check any queued API operation through the available operations workflow, and independently confirm the site’s final state.

Kinsta advises that SSH is for advanced users and that an incorrect command can break a site. These controls reduce avoidable risk; they cannot guarantee that an agent or command will behave as intended.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.