Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SITEBAY_API_TOKEN | Yes | Your SiteBay API token from your account settings |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sitebay_list_sites | 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 |
| sitebay_get_site | 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 |
| sitebay_create_site | 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 |
| sitebay_update_site | 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 |
| sitebay_delete_site | 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 |
| sitebay_site_shell_command | 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 |
| sitebay_site_edit_file | 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 |
| sitebay_list_ready_made_sites | List available ready-made sites for quick launches. Returns: List of ready-made sites with descriptions |
| sitebay_list_teams | List all teams for the authenticated user. Returns: Formatted list of teams with their details and member information |
| sitebay_wordpress_proxy | 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 |
| sitebay_shopify_proxy | 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 |
| sitebay_posthog_proxy | 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 |
| sitebay_backup_list_commits | 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 |
| sitebay_backup_restore | 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 |
| sitebay_account_affiliates | Get affiliate referral information. Returns: List of users who signed up using your affiliate links |
| sitebay_account_create_checkout | 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 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| account_summary_resource | Get account summary as a readable resource. Returns: JSON formatted account overview including site counts, ready-made catalog size, and recent activity |