Set Up with OpenAI Codex
OpenAI Codex is OpenAI’s CLI coding agent. It supports MCP servers through its configuration UI, letting Codex control ButterKit from your terminal.
Prerequisites
- ButterKit running with MCP enabled (Settings > MCP)
- OpenAI Codex CLI installed
Configuration
Open the MCP config
In the Codex MCP configuration UI, add a new server with the following details:
Enter connection details
| Field | Value |
|---|---|
| Name | butterkit |
| Transport | STDIO |
| Command to launch | /Applications/ButterKit.app/Contents/MacOS/butterkit-mcp |
| Arguments | (none) |
Verify the connection
Start a new Codex session. ButterKit’s 40 tools should be available. Confirm by asking Codex to list your open documents.
Start using it
Ask Codex to work with your ButterKit project. For example:
- “Show me all artboards in my ButterKit document”
- “Set the background to a blue gradient on the first artboard”
- “Export all artboards as @2x PNGs”
Tips
- Codex runs tasks in sandboxed environments, so make sure ButterKit is running on your machine before starting a session.
- For step-by-step recipes, see Workflows.
Quick Help
- Need more help? Browse the Documentation
- Check out our Templates & Add-ons
- Join us on Discord for quick help
- Any other questions? Get in touch