MCP server for the GridPane hosting platform API. Manage WordPress servers and sites through Claude, Cursor, or any MCP client.
Project description
gridpane-mcp
A Model Context Protocol (MCP) server for the GridPane hosting platform API. Manage your WordPress servers and sites through Claude, Cursor, or any MCP-compatible client.
Features
Server Management
- list_servers — List all servers with IPs, status, and site counts
- get_server — Get detailed server info by ID
- search_server — Find servers by name (partial match)
- restart_nginx — Restart Nginx on a server
- restart_php — Restart PHP-FPM for a specific PHP version
- restart_mysql — Restart MySQL/MariaDB/Percona
Site Management
- list_sites — List all WordPress sites across all servers
- get_site — Get detailed site info by ID
- search_site — Find sites by domain name (partial match)
- toggle_ssl — Toggle SSL on/off
- toggle_site_cache — Toggle Nginx caching
- purge_site_cache — Purge all server-level caches
- toggle_debug — Toggle WordPress debug mode
- change_php_version — Change PHP version (7.4, 8.0, 8.1, 8.2, 8.3)
- get_sso_link — Get a Single Sign-On link to wp-admin
- trigger_backup — Trigger a manual backup
Prerequisites
- A GridPane account (Developer plan or above)
- A GridPane API token (Settings > GridPane API > Create New Token)
Installation
pip install gridpane-mcp
Or with uv:
uv pip install gridpane-mcp
Configuration
Set your GridPane API token as an environment variable:
export GRIDPANE_API_TOKEN="your_token_here"
Claude Code
claude mcp add gridpane -e GRIDPANE_API_TOKEN=your_token_here -- gridpane-mcp
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"gridpane": {
"command": "gridpane-mcp",
"env": {
"GRIDPANE_API_TOKEN": "your_token_here"
}
}
}
}
Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"gridpane": {
"command": "gridpane-mcp",
"env": {
"GRIDPANE_API_TOKEN": "your_token_here"
}
}
}
}
Usage Examples
Once connected, you can ask your AI assistant things like:
- "List all my GridPane servers"
- "Find sites with 'supple' in the domain"
- "Purge cache for site ID 661035"
- "Restart Nginx on the accesshealth server"
- "What PHP version is accesshealth.com.au running?"
- "Toggle debug mode on site 661035"
Environment Variables
| Variable | Default | Description |
|---|---|---|
GRIDPANE_API_TOKEN |
(required) | Your GridPane API personal access token |
GRIDPANE_API_URL |
https://my.gridpane.com/oauth/api/v1 |
GridPane API base URL |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gridpane_mcp-0.1.0.tar.gz.
File metadata
- Download URL: gridpane_mcp-0.1.0.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5aec46c5a9aaad75fb0bb6e12ae73912d138ac872f0f83c81ad558e87108a49
|
|
| MD5 |
a92816ba446e4476f50ad12aadfc2581
|
|
| BLAKE2b-256 |
9d9da30c56ee79528b5e5b092d8919936bf7747f326f8c01f82c83368b350bdf
|
File details
Details for the file gridpane_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gridpane_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e16bb6421d64b9b393e8b84738227dafba7b1b97518bf7eb1c952e6789c48cb
|
|
| MD5 |
0889c06378adf7055f64fb7fc8d8269f
|
|
| BLAKE2b-256 |
e1d76ef8af156edbed09bf31e89440421a619ab482eb71375bf9c1466ef0407f
|