Kinsta MCP Server

Model Context Protocol (MCP) server for Kinsta WordPress hosting

Local serverstdioGo

What is the Kinsta MCP Server?

Model Context Protocol (MCP) server for Kinsta WordPress hosting

The short version

This server allows AI assistants (like Claude) to interact with your Kinsta sites and infrastructure securely via the Kinsta API.

What it needs from you

  • Node.js v22 or higher - A Kinsta account with API access - A Kinsta API key (see Generate an API Key)

Recorded tools

  • kinsta.tools.clear-cache — Clear the server cache for an environment (returns an operation_id)
  • kinsta.tools.restart-php — Restart PHP for an environment (returns an operation_id)
  • kinsta.tools.php-version — Change the PHP version for an environment (returns an operation_id)
  • kinsta.tools.denied-ips — Get the list of denied (blocked) IP addresses for an environment
  • kinsta.tools.denied-ips.update — Update the list of denied (blocked) IP addresses for an environment

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
kinsta_pingCheck server status and API credential configuration
kinsta_auth_validateValidate the current Kinsta API key and return account information if valid
kinsta_operations_statusCheck the status of an asynchronous Kinsta operation by operation ID
kinsta_company_usersList all users in your Kinsta company
kinsta_company_regionsList all available deployment regions for your Kinsta company
kinsta_company_api-keysList all API keys for your Kinsta company
kinsta_company_activity-logsList company activity logs (supports filtering and pagination)
kinsta_company_pluginsList WordPress plugins across all sites (supports search/filter/pagination)
kinsta_company_themesList WordPress themes across all sites (supports search/filter/pagination)
kinsta_sites_listList all WordPress sites (optionally include environment details)
kinsta_sites_getGet details for a specific Kinsta site by ID
kinsta_sites_createCreate a new WordPress site (returns an operation_id)
kinsta_sites_create-plainCreate a new plain (empty) site without WordPress installed (returns an operation_id)
kinsta_sites_cloneClone an existing site (returns an operation_id)
kinsta_sites_deleteDelete a Kinsta site permanently (cannot be undone)
kinsta_sites_resetReset a site to a fresh WordPress install (destructive)
kinsta_environments_listList all environments for a site
kinsta_environments_createCreate a new WordPress environment for a site (returns an operation_id)
kinsta_environments_create-plainCreate a new plain (empty) environment for a site (returns an operation_id)
kinsta_environments_cloneClone an existing environment (returns an operation_id)
kinsta_environments_pushPush one environment to another (destructive; returns an operation_id)
kinsta_environments_deleteDelete an environment (cannot be undone)
kinsta_environments_php-allocationChange PHP worker allocation for an environment (returns an operation_id)
kinsta_environments_php-allocation-siteChange PHP worker allocation for all environments in a site (returns an operation_id)
kinsta_environments_webrootChange the webroot subfolder for an environment (returns an operation_id)
kinsta_environments_filesList files in an environment's file system
kinsta_environments_redirectsList redirect rules for an environment (supports filtering/pagination)
kinsta_environments_redirects_updateCreate, update, or delete redirect rules for an environment
kinsta_environments_ssh_statusGet SSH/SFTP status for an environment
kinsta_environments_ssh_toggleEnable or disable SSH/SFTP access for an environment
kinsta_environments_ssh_password-accessEnable or disable SSH password-based access
kinsta_environments_ssh_generate-passwordGenerate a new SSH/SFTP password
kinsta_environments_ssh_passwordGet the current SSH/SFTP password
kinsta_environments_ssh_ip-allowlistGet the SSH IP allowlist
kinsta_environments_ssh_ip-allowlist_updateUpdate the SSH IP allowlist
kinsta_environments_ssh_configGet SSH connection configuration for an environment
kinsta_environments_ssh_password-expirationChange SSH password expiration interval
kinsta_environments_wp-cliRun a WP-CLI command on an environment (must start with wp )
kinsta_environments_phpmyadminGet a phpMyAdmin login token for an environment
kinsta_environments_wpa_login-urlCreate a WordPress admin login URL for an existing user
kinsta_environments_wpa_create-userCreate a WordPress admin user
kinsta_environments_wpa_user-existsCheck whether a WordPress admin user exists
kinsta_tools_clear-cacheClear the server cache for an environment (returns an operation_id)
kinsta_tools_restart-phpRestart PHP for an environment (returns an operation_id)
kinsta_tools_php-versionChange the PHP version for an environment (returns an operation_id)
kinsta_tools_denied-ipsGet the list of denied (blocked) IP addresses for an environment
kinsta_tools_denied-ips_updateUpdate the list of denied (blocked) IP addresses for an environment
kinsta_tools_force-https_getGet the Force HTTPS status for an environment
kinsta_tools_force-https_setSet the Force HTTPS status for an environment
kinsta_tools_search-and-replacePreview or perform a database search and replace
kinsta_plugins_listList all plugins for an environment
kinsta_plugins_updateUpdate a single plugin (returns an operation_id)
kinsta_plugins_bulk-updateUpdate multiple plugins at once (returns an operation_id)
kinsta_plugins_list-wpList plugins with details from the WordPress.org repository
kinsta_themes_listList all themes for an environment
kinsta_themes_updateUpdate a single theme (returns an operation_id)
kinsta_themes_bulk-updateUpdate multiple themes at once (returns an operation_id)
kinsta_themes_list-wpList themes with details from the WordPress.org repository
kinsta_domains_listList all custom domains for an environment
kinsta_domains_addAdd a custom domain to an environment
kinsta_domains_deleteRemove custom domains from an environment
kinsta_domains_verificationGet DNS verification records for a domain
kinsta_domains_set-primarySet the primary domain for an environment
kinsta_dns_domainsList all DNS domains for your company
kinsta_dns_recordsList DNS records for a domain
kinsta_dns_records_createCreate a new DNS record
kinsta_dns_records_updateUpdate an existing DNS record
kinsta_dns_records_deleteDelete a DNS record
kinsta_edge-cache_clearClear the edge cache for an environment (returns an operation_id)
kinsta_edge-cache_toggleEnable or disable edge caching for an environment
kinsta_cdn_clear-cacheClear the CDN cache for an environment (returns an operation_id)
kinsta_cdn_image-optimizationConfigure CDN image optimization settings
kinsta_sftp-users_listList additional SFTP/SSH user accounts for an environment
kinsta_sftp-users_toggleEnable or disable additional SFTP/SSH accounts
kinsta_sftp-users_addAdd a new additional SFTP/SSH user account
kinsta_sftp-users_removeRemove an additional SFTP/SSH user account
kinsta_backups_listList all backups for an environment
kinsta_backups_downloadableList downloadable backups for an environment
kinsta_backups_createCreate a manual backup (returns an operation_id)
kinsta_backups_restoreRestore an environment from a backup (destructive; returns an operation_id)
kinsta_backups_deleteDelete a backup (cannot be undone)
kinsta_backups_create-downloadableCreate a downloadable backup
kinsta_backups_next-downloadableGet when the next downloadable backup can be created
kinsta_analytics_visitsGet visitor analytics for an environment over a date range
kinsta_analytics_visits-usageGet visitor usage analytics (billable visits)
kinsta_analytics_bandwidthGet bandwidth analytics for an environment over a date range
kinsta_analytics_bandwidth-usageGet bandwidth usage analytics (billable bandwidth)
kinsta_analytics_cdn-bandwidthGet CDN bandwidth analytics for an environment over a date range
kinsta_analytics_cdn-bandwidth-usageGet CDN bandwidth usage analytics (billable CDN bandwidth)
kinsta_analytics_disk-spaceGet disk space usage analytics for an environment
kinsta_analytics_top-countriesGet top visitor countries
kinsta_analytics_top-citiesGet top visitor cities
kinsta_analytics_top-client-ipsGet top client IP addresses
kinsta_analytics_top-asnsGet top autonomous system numbers
kinsta_analytics_top-browsersGet top browsers
kinsta_analytics_top-hostsGet top hosts
kinsta_analytics_top-referrersGet top referrers
kinsta_analytics_top-uasGet top user agents
kinsta_analytics_visits-dispersionGet visit dispersion
kinsta_analytics_response-codesGet response code breakdown
kinsta_logs_getGet log file contents for an environment

How to install the Kinsta MCP Server

{
  "mcpServers": {
    "kinsta": {
      "command": "npx",
      "args": [
        "-y",
        "kinsta-mcp"
      ],
      "env": {
        "KINSTA_API_KEY": "YOUR_KINSTA_API_KEY",
        "KINSTA_COMPANY_ID": "your-company-id"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js v22 or higher - A Kinsta account with API access - A Kinsta API key (see Generate an API Key)
VariableDescriptionRequired
KINSTA_API_KEYDeclared in the maintainer’s client configuration.Check documentation
KINSTA_COMPANY_IDDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Kinsta MCP to kinsta.tools.clear-cache.”
  • “Use Kinsta MCP to kinsta.tools.restart-php.”
  • “Use Kinsta MCP to kinsta.tools.php-version.”

Frequently asked questions

Model Context Protocol (MCP) server for Kinsta WordPress hosting Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.