Staticbot logoStaticbot.dev

    PlatformConnect from AI

    Connect Staticbot to Codex

    Give Codex Staticbot's MCP tools, its skills, or both. Both use a Staticbot API key from the terminal you start Codex 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 Codex 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 Codex Staticbot's typed tools. Needs Node.js 20 or newer.

    Terminal
    codex mcp add staticbot \
      --env STATICBOT_API_KEY="$STATICBOT_API_KEY" \
      -- npx -y --package=@staticbot/mcp staticbot-mcp
    codex mcp get staticbot

    The last line reads the saved connection back so you can check it. Codex stores the key in its own 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 Codex:

    Prompt for Codex
    Use $skill-installer to install these Staticbot skills as personal skills from https://github.com/bitfiction/staticbot-mcp/tree/main/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
    
    Do not install or configure the Staticbot MCP server. Confirm the installed paths and list the installed skills.

    Prefer one step? The Staticbot plugin installs the skills and the MCP server together. If you use it, skip the MCP section above. Restart Codex if Staticbot doesn't appear.

    Terminal
    codex plugin marketplace add bitfiction/staticbot-mcp
    codex plugin add staticbot@staticbot

    The plugin starts the MCP server with the STATICBOT_API_KEY from the environment Codex runs in.

    Start a migration

    Paste the migration prompt into a new Codex 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.