Control Blender with terminal-based AI tools like Claude Code, Codex CLI, and Gemini CLI. Natural language control via HTTP API without MCP.
This guide explains how to control Blender from terminal-based AI CLIs (Claude Code, Codex CLI, Gemini CLI, ChatGPT, etc.). Uses HTTP API instead of MCP.
For MCP-based setup (Claude Desktop, VS Code, Cursor), see the Setup Guide instead.
Install your preferred CLI tool.
Anthropic's official CLI agent. Powerful coding assistance.
npm install -g @anthropic-ai/claude-codeOpenAI's terminal agent. Powered by GPT-4.
npm install -g @openai/codexGoogle's Gemini AI in your terminal.
npm install -g @anthropic-ai/gemini-cliAlso works with ChatGPT web or app.
Just copy and paste the prompt
In Blender, go to Edit → Preferences

Click Add-ons in the left sidebar

Click the dropdown in the top right, select 'Install from Disk', and choose the downloaded zip file

In the 3D viewport, press N key to show the side panel and select the Synaptic AI tab

Click the 'Copy Prompt' button to copy the system prompt

Paste the copied prompt into your CLI and execute

Click the 'Start HTTP Server' button in the Blender panel

Setup Complete!
You can now control Blender with natural language from your CLI.
Key Point
Pasting the prompt first lets the AI understand Blender operations. After that, you can give instructions in natural language.
Try these:
Make sure 'Start HTTP Server' has been clicked in the Blender panel. Also check if port 5001 is not being used by another application.
Make sure the system prompt was copied correctly. You need to paste the prompt first before sending requests.
Make sure Blender is in focus and responding. Try clicking in the Blender window.