SpinupWP MCP by usefulapi
v1.28.1Read SpinupWP servers, sites and events; purge caches, restart services, run git deploys.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
spinupwp_list_servers List servers
List the servers in your SpinupWP team: name, provider, region, size, IP, Ubuntu version, disk space, connection status and whether a reboot or upgrade is required. GET /servers.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
spinupwp_get_server Get server
One server by id: provider, size, disk usage, database server, connection status, reboot/upgrade-required flags and install notes. GET /servers/{id}.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | SpinupWP server id (from spinupwp_list_servers). |
spinupwp_list_sites List sites
List sites across your servers (or one server): domain, PHP version, WordPress flag, HTTPS, page cache, backups, pending WordPress core/theme/plugin updates, git deploy settings and status. Deploy-trigger URLs are hidden. GET /sites.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
server_id | integer | Only sites on this server id. |
spinupwp_get_site Get site
One site by id with its full settings: domains, PHP version, page cache, HTTPS, nginx options, database reference, backup schedule and storage, WordPress update counts, git repo/branch/deploy script, basic-auth username, cron and SpinupWP subdomain. The git deploy-trigger URL is hidden. GET /sites/{id}.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | SpinupWP site id (from spinupwp_list_sites). |
spinupwp_list_site_domains List site domains
The additional domains of a site, with their redirect settings (enabled, type, destination). GET /sites/{id}/domains.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | SpinupWP site id. |
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
spinupwp_list_site_path_redirects List site path redirects
The path redirects configured on a site (from, to, type permanent/redirect). GET /sites/{id}/path-redirects.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | SpinupWP site id. |
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
spinupwp_list_events List events
List recent events (the activity log: provisioning, restarts, deploys, cache purges) with who started them, status (queued, creating, updating, deleting, deployed, failed) and timestamps. Long command output is shortened; read one event for its full output. GET /events.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
spinupwp_get_event Get event
One event by id, with status and command output. Use it to see whether a purge, restart or deploy (which reply with an event_id) has finished or failed. GET /events/{id}.
| Parameter | Type | Description |
|---|---|---|
event_id * | integer | SpinupWP event id (the event_id a write tool returned). |
spinupwp_list_storage_providers List backup storage providers
The backup storage providers connected to the team (id, service, name). GET /storage-providers.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
spinupwp_list_team_ssh_keys List team SSH keys
The team's saved SSH public keys (id, name, fingerprint, public key). Public keys only; read-only. GET /ssh-keys.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
spinupwp_purge_page_cache Purge page cache
WRITE: purge the nginx page cache of one site. Pages are rebuilt on the next visit, so the site may be slower for a moment; nothing is lost. Asynchronous: returns an event_id. POST /sites/{id}/page-cache/purge.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | SpinupWP site id. |
spinupwp_purge_object_cache Purge object cache
WRITE: flush the Redis object cache of one site (the site must have object caching). The cache refills on demand. Asynchronous: returns an event_id. POST /sites/{id}/object-cache/purge.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | SpinupWP site id. |
spinupwp_correct_file_permissions Correct file permissions
WRITE: reset a site's files and folders to the permissions and ownership SpinupWP recommends (usually after a manual upload as the wrong user). Can take a while on big sites. Asynchronous: returns an event_id. POST /sites/{id}/file-permissions/correct.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | SpinupWP site id. |
spinupwp_deploy_site_git Run site git deploy
WRITE: pull the latest commit of the site's connected git branch and run its deploy script on the server. This changes the live site's files (and may run build/migration commands); it fails if git is not connected. Asynchronous: returns an event_id. POST /sites/{id}/git/deploy.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | SpinupWP site id (a site with git connected). |
spinupwp_restart_nginx Restart nginx
WRITE: restart nginx (web server) on one server. Visitors may see a brief interruption. Asynchronous: returns an event_id. POST /servers/{id}/services/nginx/restart.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | SpinupWP server id. |
spinupwp_restart_php Restart php
WRITE: restart PHP-FPM (every PHP version) on one server. Running PHP requests can fail or be cut off while it restarts. Asynchronous: returns an event_id. POST /servers/{id}/services/php/restart.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | SpinupWP server id. |
spinupwp_restart_mysql Restart mysql
WRITE: restart MySQL (database) on one server. All sites on the server lose database access for a short time; running queries are interrupted. Asynchronous: returns an event_id. POST /servers/{id}/services/mysql/restart.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | SpinupWP server id. |
spinupwp_restart_redis Restart redis
WRITE: restart Redis (object cache) on one server. Cached objects are lost and rebuilt on demand. Asynchronous: returns an event_id. POST /servers/{id}/services/redis/restart.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | SpinupWP server id. |
spinupwp_reboot_server Reboot server
WRITE: reboot a whole server. Every site on it is offline for the duration (typically a minute or two). Use it when spinupwp_get_server shows reboot_required. Asynchronous: returns an event_id. POST /servers/{id}/reboot.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | SpinupWP server id. |