Kinsta MCP by usefulapi

v1.27.4
io.usefulapi/kinsta Checked 6 hours ago Published 14 days ago

Read 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.

ParameterTypeDescription
categorystringOnly this category.
limitintegerEntries to return, 1-100 (default 10).
offsetintegerEntries to skip (default 0). Use offset + limit to page.
site_idstringOnly 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.

ParameterTypeDescription
include_environmentsbooleanInclude each site's environments (default true).

kinsta_get_site Get site

One site by id, with its status and environments. GET /sites/{site_id}.

ParameterTypeDescription
site_id *stringKinsta 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.

ParameterTypeDescription
site_id *stringKinsta 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.

ParameterTypeDescription
metric *stringWhich usage figure.
site_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).
file_namestringWhich log (default error).
fromstringOnly lines at or after this ISO 8601 date-time, e.g. 2026-10-01T00:00:00Z.
linesintegerNumber of lines, 1-2000 (default 200).
searchstringOnly lines containing this text.
tostringOnly 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}.

ParameterTypeDescription
environment_id *stringKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).
metric *stringWhich analytics report.
fromstringRange start, yyyy-mm-dd (use with to).
time_spanstringPeriod to report on: 24_hours, 7_days, 30_days or 60_days (default 7_days; disk space has no 24_hours).
time_zonestringOnly for metric diskspace: hour offset from UTC such as 02:00 or -05:00 (default 00:00).
tostringRange 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.

ParameterTypeDescription
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).
limitintegerRules to return, 1-100 (default 10).
offsetintegerRules to skip (default 0).
searchstringOnly 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.

ParameterTypeDescription
environment_id *stringKinsta 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}.

ParameterTypeDescription
operation_id *stringOperation 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.

ParameterTypeDescription
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).
clear_subdirectoriesbooleanWith url: also clear the pages below it (default false).
urlstringOnly 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.

ParameterTypeDescription
cdn_cache_id *stringThe environment's cdn_cache_id (from kinsta_list_sites / kinsta_list_site_environments).
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta 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.

ParameterTypeDescription
environment_id *stringKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).
tagstringA short note for the backup (shown in MyKinsta).