Kinsta MCP Server
Allows interaction with the Kinsta WordPress hosting platform, enabling management of sites, environments, users, API keys, activity logs, and more via the Kinsta API.
Provides tools for managing WordPress sites, including creating, cloning, resetting sites, managing plugins and themes across sites, and handling environment configurations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kinsta MCP Serverlist my WordPress sites"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kinsta MCP Server
A Model Context Protocol (MCP) server for the Kinsta WordPress hosting platform.
This server allows AI assistants (like Claude) to interact with your Kinsta sites and infrastructure securely via the Kinsta API.
Quick Start
Prerequisites
Node.js v22 or higher
A Kinsta account with API access
A Kinsta API key (see Generate an API Key)
Step 1: Generate a Kinsta API Key
Log in to MyKinsta
Go to Your name > Company settings > API Keys
Click Create API Key
Choose an expiration and give the key a name
Click Generate and copy the key (it's only shown once)
You'll also need your Company ID, which can be found in MyKinsta under Company settings.
Step 2: Configure Your MCP Client
Choose the setup that matches your MCP client:
Claude Desktop (Recommended)
Add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"kinsta": {
"command": "npx",
"args": ["-y", "kinsta-mcp"],
"env": {
"KINSTA_API_KEY": "your-api-key",
"KINSTA_COMPANY_ID": "your-company-id"
}
}
}
}Claude Code (CLI)
Add to your Claude Code MCP settings (~/.claude/mcp.json or project-level):
{
"mcpServers": {
"kinsta": {
"command": "npx",
"args": ["-y", "kinsta-mcp"],
"env": {
"KINSTA_API_KEY": "your-api-key",
"KINSTA_COMPANY_ID": "your-company-id"
}
}
}
}Cursor
In Cursor settings, add an MCP server:
{
"mcpServers": {
"kinsta": {
"command": "npx",
"args": ["-y", "kinsta-mcp"],
"env": {
"KINSTA_API_KEY": "your-api-key",
"KINSTA_COMPANY_ID": "your-company-id"
}
}
}
}Related MCP server: WooCommerce MCP Server
Configuration Reference
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Kinsta API key (Bearer token) |
| Yes | - | Your Kinsta company ID |
| No |
| API base URL (override for testing) |
Features
Tools
The server provides 83 tools organized by category:
Connectivity
Tool | Description |
| Check server status and API credential configuration |
Authentication
Tool | Description |
| Validate the current Kinsta API key and return account information if valid |
Operations
Tool | Description |
| Check the status of an asynchronous Kinsta operation by operation ID |
Company
Tool | Description |
| List all users in your Kinsta company |
| List all available deployment regions for your Kinsta company |
| List all API keys for your Kinsta company |
| List company activity logs (supports filtering and pagination) |
| List WordPress plugins across all sites (supports search/filter/pagination) |
| List WordPress themes across all sites (supports search/filter/pagination) |
Sites
Tool | Description |
| List all WordPress sites (optionally include environment details) |
| Get details for a specific Kinsta site by ID |
| Create a new WordPress site (returns an |
| Create a new plain (empty) site without WordPress installed (returns an |
| Clone an existing site (returns an |
| Delete a Kinsta site permanently (cannot be undone) |
| Reset a site to a fresh WordPress install (destructive) |
Environments
Tool | Description |
| List all environments for a site |
| Create a new WordPress environment for a site (returns an |
| Create a new plain (empty) environment for a site (returns an |
| Clone an existing environment (returns an |
| Push one environment to another (destructive; returns an |
| Delete an environment (cannot be undone) |
| Change PHP worker allocation for an environment (returns an |
| Change PHP worker allocation for all environments in a site (returns an |
| Change the webroot subfolder for an environment (returns an |
| List files in an environment's file system |
| List redirect rules for an environment (supports filtering/pagination) |
| Create, update, or delete redirect rules for an environment |
| Get SSH/SFTP status for an environment |
| Enable or disable SSH/SFTP access for an environment |
| Enable or disable SSH password-based access |
| Generate a new SSH/SFTP password |
| Get the current SSH/SFTP password |
| Get the SSH IP allowlist |
| Update the SSH IP allowlist |
| Get SSH connection configuration for an environment |
| Change SSH password expiration interval |
| Run a WP-CLI command on an environment (must start with |
| Get a phpMyAdmin login token for an environment |
Site Tools
Tool | Description |
| Clear the server cache for an environment (returns an |
| Restart PHP for an environment (returns an |
| Change the PHP version for an environment (returns an |
| Get the list of denied (blocked) IP addresses for an environment |
| Update the list of denied (blocked) IP addresses for an environment |
Plugins & Themes
Tool | Description |
| List all plugins for an environment |
| Update a single plugin (returns an |
| Update multiple plugins at once (returns an |
| List plugins with details from the WordPress.org repository |
| List all themes for an environment |
| Update a single theme (returns an |
| Update multiple themes at once (returns an |
| List themes with details from the WordPress.org repository |
Domains
Tool | Description |
| List all custom domains for an environment |
| Add a custom domain to an environment |
| Remove custom domains from an environment |
| Get DNS verification records for a domain |
| Set the primary domain for an environment |
DNS (Kinsta DNS)
Tool | Description |
| List all DNS domains for your company |
| List DNS records for a domain |
| Create a new DNS record |
| Update an existing DNS record |
| Delete a DNS record |
Edge Cache & CDN
Tool | Description |
| Clear the edge cache for an environment (returns an |
| Enable or disable edge caching for an environment |
| Clear the CDN cache for an environment (returns an |
| Configure CDN image optimization settings |
SFTP Users
Tool | Description |
| List additional SFTP/SSH user accounts for an environment |
| Enable or disable additional SFTP/SSH accounts |
| Add a new additional SFTP/SSH user account |
| Remove an additional SFTP/SSH user account |
Backups
Tool | Description |
| List all backups for an environment |
| List downloadable backups for an environment |
| Create a manual backup (returns an |
| Restore an environment from a backup (destructive; returns an |
| Delete a backup (cannot be undone) |
Analytics
Tool | Description |
| Get visitor analytics for an environment over a date range |
| Get visitor usage analytics (billable visits) |
| Get bandwidth analytics for an environment over a date range |
| Get bandwidth usage analytics (billable bandwidth) |
| Get CDN bandwidth analytics for an environment over a date range |
| Get CDN bandwidth usage analytics (billable CDN bandwidth) |
| Get disk space usage analytics for an environment |
Logs
Tool | Description |
| Get log file contents for an environment |
Resources
The server exposes data as MCP resources:
Static Resources
Resource URI | Description |
| List all WordPress sites in your Kinsta company |
| List available deployment regions |
Resource Templates
Resource URI | Description |
| Details for a specific site |
| Environments for a specific site |
Prompts
The server provides guided prompts for common workflows:
Prompt | Description |
| Guide through creating a new WordPress site on Kinsta |
| Guide for backup list, create, restore, download, and delete workflows |
| Guide for pushing changes between environments (e.g. staging to live) |
| Guide for adding a custom domain to a Kinsta environment |
Development
Setup
# Clone the repo
git clone https://github.com/jacob-hartmann/kinsta-mcp.git
cd kinsta-mcp
# Use the Node.js version from .nvmrc
# (macOS/Linux nvm): nvm install && nvm use
# (Windows nvm-windows): nvm install 22 && nvm use 22
nvm install
nvm use
# Install dependencies
pnpm install
# Copy .env.example and configure
cp .env.example .env
# Edit .env with your API key and company IDRunning Locally
# Development mode (auto-reload)
pnpm dev
# Production build
pnpm build
# Production run
pnpm startDebugging
You can use the MCP Inspector to debug the server:
# Run from source
pnpm inspect
# Run from built output
pnpm inspect:distpnpm inspect loads .env automatically via dotenv (see .env.example).
If you see Ignored build scripts: esbuild..., run pnpm approve-builds and allow esbuild.
In CI we install dependencies with lifecycle scripts disabled (pnpm install --ignore-scripts) and then explicitly rebuild only esbuild for the production build job.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
Security
See SECURITY.md for security policy and reporting vulnerabilities.
Support
This is a community project provided "as is" with no guaranteed support. See SUPPORT.md for details.
License
MIT © Jacob Hartmann
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jacob-hartmann/kinsta-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server