SiteBay MCP Server

Manage your SiteBay WordPress hosting platform. Handle sites, execute server commands, and manage staging environments via natural language.

Documentation

๐Ÿš€ 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

๐Ÿ“ฆ Installation

๐ŸŽฏ Via Smithery (Fastest)

npx -y @smithery/cli install @sitebay/sitebay-mcp --client claude

๐Ÿ“ฆ Using uvx (Recommended)

# 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

๐Ÿ“ก Run over HTTP
# 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:

๐Ÿ“ฆ uvx (STDIO mode)
{
  "mcpServers": {
    "sitebay": {
      "command": "uvx",
      "args": ["sitebay-mcp"],
      "env": {
        "SITEBAY_API_TOKEN": "your_api_token_here"
      }
    }
  }
}
๐Ÿ pip (STDIO mode)
{
  "mcpServers": {
    "sitebay": {
      "command": "python",
      "args": ["-m", "sitebay_mcp.server"],
      "env": {
        "SITEBAY_API_TOKEN": "your_api_token_here"
      }
    }
  }
}
๐ŸŒ HTTP mode
{
  "mcpServers": {
    "sitebay": {
      "url": "http://127.0.0.1:7823",
      "env": {
        "SITEBAY_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Config File Locations

PlatformPath
๐ŸŽ 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 [email protected]), 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

ToolDescription
sitebay_list_sitesList all WordPress sites hosted on SiteBay
sitebay_get_siteGet detailed information about a hosted site
sitebay_create_siteCreate a new WordPress site on SiteBay
sitebay_update_siteUpdate site configuration
sitebay_delete_siteDelete a hosted site
sitebay_site_shell_commandExecute shell/WP-CLI commands
sitebay_site_edit_fileEdit files in wp-content
sitebay_list_ready_made_sitesList 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

๐Ÿ”‘ Authentication Issues
  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
๐ŸŒ Connection Issues
  1. Check your internet connection
  2. Verify SiteBay service status
  3. Check firewall settings
  4. Try restarting Claude Desktop
๐Ÿ”ง Tool Not Found
  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

ResourceLink
๐Ÿ› IssuesGitHub Issues
๐Ÿ“– API DocsSiteBay API Documentation
๐Ÿ’ฌ HelpSiteBay Help Center

Made with โค๏ธ by SiteBay