# Kinsta MCP by usefulapi

> Kinsta MCP by usefulapi is an MCP server. Read Kinsta sites, environments, backups, logs and analytics; clear caches, restart PHP, back up. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://usefulapi.io/kinsta/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/kinsta
- **MCP Registry name:** io.usefulapi/kinsta
- **Listing updated:** 2026-11-13

## About

Read Kinsta sites, environments, backups, logs and analytics; clear caches, restart PHP, back up.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http kinsta https://kinsta.usefulapi.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://kinsta.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "kinsta": {
      "url": "https://kinsta.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "kinsta": {
      "type": "http",
      "url": "https://kinsta.usefulapi.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "kinsta": {
      "serverUrl": "https://kinsta.usefulapi.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "kinsta": {
      "type": "http",
      "url": "https://kinsta.usefulapi.io/mcp"
    }
  }
}
```

## Tools

- `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.
- `kinsta_list_available_regions`: The data center regions (name and region code) the company can host sites in. GET /company/{id}/available-regions.
- `kinsta_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.
- `kinsta_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.
- `kinsta_get_site`: One site by id, with its status and environments. GET /sites/{site_id}.
- `kinsta_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.
- `kinsta_get_site_usage`: A site's usage for the current billing month: visits, bandwidth or CDN bandwidth. GET /sites/{site_id}/usage/{metric}/this-month.
- `kinsta_list_environment_domains`: The domains attached to one environment (id, name, whether Kinsta DNS/Cloudflare is used). GET /sites/environments/{env_id}/domains.
- `kinsta_list_company_domains`: All domains the company has in Kinsta DNS / hosting, across sites. GET /domains.
- `kinsta_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.
- `kinsta_list_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.
- `kinsta_list_themes`: The themes of one environment: name, title, status, version, available update version and vulnerability flags. GET /sites/environments/{env_id}/wp-themes.
- `kinsta_get_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.
- `kinsta_get_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}.
- `kinsta_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.
- `kinsta_list_redirect_rules`: The environment's redirect rules (from, to, type, domain, optional country/city targeting), paged. GET /sites/environments/{env_id}/redirect-rules.
- `kinsta_list_denied_ips`: The IP addresses and ranges blocked from the environment. GET /sites/tools/denied-ips.
- `kinsta_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}.
- `kinsta_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.
- `kinsta_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.
- `kinsta_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.
- `kinsta_restart_php`: 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.
- `kinsta_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.

## FAQ

### How do I add Kinsta MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http kinsta https://kinsta.usefulapi.io/mcp

---
Source: https://ai-powered.com/mcp/kinsta-mcp-by-usefulapi
