# SiteBay WordPress MCP

Manage WordPress sites and deployments through automated configuration and resource management. Execute shell commands, edit site files, and restore backups to streamline development workflows. Coord…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add sitebay/sitebay-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list sitebay/sitebay-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get sitebay/sitebay-mcp sitebay_list_sites

# Call a tool
npx -y @smithery/cli@latest tool call sitebay/sitebay-mcp sitebay_list_sites '{}'
```

## Direct MCP Connection

Endpoint: `https://sitebay.run.tools`

**Required config:**
- `apiKey` (query) — You token, can be found in my.sitebay.org/settings

## Tools (16)

- `sitebay_list_sites` — List all WordPress sites for the authenticated user
- `sitebay_get_site` — Get detailed information about a specific WordPress site
- `sitebay_create_site` — Create a new WordPress site
- `sitebay_update_site` — Update an existing WordPress site configuration
- `sitebay_delete_site` — Delete a WordPress site permanently. Cannot be undone.
- `sitebay_site_shell_command` — Execute a shell command on a WordPress site (supports WP-CLI)
- `sitebay_site_edit_file` — Edit a file in the site's wp-content directory using search/replace blocks
- `sitebay_list_teams` — List all teams for the authenticated user
- `sitebay_list_ready_made_sites` — List available ready-made site templates
- `sitebay_wordpress_proxy` — Proxy requests to a WordPress site's REST API
- `sitebay_shopify_proxy` — Proxy requests to Shopify Admin API
- `sitebay_posthog_proxy` — Proxy requests to PostHog analytics API
- `sitebay_backup_list_commits` — List available backup commits for point-in-time restore
- `sitebay_backup_restore` — Restore a site to a previous point in time
- `sitebay_account_affiliates` — Get affiliate referral information
- `sitebay_account_create_checkout` — Create a Stripe checkout session for team billing

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get sitebay/sitebay-mcp <tool-name>
```

## Resources

- `sitebay://sites` — List of all WordPress sites for the authenticated user
- `sitebay://teams` — List of all teams for the authenticated user

## Prompts (2)

- `manage-site` (fqdn) — Get guidance on managing a specific WordPress site
- `setup-new-site` — Walk through creating a new WordPress site on SiteBay
