SiteBay MCP Server
A Model Context Protocol (MCP) server that provides Claude Code users with direct access to the SiteBay WordPress hosting platform. Manage your hosted WordPress sites, execute server commands, handle staging environments, and more through natural language interactions with the SiteBay cloud infrastructure.
Features
🌐 Site Management
- List all your hosted WordPress sites
- Get detailed site information (status, region, PHP version, etc.)
- Create new WordPress sites using SiteBay's templates
- Update site configurations (PHP version, admin credentials, etc.)
- Delete sites with safety confirmations
⚡ Site Operations
- Execute shell commands and WP-CLI commands on SiteBay servers
- Edit files in wp-content directory on your hosted sites
- View site events and deployment logs from SiteBay infrastructure
- Manage external path configurations for URL proxying through SiteBay
🛠 Advanced Features
- Staging site management on SiteBay infrastructure (coming soon)
- Point-in-time backup restores from SiteBay's backup system (coming soon)
- Team management for collaborative hosting (coming soon)
- WordPress/Shopify/PostHog API proxy services through SiteBay (coming soon)
🗺 Helper Tools
- List available SiteBay hosting regions
- Browse SiteBay's WordPress templates
- Account and billing information (coming soon)
Installation
Installing via Smithery
To install SiteBay MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @sitebay/sitebay-mcp --client claude
Using uvx (Recommended)
# Install and run directly with uvx
uvx sitebay-mcp
# Or install for repeated use
uv tool install sitebay-mcp
sitebay-mcp
Using pip
# Install from PyPI (when published)
pip install sitebay-mcp
# Or install from source
git clone https://github.com/your-username/sitebay-mcp.git
cd sitebay-mcp
pip install -e .
Configuration
1. Get Your SiteBay API Token
- Log in to your SiteBay account
- Navigate to Settings in your account dashboard
- Generate a new API token
- Copy the token for use in configuration
2. Configure Claude Desktop
Add the following to your Claude Desktop configuration file:
For uvx installation:
{
"mcpServers": {
"sitebay": {
"command": "uvx",
"args": ["sitebay-mcp"],
"env": {
"SITEBAY_API_TOKEN": "your_api_token_here"
}
}
}
}
For pip installation:
{
"mcpServers": {
"sitebay": {
"command": "python",
"args": ["-m", "sitebay_mcp.server"],
"env": {
"SITEBAY_API_TOKEN": "your_api_token_here"
}
}
}
}
3. Claude Desktop Configuration File Locations
- 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
Creating a New WordPress Site
Claude: Create a new WordPress site called "myblog.example.com" with the title "My Amazing Blog", admin username "admin", password "SecurePass123!", and email "me@example.com"
Managing Existing Sites
Claude: List all my WordPress sites and show their current status
Claude: Get detailed information about myblog.example.com
Claude: Update the PHP version for myblog.example.com to 8.2
Executing Commands
Claude: Run "wp plugin list" on myblog.example.com to see what plugins are installed on the SiteBay server
Claude: Execute "wp search-replace 'http://old-domain.com' 'https://new-domain.com'" on myblog.example.com through SiteBay
Claude: Check the disk usage on myblog.example.com with "df -h" on the SiteBay server
File Management
Claude: Edit the style.css file in my active theme on myblog.example.com hosted on SiteBay
Claude: Show me recent events and deployment logs for myblog.example.com from SiteBay
External Paths (URL Proxying)
Claude: Create an external path "/api" on myblog.example.com that proxies to "https://my-external-api.com" through SiteBay
Claude: List all external path configurations for myblog.example.com on SiteBay
Getting Information
Claude: Show me all available SiteBay hosting regions
Claude: List all the WordPress templates available on SiteBay for new sites
Available Tools
Site Management
sitebay_list_sites- List all WordPress sites hosted on SiteBaysitebay_get_site- Get detailed information about a hosted sitesitebay_create_site- Create a new WordPress site on SiteBay infrastructuresitebay_update_site- Update site configuration on SiteBay serverssitebay_delete_site- Delete a hosted site (with confirmation)
Site Operations
sitebay_site_shell_command- Execute shell/WP-CLI commands on SiteBay serverssitebay_site_edit_file- Edit files in wp-content on SiteBay-hosted sitessitebay_site_get_events- View site events and deployment logs from SiteBaysitebay_site_external_path_list- List external path configs on SiteBaysitebay_site_external_path_create- Create external path through SiteBay proxy
Helper Tools
sitebay_list_regions- List available SiteBay hosting regionssitebay_list_templates- List WordPress templates available on SiteBay
Security Notes
- Your SiteBay API token is stored securely in environment variables
- All communications with SiteBay infrastructure use HTTPS encryption
- API tokens can be revoked at any time from your SiteBay account dashboard
- The MCP server runs locally and only proxies requests to SiteBay - no data is stored locally
Error Handling
The server provides clear error messages for common issues:
- Authentication errors: Invalid or expired API tokens
- Site not found: When referencing non-existent sites
- Validation errors: Invalid parameters or missing required fields
- Network errors: Connection issues with SiteBay API
Troubleshooting
Authentication Issues
- Verify your API token is correct
- Check that the token is properly set in the environment variable
- Ensure the token hasn't expired
- Try regenerating the token from your SiteBay account
Connection Issues
- Check your internet connection
- Verify SiteBay service status
- Check firewall settings
- Try restarting Claude Desktop
Tool Not Found
- Restart Claude Desktop after configuration changes
- Verify the configuration file is in the correct location
- Check the JSON syntax is valid
- Ensure uvx or Python is properly installed
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass and code is properly formatted
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
- Issues: GitHub Issues
- Documentation: SiteBay API Docs
- SiteBay Support: SiteBay Help Center
Changelog
v0.1.0 (2024-01-XX)
- Initial release
- Site management tools
- Shell command execution
- File editing capabilities
- External path management
- Region and template listing
Metadata
Release files for sitebay-mcp 0.1.1751286041
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 | Actions |
|---|---|---|---|---|
| sitebay_mcp-0.1.1751286041.tar.gz | 56.3 kB | Without provenance | Details for sitebay_mcp-0.1.1751286041.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sitebay_mcp-0.1.1751286041-py3-none-any.whl | Python 3 | none | any | Details for sitebay_mcp-0.1.1751286041-py3-none-any.whl |
Total release size: 78.2 kB
Release files / sitebay_mcp-0.1.1751286041.tar.gz
| Download URL | sitebay_mcp-0.1.1751286041.tar.gz |
|---|---|
| Size | 56.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79288cfca6dd98712c1ef78180d5832c53b76287b2cd2eba1432253cd3ec420f
|
|
BLAKE2b-256 checksum How to use checksums |
bac3e58cf86d6d0385f995e048a24e1aa3c73d77ce8272091a4aca18adc02394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / sitebay_mcp-0.1.1751286041-py3-none-any.whl
| Download URL | sitebay_mcp-0.1.1751286041-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e96aaf0b486682824bd744fbb9dd6ccd78421f44cee9b1cfbdac1d3b392e5798
|
|
BLAKE2b-256 checksum How to use checksums |
209753ca1ac47365856b20c41462fd28d4c40e9613939f4b2aef111215320f65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for sitebay-mcp 0.1.1751286041
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.