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
Metadata
Release files for gridpane-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gridpane_mcp-0.1.0.tar.gz | 36.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gridpane_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.4 kB
Release files / gridpane_mcp-0.1.0.tar.gz
| Download URL | gridpane_mcp-0.1.0.tar.gz |
|---|---|
| Size | 36.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5aec46c5a9aaad75fb0bb6e12ae73912d138ac872f0f83c81ad558e87108a49
|
|
BLAKE2b-256 checksum How to use checksums |
9d9da30c56ee79528b5e5b092d8919936bf7747f326f8c01f82c83368b350bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / gridpane_mcp-0.1.0-py3-none-any.whl
| Download URL | gridpane_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e16bb6421d64b9b393e8b84738227dafba7b1b97518bf7eb1c952e6789c48cb
|
|
BLAKE2b-256 checksum How to use checksums |
e1d76ef8af156edbed09bf31e89440421a619ab482eb71375bf9c1466ef0407f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for gridpane-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.