Skip to main content
Glama
SiteBay MCP Server
by sitebay

πŸš€ SiteBay MCP Server

Smithery Python 3.10+ License: MIT MCP

Manage WordPress hosting through natural language with Claude

Features β€’ Installation β€’ Configuration β€’ Usage β€’ Support


A Model Context Protocol (MCP) server that gives Claude direct access to the SiteBay WordPress hosting platform. Manage sites, execute commands, and control your cloud infrastructureβ€”all through conversation.


✨ Features

🌐 Site Management

  • List all your hosted WordPress sites

  • Get detailed site information (active, HTTP auth, plan)

  • Create new WordPress sites using ready-made templates

  • Update settings (Cloudflare, domain, HTTP auth, Git URL)

  • Delete sites

⚑ Site Operations

  • Execute shell commands on SiteBay servers

  • Run WP-CLI commands directly

  • Edit files in wp-content directory

πŸ›  Advanced Features

  • πŸ”œ Point-in-time backup restores

  • πŸ”œ Team management for collaborative hosting

  • πŸ”œ WordPress/Shopify/PostHog API proxy

πŸ—Ί Helper Tools

  • Browse ready-made site templates

  • πŸ”œ Account and billing information


Related MCP server: WordPress Developer MCP Server

πŸ“¦ Installation

🎯 Via Smithery (Fastest)

npx -y @smithery/cli install @sitebay/sitebay-mcp --client claude
# Install and run directly
uvx sitebay-mcp

# Or install for repeated use
uv tool install sitebay-mcp
sitebay-mcp

🌐 HTTP Transport

πŸ’‘ Recommended for hosted deployments

# Defaults to 127.0.0.1:7823
uvx sitebay-mcp --http

# Or specify host/port
uvx sitebay-mcp --http --host 0.0.0.0 --port 7823

# Environment variables also supported
MCP_TRANSPORT=http MCP_HTTP_HOST=0.0.0.0 MCP_HTTP_PORT=7823 uvx sitebay-mcp

🐍 Using pip

pip install sitebay-mcp

# Or from source
git clone https://github.com/sitebay/sitebay-mcp.git
cd sitebay-mcp && pip install -e .

βš™οΈ Configuration

Step 1: Get Your API Token

  1. Log in to my.sitebay.org

  2. Navigate to Settings β†’ API Tokens

  3. Generate and copy your token

Step 2: Configure Claude Desktop

Choose your installation method:

