Staticbot logoStaticbot.dev

    PlatformConnect from AI

    Connect Staticbot to Claude Code

    Give Claude Code Staticbot's MCP tools, its skills, or both. Both use a Staticbot API key from the terminal you start Claude Code in.

    Before you start

    Load a Staticbot API key

    1. 1

      Create a key

      Create an organization-scoped key in Staticbot API settings.

    2. 2

      Load it into your terminal

      Run this in the terminal you'll start Claude Code from. The input is hidden and the key isn't written to shell history.

      Terminal
      printf 'Staticbot API key: '
      IFS= read -rs STATICBOT_API_KEY
      printf '\n'
      export STATICBOT_API_KEY

    MCP

    Add the Staticbot MCP server

    Gives Claude Code Staticbot's typed tools. Needs Node.js 20 or newer.

    Terminal
    claude mcp add --scope user staticbot \
      -e STATICBOT_API_KEY="$STATICBOT_API_KEY" \
      -- npx -y --package=@staticbot/mcp staticbot-mcp
    claude mcp get staticbot

    The last line reads the saved connection back so you can check it. Claude Code stores the key in its user-level MCP configuration; never put it in a repository or a chat.

    Skills

    Add the Staticbot skills

    The skills add Staticbot's workflows, including the guided migration, with their approval stops. They call the Staticbot API with the same key, so they also work without the MCP server.

    Paste this into Claude Code:

    Prompt for Claude Code
    Install these directories from https://github.com/bitfiction/staticbot-mcp/tree/main/skills as personal Claude Code skills under ~/.claude/skills:
    
    - deploy-web-app-with-staticbot
    - migrate-vibe-coded-app
    - guided-migration
    - sync-vibe-coded-app
    - live-migrate-ai-built-app
    - live-migrate-lovable-app
    - live-migrate-base44-app
    - staticbot
    
    Copy each complete skill directory, including its scripts and references. Do not install the Staticbot plugin or configure MCP. Validate the result with "claude plugin validate ~/.claude/skills" and report the installed paths and validation result.

    Prefer one step? The Staticbot plugin installs the skills and the MCP server together. If you use it, skip the MCP section above. Run /reload-plugins or restart Claude Code if Staticbot doesn't appear.

    In Claude Code
    /plugin marketplace add bitfiction/staticbot-mcp
    /plugin install staticbot@staticbot

    Plugin skills are namespaced, for example /staticbot:guided-migration. The plugin starts the MCP server with the STATICBOT_API_KEY from the environment Claude Code runs in.

    Start a migration

    Paste the migration prompt into a new Claude Code session. It runs a test migration to a separate Supabase project, stops for your approval at each decision, and ends with the migration ID and a preview URL to try. Keys and secrets go into the Staticbot dashboard, never into the chat.

    Rather not use an assistant? Start in the Staticbot dashboard.