Kinsta MCP by usefulapi
Read Kinsta sites, environments, backups, logs and analytics; clear caches, restart PHP, back up.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin kinsta_list_environment_domains
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"kinsta": {
"url": "https://kinsta.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://kinsta.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (23)
🟢kinsta_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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_available_regions
The data center regions (name and region code) the company can host sites in. GET /company/{id}/available-regions.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_activity_logs(limit, offset, category, site_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"limit": {
"description": "Entries to return, 1-100 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Entries to skip (default 0). Use offset + limit to page.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"category": {
"description": "Only this category.",
"type": "string",
"enum": [
"siteActions",
"kinstaDns",
"migrations",
"billing",
"notifications",
"userManagement",
"personalSettings",
"samlSso"
]
},
"site_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Only entries for this site id."
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_sites(include_environments)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"include_environments": {
"description": "Include each site's environments (default true).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_get_site(site_id)
One site by id, with its status and environments. GET /sites/{site_id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta site id (a UUID; from kinsta_list_sites)."
}
},
"required": [
"site_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_site_environments(site_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta site id (a UUID; from kinsta_list_sites)."
}
},
"required": [
"site_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_get_site_usage(site_id, metric)
A site's usage for the current billing month: visits, bandwidth or CDN bandwidth. GET /sites/{site_id}/usage/{metric}/this-month.
Eingabe-Schema
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta site id (a UUID; from kinsta_list_sites)."
},
"metric": {
"type": "string",
"enum": [
"visits",
"bandwidth",
"cdn_bandwidth"
],
"description": "Which usage figure."
}
},
"required": [
"site_id",
"metric"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_environment_domains(environment_id)
The domains attached to one environment (id, name, whether Kinsta DNS/Cloudflare is used). GET /sites/environments/{env_id}/domains.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_company_domains
All domains the company has in Kinsta DNS / hosting, across sites. GET /domains.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_backups(environment_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_plugins(environment_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_themes(environment_id)
The themes of one environment: name, title, status, version, available update version and vulnerability flags. GET /sites/environments/{env_id}/wp-themes.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_get_logs(environment_id, file_name, lines, from, to, ...)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
},
"file_name": {
"description": "Which log (default error).",
"type": "string",
"enum": [
"error",
"access",
"kinsta-cache-perf"
]
},
"lines": {
"description": "Number of lines, 1-2000 (default 200).",
"type": "integer",
"minimum": 1,
"maximum": 2000
},
"from": {
"description": "Only lines at or after this ISO 8601 date-time, e.g. 2026-10-01T00:00:00Z.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})$"
},
"to": {
"description": "Only lines at or before this ISO 8601 date-time.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})$"
},
"search": {
"description": "Only lines containing this text.",
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_get_analytics(environment_id, metric, time_span, from, to, ...)
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}.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
},
"metric": {
"type": "string",
"enum": [
"visits",
"bandwidth",
"cdn_bandwidth",
"diskspace",
"response_codes",
"visits_dispersion",
"top_countries",
"top_cities",
"top_browsers",
"top_hosts",
"top_referrers",
"top_user_agents",
"top_asns"
],
"description": "Which analytics report."
},
"time_span": {
"description": "Period to report on: 24_hours, 7_days, 30_days or 60_days (default 7_days; disk space has no 24_hours).",
"type": "string",
"enum": [
"24_hours",
"7_days",
"30_days",
"60_days"
]
},
"from": {
"description": "Range start, yyyy-mm-dd (use with to).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Range end, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"time_zone": {
"description": "Only for metric diskspace: hour offset from UTC such as 02:00 or -05:00 (default 00:00).",
"type": "string",
"pattern": "^-?(0[0-9]|1[0-4]):00$"
}
},
"required": [
"environment_id",
"metric"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_get_force_https_status(environment_id)
Whether the environment forces HTTPS (ENABLED_FOR_ALL, ENABLED_REDIRECT_TO_PRIMARY or DISABLED). GET /sites/environments/{env_id}/force-https-status.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_redirect_rules(environment_id, limit, offset, search)
The environment's redirect rules (from, to, type, domain, optional country/city targeting), paged. GET /sites/environments/{env_id}/redirect-rules.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
},
"limit": {
"description": "Rules to return, 1-100 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Rules to skip (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"search": {
"description": "Only rules matching this text.",
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_list_denied_ips(environment_id)
The IP addresses and ranges blocked from the environment. GET /sites/tools/denied-ips.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢kinsta_get_operation_status(operation_id)
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}.
Eingabe-Schema
{
"type": "object",
"properties": {
"operation_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Operation id, e.g. sites:clear-cache-<uuid> (from the write tool's reply)."
}
},
"required": [
"operation_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴kinsta_clear_site_cache(environment_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴kinsta_clear_edge_cache(environment_id, url, clear_subdirectories)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
},
"url": {
"description": "Only clear this URL (leave empty to clear the whole environment).",
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"clear_subdirectories": {
"description": "With url: also clear the pages below it (default false).",
"type": "boolean"
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴kinsta_clear_cdn_cache(environment_id, cdn_cache_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
},
"cdn_cache_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The environment's cdn_cache_id (from kinsta_list_sites / kinsta_list_site_environments)."
}
},
"required": [
"environment_id",
"cdn_cache_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴kinsta_restart_php(environment_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡kinsta_create_manual_backup(environment_id, tag)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Kinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments)."
},
"tag": {
"description": "A short note for the backup (shown in MyKinsta).",
"type": "string",
"maxLength": 200
}
},
"required": [
"environment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis