BlenderBlender and AI

Working in Blender with Kimi Code CLI: install, sign-in, MCP, and skills

Based on the official documentation, this guide installs Moonshot AI's terminal agent Kimi Code CLI, signs in, then connects the official Blender MCP server and Blender skills to build and check a scene.

AZTechnology15 min read

한국어English

Based on: the Kimi Code CLI official documentation (installation, sign-in, MCP, permissions, skills, 2.3.2), the K3.1 Pro guide on the Kimi API platform, Blender Lab's Blender MCP Server page (add-on 1.0.3, Blender 5.2), and the Blender Agent Skills repository (1.1.0). Checked in October 2026. The Kimi Code setup steps in this guide were written from the official documentation, and there are no Kimi Code screenshots. All pictures are real Blender screens.

Kimi Code CLI is an AI agent that works in the terminal, and it connects to Blender in two ways: MCP and skills. MCP is a connection that drives an open Blender directly. Skills are bundles of instructions that say "do Blender work in this order." For both, you put files in set folders.

Kimi is the name of an AI service made by the Chinese AI company Moonshot AI. Kimi Code CLI is the coding agent that company released. It gets work done by reading and writing files and running commands. Think of it as the same kind of tool as Claude Code or Codex.

By the end of this guide you will be able to:

  1. Install Kimi Code CLI on Windows and sign in.
  2. Register the official Blender MCP server in mcp.json and check the connection.
  3. Know the difference between the three permission modes and choose the right one for Blender work.
  4. Put Blender skills in the skills folder and call them with the /skill: command.
  5. Know the flow of checking and fixing a model with a check script.

Kimi, K3.1 Pro, and Kimi Code CLI

NameWhat it is
KimiThe name of Moonshot AI's set of AI services and models
K3.1 ProThe current flagship model presented on the Kimi API platform. 3T (3 trillion) parameter class, 1 million token context, open weights (the model files are made public), and the company says it will release the weights by November 4, 2026
Kimi Code CLIKimi's coding agent for the terminal. The command to run it is kimi

Parameters are the count of numbers inside a model. Like the number of books on a bookshelf, more of them means more knowledge it can hold. But bigger does not mean better at every task.

The K3.1 Pro guide says it can write and run scripts for professional modeling tools without relying on an MCP connection. That means an AI has two ways to drive Blender: scripts and MCP. The difference between the two is in Connecting Blender and AI: 3D work through MCP and scripts. This guide uses both.

Step 1: install

Starting state: Start on Windows where Kimi Code CLI has never been installed.

On Windows, Kimi Code CLI uses Git Bash, which comes with Git for Windows, as its shell (the window that takes commands and runs them). So the official documentation says to install Git for Windows first, before the first run.

Follow along:

  1. Install Git for Windows (gitforwindows.org).
  2. Open PowerShell and run the official install script.
irm https://code.kimi.com/kimi-code/install.ps1 | iex
  1. Open a new terminal window, move to the folder you want to work in, and type kimi.

The install script downloads the latest version, checks its checksum, and sets up the kimi command so it works from any folder. If you have Node.js 22.19.0 or later, you can also install it with npm install -g @moonshot-ai/kimi-code. If you installed Git Bash somewhere other than the default location, put the full path of bash.exe in the KIMI_SHELL_PATH environment variable.

If you used the older Kimi CLI: The first time you run the new Kimi Code CLI, it finds your old data and asks whether to move it. You can also move it later with kimi migrate. Settings and the MCP server list are moved, but sign-in information is not, so you need to sign in again.

Step 2: sign in

Starting state: Continue from step 1, with the chat screen open after running kimi.

Follow along:

  1. Type /login in the input box and press Enter.
  2. Choose one of the two.
    • Kimi Code (OAuth): Open the link shown on screen on any device, sign in, and approve by entering the code on screen.
    • Kimi Platform API key: Enter an API key you got from the Kimi platform.
  3. To sign out, use /logout.

OAuth is a way to approve "give this app permission" on a web page where you are signed in, without handing your password to the app. It is like getting only a room key card at a hotel front desk without being given the master key. Which models you can use and how much depends on your plan, so check the official pricing page.

Step 3: prepare the Blender side

Starting state: Start with Blender Lab's official MCP add-on installed in Blender 5.1 or later. Installation is in Installing the official Blender MCP.

Follow along:

  1. Start Blender and open Edit ‣ Preferences….
  2. In Add-ons, search for MCP and expand the row.
  3. Check that Server is running appears at the very bottom. If not, click Start MCP Bridge Server.

The Add-ons screen in Blender Preferences. MCP in the search box, and the expanded MCP add-on showing Maintainer Blender Lab, Version 1.0.3, Host localhost, Port 9876, Auto Start ticked, a Stop MCP Server button, and Server is running Maintainer Blender Lab, Version 1.0.3, Host localhost and Port 9876, Auto Start on, and Server is running at the very bottom (Blender screenshot)

Follow along (getting the server): The MCP server is a small program that runs outside Blender. It is started with a tool called uv. uv runs a Python program together with the parts it needs, a bit like an assistant cook who fetches the ingredients and sets the dish up for you.

  1. In PowerShell, install uv with the Windows command from uv's official installation guide.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  1. Open a new PowerShell window and type uv --version. If one line with a version number appears, it is installed.
  2. In the same window, download the official repository.
cd C:\
git clone https://projects.blender.org/lab/blender_mcp.git

C:\blender_mcp\mcp in the downloaded folder is where the server lives.

Step 4: register Blender in mcp.json

Starting state: Continue from step 3, with Server is running confirmed and the server downloaded.

Kimi Code keeps its list of MCP servers in an mcp.json file. There are two places for it.

ScopeLocationUse
Whole user.kimi-code\mcp.json in your user folderShared by all projects
One project.kimi-code\mcp.json in the work folderUsed only in that folder. If a name is the same, this one wins

Follow along:

  1. Open .kimi-code\mcp.json in your user folder with Notepad. If it does not exist, create it.
  2. Put in the content below and save.
{
  "mcpServers": {
    "blender": {
      "command": "uv",
      "args": ["--directory", "C:\\blender_mcp\\mcp", "run", "blender-mcp"],
      "startupTimeoutMs": 60000
    }
  }
}
  1. Run kimi again and type /mcp to check that blender is connected.
  • When there is a command, Kimi Code treats this server as one it starts inside the same computer (stdio).
  • In JSON, write each backslash twice (\\). With just one, the file cannot be read.
  • startupTimeoutMs is how long to wait (in milliseconds) for the server to start. The default is 30000 (30 seconds). On the first run, uv may take a long time downloading the parts it needs, so it is raised to 60 seconds here.

If you do not want to edit the file by hand, type /mcp-config in the chat screen. You can add, change, and remove servers through a conversation. If you edit mcp.json during a chat, the change does not reach chats that are already open. It applies from the next new chat.

Be careful with mcp.json in project folders. The official documentation warns that servers listed in a project folder's .kimi-code\mcp.json run commands on your computer when a chat starts. If someone else gave you the folder, open this file first and read what it runs.

Step 5: choose a permission mode

Kimi Code has three modes that decide when the AI asks you before doing something.

ModeHow to enter itWhat it does
Always AskThe defaultReading happens on its own. Editing files and running commands are asked one by one
Ask When Needed/yoloOrdinary tool calls run without asking. Sensitive files and risky commands are asked
Never Ask/autoHandles every approval itself and asks nothing

The official documentation says MCP tool calls are approved automatically in Ask When Needed mode, and recommends using it only when you fully trust the connected MCP servers. Blender Lab also warns that this MCP server runs AI-generated code in Blender without any safeguards.

So when you first connect Blender, start with the default, Always Ask. When an approval window appears, choose with the arrow keys and press Enter, or refuse with Esc. There is also an option to keep allowing the same kind of call for the rest of the chat. Once you are used to how it works, and only when you work on copies of files, you can think about other modes.

Step 6: add Blender skills

A skill is a folder that bundles an instruction file called SKILL.md with the scripts next to it. Picture a cookbook that comes with both the recipes and the measuring tools. When the AI gets a task, it reads the instructions of the matching skill, then runs the scripts inside to check the result.

These are the folders where Kimi Code looks for skills.

ScopeFolder
Whole user.kimi-code\skills\ or .agents\skills\ in your user folder
One project.kimi-code\skills\ or .agents\skills\ in the project's top folder

Here, "the project's top folder" is the nearest folder with a .git folder, found by going up from the work folder. .git is a hidden folder that only appears in folders managed with git. If you work in a folder that does not use git, the project location is not defined, so the skills may not be read. At first, putting them in the whole-user location (.agents\skills\ in your user folder) is the least confusing.

Inside the skills folder, give each skill its own subfolder, and put SKILL.md inside it. If skills you downloaded for another tool are in a folder like .claude\skills\, you need to move them to the folders above, the ones the Kimi Code documentation names, before they are read.

Example: Blender Agent Skills

One of the public Blender skill sets is Blender Agent Skills (MIT license). It has 22 skills, covering modeling, UV, materials, rigging, rendering, export, and checks, and the repository says they were built for Blender 5.2 and later. According to this repository's description, .agents\skills is a location that several agents read in common.

Follow along:

  1. Download the repository: git clone https://github.com/EL4CTEO/blender-skills
  2. From the skills folder you downloaded, pick only the skill folders you need and copy them to .agents\skills\ in your user folder. To use them only in a project managed with git, copy them to .agents\skills\ in that project's top folder. At first, two are enough: blender-core (the starting point) and blender-asset-qa (checks).
  3. Before copying, skim the scripts inside the skills once. Check whether there is code that goes online or deletes files, and what options it starts Blender with.
  4. Run kimi again and call a skill by putting its name at the very start of the input box, as in /skill:blender-asset-qa. You can write the task after the name, with one space. The official example also puts one space after the name, as in /skill:git-commits fix concurrency issue in login endpoint.

If you run the repository's install script as it is, by default it installs everything into the whole-user folders (.claude\skills, .agents\skills). To use them in only one project, copying just what you need by hand, as above, is easier to keep tidy.

Step 7: build, check, and fix

Starting state: Start after finishing steps 4 and 6, with an empty scene open in Blender as a copy file.

The most common accident when you hand a 3D model to an AI is a part that has come off the body and floats in the air. It looks attached from one side of the screen, but from another angle it floats. So always include a step that checks with numbers after building.

Follow along: Hand over the task in three parts, for example like this.

  1. "Make a simple airplane blockout with a cylinder body, wings, and a tail plate. Give the parts English names."
  2. /skill:blender-asset-qa Check the parts you just made, and show the errors and warnings in a table. (Start this line at the very beginning of the input box, with one space after the skill name.)
  3. "Fix only the errors and check again. Ask me whether to fix the warnings."

A blockout is a rough model that only sets size and placement with simple shapes such as boxes and cylinders. It is like the cardboard model made before a building is built.

The two pictures below show what the check script catches. These pictures were not made through Kimi Code. They were taken after running the check script from the skill directly in Blender. A small box (Stray) was floated above the body on purpose before checking.

The Blender screen. An airplane blockout made of a cylinder body, green wings, and a tail plate. A small box in the air above the body is selected with an orange outline. Fuselage, Stray, Tail, and Wing in the Outliner Before the check. The small box Stray floats in the air above the body. The picture is Solid view with a different color for each object (Blender screenshot)

In this state, the check script answered that it did not pass (pass: false) and gave one line of error.

floating/detached part in Stray (8 verts at [0.0, 0.0, 4.0])

It means "the part called Stray has come off and is floating, with 8 points at a height of 4.0 m." There were also seven lines of warnings: parts with no material, wings and tail whose Scale values were not applied, and the bottom of the model not sitting at height 0. At the blockout stage you do not need to fix these warnings right away, so a person was left to decide whether to fix them.

The same blockout. The small box is attached to the top of the cylinder body After the fix. Stray was lowered to touch the top of the body, and the check run again gave 0 errors, pass: true (Blender screenshot)

Follow along: When you get the check result, look at it in this order.

  1. See whether errors is empty. If there is even one, ask "Fix only the errors and check again."
  2. Read warnings line by line, decide whether to fix each now or later, and tell the AI.
  3. Even if the numbers pass, turn the model around in the 3D Viewport and look from several angles. The check script cannot catch everything, such as odd proportions or parts cutting into each other.

Common mistakes and fixes

SymptomCauseFix
On Windows, kimi does not work properly from the first runGit for Windows is missing or installed elsewhereInstall Git for Windows, or put the bash.exe path in KIMI_SHELL_PATH
blender is not in /mcpThe chat was opened before editing mcp.jsonClose the chat and run kimi again
blender still is not there after editing mcp.json and restartingA JSON syntax error (a single backslash, a missing comma)Change \ in the path to \\, and check the brackets and commas again
blender shows a connection failureBlender is closed or the add-on server stoppedStart Blender and check Server is running under MCP in Preferences
Blender skills are not in the /skill: listThe skills are in a folder Kimi Code does not read, or in the project location of a folder without .gitMove them to .agents\skills\ in your user folder and run it again
The scene changed without askingAsk When Needed or Never Ask modeType /permission to open the list of permission modes, and choose Always Ask there. Then reopen the file you saved at an earlier step

In one line

Git for Windows first, one line of install script, /login, one Blender paragraph in mcp.json, skills in .agents\skills\, and Always Ask at first. Check the model you built by reading the numbers from the check script, then look once more on screen.

References

KEEP EXPLORING

Read next

Command Prompt: after agy mcp add blender uv --directory C:\blender_mcp\mcp run blender-mcp, the line Added MCP server blender (stdio), agy mcp list shows blender stdio enabled, then disabled after disable, and finally the content of .agents\mcp_config.json (terminal screenshot)Blender
Blender and AI20 min read

From Gemini CLI to Antigravity CLI: connecting Blender MCP to agy

Install Google Antigravity CLI (agy), the successor to Gemini CLI, and register the official Blender MCP server step by step. It also covers what changed from the old Gemini CLI settings and how tool permissions work, with real screens.

A gray block airplane (a cylinder fuselage, wide main wings, and a tail) with a small red box floating in the air above it (Blender render, EEVEE)Blender
Blender and AI17 min read

Using Blender agent skills: adding SKILL.md, checking it first, and a geometry nodes exercise

Blender Agent Skills is a set of instructions that AI coding assistants pull out and read when they need them. Follow along as you check it before installing, put it in a project folder, then run its asset check and geometry nodes scripts in real Blender.

The MCP for Blender tab in the 3D Viewport sidebar of an older community version (add-on 1.6). Not connected, Port 9876, the Connect to MCP server button, Poly Haven, Sketchfab, and Poly Pizza under Asset Libraries, and Hyper3D Rodin and Tencent Hunyuan 3D under AI Model Generation (Blender screenshot)Blender
Blender and AI15 min read

The official Blender MCP vs. the community MCP for Blender: the differences and how to choose

Compare two Blender MCPs with similar names, Blender Lab's official version and the community MCP for Blender made by an individual developer, by installation, tools, ports, and telemetry, and follow along to fix things when the two clash.

The MCP add-on expanded in the Add-ons section of Blender Preferences. Host localhost, Port 9876, Auto Start off, the Stop MCP Server button, and Server is running (Blender screenshot)Blender
Blender and AI19 min read

Safety checks before handing Blender to AI: copies, saving, code preview, and ports

Follow the steps that protect your files before you hand a scene to AI through Blender MCP. Numbered copies, checking before you save, looking at code first, and port and permission settings, explained with real screens.

The 3D Viewport image returned by the official MCP area capture tool. A brown coat hanging on a coat rack is selected with an orange outline, and the header shows User Perspective and coat 1 (Blender screenshot, official MCP tool result)Blender
Blender and AI17 min read

Trying the 26 tools of the official Blender MCP: scene summaries, screen capture, rendering, and doc search

Sort the 26 tools that Blender Lab's official MCP server gives AI into seven groups, call each one on the official Classroom demo file, and learn what each is for from the real results.

The MCP add-on expanded in the Add-ons section of Blender Preferences. Maintainer Blender Lab, Version 1.0.3, Host localhost, Port 9876, Auto Start on, and Server is running at the bottom (Blender screenshot)Blender
Blender and AI20 min read

Installing the official Blender MCP: from the Blender Lab add-on to your first question

Follow along from the start: install the official MCP made by Blender Lab at the Blender Foundation, connect it to an AI app, and ask your first question with an official example file.