Kinsta MCP by usefulapi
v1.27.4Read Kinsta sites, environments, backups, logs and analytics; clear caches, restart PHP, back up.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kinsta_get_api_key_info Get API key info
Details of the Kinsta API key in use: its name, status, expiry and the company id it belongs to. The key itself is never shown. GET /validate.
kinsta_list_available_regions List data center regions
The data center regions (name and region code) the company can host sites in. GET /company/{id}/available-regions.
kinsta_list_activity_logs List activity logs
The company's activity log (who did what: site actions, DNS, migrations, billing, notifications, user management), newest first, with type, status, time, initiator and a description. Page with limit and offset (the reply's total tells how many exist). GET /company/{id}/activity-logs.
| Parameter | Type | Description |
|---|---|---|
category | string | Only this category. |
limit | integer | Entries to return, 1-100 (default 10). |
offset | integer | Entries to skip (default 0). Use offset + limit to page. |
site_id | string | Only entries for this site id. |
kinsta_list_sites List sites
List the company's WordPress sites (id, name, display name, status, labels). With include_environments the live/staging environment ids, primary domain, PHP version, WordPress version and SSH host/port come too: use those environment ids for the other tools. GET /sites.
| Parameter | Type | Description |
|---|---|---|
include_environments | boolean | Include each site's environments (default true). |
kinsta_get_site Get site
One site by id, with its status and environments. GET /sites/{site_id}.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | Kinsta site id (a UUID; from kinsta_list_sites). |
kinsta_list_site_environments List site environments
The environments (live, staging, ...) of one site: id, name, PHP engine version, WordPress version, primary domain, edge cache and CDN ids. GET /sites/{site_id}/environments.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | Kinsta site id (a UUID; from kinsta_list_sites). |
kinsta_get_site_usage Get site usage this month
A site's usage for the current billing month: visits, bandwidth or CDN bandwidth. GET /sites/{site_id}/usage/{metric}/this-month.
| Parameter | Type | Description |
|---|---|---|
metric * | string | Which usage figure. |
site_id * | string | Kinsta site id (a UUID; from kinsta_list_sites). |
kinsta_list_environment_domains List environment domains
The domains attached to one environment (id, name, whether Kinsta DNS/Cloudflare is used). GET /sites/environments/{env_id}/domains.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_list_company_domains List company domains
All domains the company has in Kinsta DNS / hosting, across sites. GET /domains.
kinsta_list_backups List backups
The backups of one environment (manual, scheduled and system): id, name, note, type and creation time (epoch ms). Backups cannot be restored or deleted from here. GET /sites/environments/{env_id}/backups.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_list_plugins List WordPress plugins
The plugins of one environment: name, title, status (active/inactive), version, available update version, vulnerability flags and the auto-update type. GET /sites/environments/{env_id}/wp-plugins.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_list_themes List WordPress themes
The themes of one environment: name, title, status, version, available update version and vulnerability flags. GET /sites/environments/{env_id}/wp-themes.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_get_logs Get environment logs
Recent lines of an environment's error log, access log or Kinsta cache performance log, optionally within a time range and filtered by a search text. Returns the log as text (the newest lines the API gives). Access logs contain visitor IP addresses. GET /sites/environments/{env_id}/logs.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
file_name | string | Which log (default error). |
from | string | Only lines at or after this ISO 8601 date-time, e.g. 2026-10-01T00:00:00Z. |
lines | integer | Number of lines, 1-2000 (default 200). |
search | string | Only lines containing this text. |
to | string | Only lines at or before this ISO 8601 date-time. |
kinsta_get_analytics Get environment analytics
Traffic and resource analytics for one environment: visits, bandwidth, CDN bandwidth, disk space, response codes, visit dispersion, or the top countries, cities, browsers, hosts, referrers, user agents or ASNs. Choose a time_span or a from/to date range (yyyy-mm-dd). The company id is filled in automatically. GET /sites/environments/{env_id}/analytics/{metric}.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
metric * | string | Which analytics report. |
from | string | Range start, yyyy-mm-dd (use with to). |
time_span | string | Period to report on: 24_hours, 7_days, 30_days or 60_days (default 7_days; disk space has no 24_hours). |
time_zone | string | Only for metric diskspace: hour offset from UTC such as 02:00 or -05:00 (default 00:00). |
to | string | Range end, yyyy-mm-dd. |
kinsta_get_force_https_status Get force-HTTPS status
Whether the environment forces HTTPS (ENABLED_FOR_ALL, ENABLED_REDIRECT_TO_PRIMARY or DISABLED). GET /sites/environments/{env_id}/force-https-status.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_list_redirect_rules List redirect rules
The environment's redirect rules (from, to, type, domain, optional country/city targeting), paged. GET /sites/environments/{env_id}/redirect-rules.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
limit | integer | Rules to return, 1-100 (default 10). |
offset | integer | Rules to skip (default 0). |
search | string | Only rules matching this text. |
kinsta_list_denied_ips List denied IPs
The IP addresses and ranges blocked from the environment. GET /sites/tools/denied-ips.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_get_operation_status Get operation status
The status of an asynchronous operation (cache clear, PHP restart, manual backup, ...) by the operation_id the write tool returned. status 200 = finished, 202 = still running, other = failed. GET /operations/{operation_id}.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string | Operation id, e.g. sites:clear-cache-<uuid> (from the write tool's reply). |
kinsta_clear_site_cache Clear site cache
WRITE: clear the page cache of one environment (the site is briefly slower while the cache warms up; nothing is lost). Returns an operation_id: check it with kinsta_get_operation_status. POST /sites/tools/clear-cache.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_clear_edge_cache Clear edge cache
WRITE: clear Kinsta's edge cache for one environment, optionally only for one URL (and its subdirectories). Nothing is lost; pages are cached again on the next visits. Returns an operation_id. POST /sites/edge-caching/clear.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
clear_subdirectories | boolean | With url: also clear the pages below it (default false). |
url | string | Only clear this URL (leave empty to clear the whole environment). |
kinsta_clear_cdn_cache Clear CDN cache
WRITE: clear the CDN cache of one environment (nothing is lost; files are fetched from the origin again). Needs the environment's cdn_cache_id from kinsta_list_sites. Returns an operation_id. POST /sites/cdn/clear-cache.
| Parameter | Type | Description |
|---|---|---|
cdn_cache_id * | string | The environment's cdn_cache_id (from kinsta_list_sites / kinsta_list_site_environments). |
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_restart_php Restart PHP engine
WRITE: restart the PHP engine of one environment. Requests in flight fail and the site may be unavailable for a few seconds. Returns an operation_id. POST /sites/tools/restart-php.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
kinsta_create_manual_backup Create manual backup
WRITE: start a manual backup of one environment, with an optional note. Kinsta limits the number of manual backups per environment; when the limit is reached the request fails and nothing is deleted. Returns an operation_id. POST /sites/environments/{env_id}/manual-backups.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments). |
tag | string | A short note for the backup (shown in MyKinsta). |