Staticbot MCP Server
Give Claude Code (and any MCP-compatible AI assistant) direct control over your Staticbot infrastructure. Manage migrations, stacks, and deployments through natural language — no manual UI required.
What is MCP?
The Model Context Protocol (MCP) is an open standard by Anthropic that lets AI assistants like Claude securely call external tools. Instead of pasting API responses into chat, the AI calls tools directly and acts on the results — keeping your context clean and your workflow tight.
The Staticbot MCP server runs locally alongside Claude Code and bridges natural-language instructions to the Staticbot REST API.
36 tools across 5 categories
Full coverage of the Staticbot workflow — from browsing templates to troubleshooting migration jobs.
Templates
list_templatesList available infrastructure templates (Vite apps, Supabase stacks, etc.).
get_templateGet template details including configuration variables you can override.
create_templateCreate a new template by scanning a GitHub repo. Auto-detects platforms, env vars, and builders.
Stacks
list_stacksList all infrastructure stacks in your organization.
get_stackGet stack details including templates and configuration.
create_stackCreate a stack from a template with auto-generated, custom, or existing domain.
Deployments
list_deploymentsList deployments, optionally filtered by stack.
create_deploymentCreate a deployment for a stack (does not start it yet).
start_deploymentStart a created deployment — provisions infrastructure in AWS.
get_deploymentGet deployment status. Includes required DNS records when status is WAITING.
Migrations
create_migrationCreate a new migration — starts the 8-phase pipeline from Discovery to Frontend Deploy.
list_migrationsList all Supabase migrations, optionally filtered by status.
get_migrationGet migration status and 8-phase breakdown.
confirm_migrationApprove a migration after discovery completes.
resume_migrationResume a migration paused by user or awaiting action.
pause_migrationPause a running migration. Current job finishes, no new jobs start.
get_migration_jobsList all jobs within a migration for granular progress and troubleshooting.
retry_migration_jobRetry a failed migration job.
skip_migration_jobSkip a non-critical job that's blocking progress.
complete_migration_jobComplete a manual job (e.g. MANUAL_SYNC_LOVABLE) with optional functionUrl.
get_migration_deploymentsList AWS deployments for a migration's infrastructure.
choose_data_import_methodChoose automated or manual data import in Phase 3.
choose_backend_switchoverChoose backend switchover strategy in Phase 7.
choose_frontend_deployChoose frontend deployment method in Phase 8.
validate_function_urlCheck if a Supabase edge function URL is reachable and responding.
list_integration_instancesList connected integrations (Supabase, GitHub) with their type.
parse_source_keysAuto-read source Supabase URL and anon key from a GitHub repo's .env file.
list_supabase_projectsList Supabase projects on a connected integration instance.
lovable_syncTrigger Lovable sync via Chrome extension bridge to auto-deploy edge functions.
Connected Projects (Continuous Sync)
list_connected_projectsList all connected projects with sync status.
get_connected_projectGet connected project details, sync mode, and webhook status.
trigger_syncTrigger a manual sync — applies migrations, deploys edge functions, rebuilds frontend.
list_sync_runsList sync run history for a project.
get_sync_runGet sync run status, commit SHA, and change summary.
get_sync_run_jobsGet individual jobs for a sync run to diagnose failures.
confirm_sync_runConfirm a sync paused for review (destructive database migrations).
Setup in 3 steps
Get an API key
Log into app.staticbot.dev, go to Settings → API Keys, and create a new key.
Add to your MCP config
Add the following to your project's .mcp.json or global ~/.claude/settings.json:
{
"mcpServers": {
"staticbot": {
"command": "npx",
"args": ["-y", "@bitfiction/staticbot-mcp"],
"env": {
"STATICBOT_API_KEY": "sk-your-api-key-here"
}
}
}
}No install needed — npx downloads and runs the latest version automatically.
Start using it
Restart Claude Code and run /mcp to verify the server is connected. Then just ask Claude to deploy, migrate, or manage your infrastructure.
Example interactions
"Deploy my Vite app to AWS on example.com"
Calling list_templates → found "Vite Static Website" template.
Calling create_stack with custom domain "example.com" → stack created.
Calling create_deployment → start_deployment → deployment is now IN_PROGRESS. Track progress here: [statusUrl]
"My migration has a failing edge function. Skip it and continue."
Calling get_migration_jobs → found job deploy_edge_function_hello in FAILED status. Error: "Function compilation failed."
Calling skip_migration_job → job skipped. Dependent jobs are now proceeding.
Why use MCP over direct API calls?
No boilerplate
The AI handles auth headers, JSON parsing, and error handling. You just describe what you want.
Multi-step reasoning
Claude can chain multiple API calls — check status, wait for readiness, then confirm — without you scripting the flow.
Works in your codebase
Use Staticbot tools alongside file edits and Git commands in a single Claude Code session.
Open protocol
MCP is supported by Claude Code, Cursor, and other editors. One server, multiple clients.
Let your AI handle the infra
Get an API key, install the server, and start deploying with natural language.