{
  "mcpServers": {
    "sitebay": {
      "command": "uvx",
      "args": ["sitebay-mcp"],
      "env": {
        "SITEBAY_API_TOKEN": "your_api_token_here"
      }
    }
  }
}
{
  "mcpServers": {
    "sitebay": {
      "command": "python",
      "args": ["-m", "sitebay_mcp.server"],
      "env": {
        "SITEBAY_API_TOKEN": "your_api_token_here"
      }
    }
  }
}
{
  "mcpServers": {
    "sitebay": {
      "url": "http://127.0.0.1:7823",
      "env": {
        "SITEBAY_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Config File Locations

Platform

Path

🍎 macOS

~/Library/Application Support/Claude/claude_desktop_config.json

πŸͺŸ Windows

%APPDATA%\Claude\claude_desktop_config.json

οΏ½οΏ½ Linux

~/.config/claude/claude_desktop_config.json


πŸ’¬ Usage Examples

πŸ†• Create a Site

Create a new WordPress site on team 00000000-0000-4000-a000-000000000000 
with domain "www.example.org", blog name "Example", admin Jane Smith 
(email admin@example.org), username "taylor89", password "AStrongPassword". 
Use ready-made site "blog-basic" and set Git URL to https://github.com/acme/wp-site

πŸ“‹ Manage Sites

List all my WordPress sites and show their current status
Get detailed information about myblog.example.com
Enable Cloudflare dev mode for myblog.example.com
Turn on HTTP auth for myblog.example.com

πŸ–₯️ Execute Commands

Run "wp plugin list" on myblog.example.com
Execute "wp search-replace 'http://old.com' 'https://new.com'" on myblog.example.com
Check disk usage on myblog.example.com with "df -h"

πŸ“ File Management

Edit the style.css file in my active theme on myblog.example.com

🧰 Available Tools

Tool

Description

sitebay_list_sites

List all WordPress sites hosted on SiteBay

sitebay_get_site

Get detailed information about a hosted site

sitebay_create_site

Create a new WordPress site on SiteBay

sitebay_update_site

Update site configuration

sitebay_delete_site

Delete a hosted site

sitebay_site_shell_command

Execute shell/WP-CLI commands

sitebay_site_edit_file

Edit files in wp-content

sitebay_list_ready_made_sites

List available ready-made templates


πŸ”’ Security

  • βœ… API tokens stored securely in environment variables

  • βœ… All communications use HTTPS encryption

  • βœ… Tokens can be revoked anytime from your dashboard

  • βœ… MCP server runs locallyβ€”no data stored


πŸ› Troubleshooting

  1. Verify your API token is correct

  2. Check that the token is properly set in the environment variable

  3. Ensure the token hasn't expired

  4. Try regenerating from your SiteBay account

  1. Check your internet connection

  2. Verify SiteBay service status

  3. Check firewall settings

  4. Try restarting Claude Desktop

  1. Restart Claude Desktop after configuration changes

  2. Verify the configuration file location

  3. Check JSON syntax is valid

  4. Ensure uvx or Python is properly installed


🀝 Contributing

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes

  4. Add tests for new functionality

  5. Ensure all tests pass

  6. Submit a pull request


πŸ“„ License

MIT License - see LICENSE for details.


πŸ†˜ Support

Resource

Link

πŸ› Issues

GitHub Issues

πŸ“– API Docs

SiteBay API Documentation

πŸ’¬ Help

SiteBay Help Center


Made with ❀️ by SiteBay

Available Tools

16 tools
sitebay_account_affiliatesB

Get affiliate referral information.

Returns: List of users who signed up using your affiliate links

Inputs: no named parameters. Returns: result

sitebay_account_create_checkoutC

Create a Stripe checkout session for team billing.

Args: plan_name: Plan type ("starter", "business", "micro") interval: Billing interval ("month", "year") team_id: Optional team ID to purchase for

Returns: Stripe checkout URL

Inputs: plan_name, interval, team_id. Returns: result

sitebay_backup_list_commitsC

List available backup commits for point-in-time restore.

Args: fqdn: The site domain number_to_fetch: Number of backup entries to fetch (default: 1)

Returns: List of available backup commits

Inputs: fqdn (required), number_to_fetch. Returns: result

sitebay_backup_restoreB

Restore a site to a previous point in time.

Args (PITRestoreCreate schema): fqdn: The site domain restore_point: ISO datetime string (or omit for latest) for_stage_site: Whether to restore the stage site restore_db: Restore database (default true) restore_wp_content: Restore wp-content (default true) delete_extra_files: Delete extra files from target (default false) dolt_restore_hash: Optional Dolt hash to restore DB is_dry_run: Simulate restore without applying changes

Returns: Restore operation confirmation

Inputs: fqdn (required), restore_point, for_stage_site, restore_db, +4 more. Returns: result

sitebay_create_siteB

Create a new WordPress site (SiteLiveCreate schema).

Args: team_id: Team UUID that owns the site fqdn: The fully qualified domain name for the new site (e.g., "www.example.org") wordpress_blog_name: Blog/site title wordpress_first_name: Admin first name wordpress_last_name: Admin last name wordpress_email: Admin email address wordpress_username: Admin username wordpress_password: Admin password (strong) git_url: Optional Git repository URL ready_made_site_name: Optional ready-made site name is_free: Optional flag for free plan

Returns: Success message with new site details and access information

Inputs: team_id (required), fqdn (required), wordpress_blog_name (required), wordpress_first_name (required), +7 more. Returns: result

sitebay_delete_siteA

Delete a WordPress site permanently. This action cannot be undone.

Args: fqdn: The fully qualified domain name of the site to delete

Returns: Confirmation message

Inputs: fqdn (required). Returns: result

sitebay_get_siteB

Get detailed information about a specific WordPress site.

Args: fqdn: The fully qualified domain name of the site (e.g., "www.example.com")

Returns: Detailed site information including status, versions, URLs, and configuration

Inputs: fqdn (required). Returns: result

sitebay_list_ready_made_sitesB

List available ready-made sites for quick launches.

Returns: List of ready-made sites with descriptions

Inputs: no named parameters. Returns: result

sitebay_list_sitesB

List all WordPress sites for the authenticated user.

Args: team_id: Optional team ID (UUID4) to filter sites by team

Returns: Formatted string with site details including domain, status, region, and versions

Inputs: team_id. Returns: result

sitebay_list_teamsA

List all teams for the authenticated user.

Returns: Formatted list of teams with their details and member information

Inputs: no named parameters. Returns: result

sitebay_posthog_proxyC

Proxy POST requests to PostHog analytics API.

Args: path: PostHog API path query_params_json: Optional JSON string for payload or query params method: HTTP method (get, post, put, delete)

Returns: PostHog API response

Inputs: path (required), query_params_json, method. Returns: result

sitebay_shopify_proxyC

Proxy requests to a Shopify Admin API.

Args: shop_name: Shopify shop name path: Shopify API path (e.g., "/admin/api/2024-04/products.json") query_params_json: Optional JSON string for payload or query params method: HTTP method (get, post, put, delete)

Returns: Shopify API response

Inputs: shop_name (required), path, query_params_json, method. Returns: result

sitebay_site_edit_fileC

Edit a file in the site's wp-content directory.

Args: fqdn: The fully qualified domain name of the site file_path: Path to the file in wp-content (e.g., "wp-content/themes/mytheme/style.css") content: New content for the file

Returns: Success confirmation with file details

Inputs: fqdn (required), file_path (required), file_edit_using_search_replace_blocks (required). Returns: result

sitebay_site_shell_commandB

Execute a shell command on a WordPress site. Supports WP-CLI commands, system commands, etc.

Args: fqdn: The fully qualified domain name of the site command: The shell command to execute (e.g., "wp plugin list", "ls -la", "wp search-replace")

Returns: Command output and execution details

Inputs: fqdn (required), command (required), cwd, auto_track_dir. Returns: result

sitebay_update_siteA

Update an existing SiteBay site configuration.

Args: fqdn: Site domain to update cf_dev_mode_enabled: Enable/disable Cloudflare dev mode new_fqdn: Change the site domain git_url: Set repository URL for deployments http_auth_enabled: Enable/disable HTTP basic auth team_id: Move site to a different team is_free: Toggle free plan flag

Returns: Confirmation message with updated settings

Inputs: fqdn (required), cf_dev_mode_enabled, new_fqdn, git_url, +3 more. Returns: result

sitebay_wordpress_proxyB

Proxy requests to a WordPress site's REST API.

Args: fqdn: The site domain path: WordPress API path (e.g., "/wp-json/wp/v2/posts") query_params_json: Optional JSON string for payload or query params method: HTTP method (get, post, put, delete)

Returns: WordPress API response

Inputs: fqdn (required), path, query_params_json, method. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific SiteBay resources like sites, backups, teams, and proxies. However, the three proxy tools (posthog_proxy, shopify_proxy, wordpress_proxy) have overlapping functionality patterns that could cause confusion about which to use for different API integrations.

    Naming Consistency5/5

    All tools follow a consistent sitebay_ prefix with snake_case naming and clear verb_noun patterns (e.g., create_site, delete_site, list_sites, get_site). The naming convention is predictable and well-structured throughout the entire tool set.

    Tool Count4/5

    16 tools is reasonable for a comprehensive WordPress hosting platform covering site management, backups, billing, and integrations. The count feels slightly high but appropriate for the domain scope, with each tool serving a distinct operational need.

    Completeness5/5

    The tool set provides complete lifecycle coverage for WordPress site management including create, read, update, delete operations, plus backups, billing, team management, and file/command execution. No obvious gaps exist for the core SiteBay platform functionality.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers