Basic information
About Blockbench MCP Server
Adds MCP server to Blockbench
Blockbench MCP is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by jasonjgardner. It exposes 2 tools, including Modeling:, Scripting:. Supported transport: stdio. Runtime: node. License: GPL-3.0. The repository has 257 GitHub stars. Source code is hosted on github.com. Related topics: blockbench, blockbench-plugin, mcp-server.
Setup
{
"mcpServers": {
"blockbench-mcp-plugin": {
"command": "npx",
"args": [
"mcp-add",
"--type",
"http",
"--url",
"http://localhost:3000/bb-mcp",
"--scope",
"project"
]
}
}
}
{
"mcpServers": {
"blockbench-mcp-plugin": {
"command": "npx",
"args": [
"mcp-add",
"--type",
"http",
"--url",
"http://localhost:3000/bb-mcp",
"--scope",
"project"
]
}
}
}
{
"servers": {
"blockbench-mcp-plugin": {
"command": "npx",
"args": [
"mcp-add",
"--type",
"http",
"--url",
"http://localhost:3000/bb-mcp",
"--scope",
"project"
]
}
}
}
Blockbench MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"blockbench-mcp-plugin": {
"command": "npx",
"args": [
"mcp-add",
"--type",
"http",
"--url",
"http://localhost:3000/bb-mcp",
"--scope",
"project"
]
}
}
}
Blockbench MCP tools
- Modeling: — `place_cube`, `modify_cube`, `place_mesh`, `extrude_mesh`, `subdivide_mesh`, `create_sphere`, `create_cylinder`, `loop_cut_mesh` and `knife_tool` create and reshape geometry.
- Scripting: — `risky_eval` runs arbitrary JavaScript in Blockbench and can be switched off in settings.
Overview
What is Blockbench MCP?
Blockbench MCP is an open-source plugin that runs a Model Context Protocol server inside the Blockbench desktop app, so AI agents like Claude Code, VS Code or Cline can build, texture and animate low-poly 3D models through tool calls.
The repository by jasonjgardner is a community project, not part of Blockbench itself. It ships two servers: the desktop plugin, which drives the running editor over HTTP, and a headless stdio server that edits, validates, converts and renders .bbmodel files without Blockbench open.
How to use Blockbench MCP?
Prerequisites: the Blockbench desktop app for the plugin server, or Node.js with npm for the headless server. No API key is needed.
- In Blockbench, open File > Plugins, click Load Plugin from URL and paste
https://jasonjgardner.github.io/blockbench-mcp-plugin/mcp.js. - Check Settings > General > MCP Server Port and MCP Server Endpoint. The examples below use the default
http://localhost:3000/bb-mcp. - Keep Blockbench open and connect your client.
For the headless Blockbench MCP server, replace /path/to/models with an absolute path. --root is required and limits file access to that directory.
Claude Code
# Desktop plugin (HTTP)
claude mcp add blockbench --transport http http://localhost:3000/bb-mcp
# Headless (stdio)
claude mcp add bbmodel --transport stdio -- npx -y github:jasonjgardner/blockbench-mcp-plugin --root /path/to/models
Claude Desktop
Claude Desktop reaches the HTTP plugin through mcp-remote. Add to claude_desktop_config.json:
{
"mcpServers": {
"blockbench": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://localhost:3000/bb-mcp"]
},
"bbmodel": {
"command": "npx",
"args": ["-y", "github:jasonjgardner/blockbench-mcp-plugin", "--root", "/path/to/models"]
}
}
}
On Windows, use "command": "cmd" and prepend "/c", "npx" to args.
VS Code
In .vscode/mcp.json:
{
"servers": {
"blockbench": {
"url": "http://localhost:3000/bb-mcp",
"type": "http"
}
}
}
Codex
codex mcp add blockbench --url http://localhost:3000/bb-mcp
The README also documents Cline, Antigravity, OpenCode and Ollama (uvx ollmcp -u http://localhost:3000/bb-mcp).
Key features of Blockbench MCP
- MCP server embedded in the Blockbench desktop app, served over Streamable HTTP on a configurable port and endpoint
- Separate headless stdio server for
.bbmodelfiles, so several agents can work in parallel while you keep using the editor - Tools for cubes, meshes, textures, PBR materials, UVs, animations, cameras, export and project setup
- Headless validation of geometry and animations, plus export to Bedrock
.geo.json, Java block/item models and modded entity classes - Local-only by default: listens on
127.0.0.1/::1and rejects non-loopbackOriginorHostheaders - Other Blockbench plugins can register their own MCP tools through a global
MCP_QUEUE - Companion Agent Skills and a sample project with prompt examples
Blockbench MCP tools
The desktop plugin exposes tools grouped by editor area:
- Modeling:
place_cube,modify_cube,place_mesh,extrude_mesh,subdivide_mesh,create_sphere,create_cylinder,loop_cut_meshandknife_toolcreate and reshape geometry. - Outliner and elements:
add_group,list_outline,duplicate_element,rename_elementandremove_elementorganize the model. - Textures and materials:
create_texture,apply_texture,list_textures,create_pbr_materialandimport_texture_sethandle textures and PBR channels. - Camera and screenshots:
set_camera_angle,capture_screenshotandcapture_app_screenshotlet the agent look at its own work. - Project and export:
create_project,get_project_info,list_export_formatsandexport_model. - Scripting:
risky_evalruns arbitrary JavaScript in Blockbench and can be switched off in settings.
The headless server uses bbmodel_* tools such as bbmodel_create, bbmodel_edit, bbmodel_validate, bbmodel_render and bbmodel_export_bedrock_geometry, plus blockbench_launch to open the desktop app.
Use cases of Blockbench MCP
- Blocking out game assets from a description: "Create a low-poly treasure chest with a hinged lid and a 32x32 texture."
- Building Minecraft-style mobs and items, then exporting Bedrock geometry or Java block/item models.
- Rigging and animating: "Add a walk cycle to this model and check that no limbs detach."
- Batch-checking a folder of
.bbmodelfiles for floating parts or broken symmetry with the headless server. - Letting the agent screenshot the viewport and iterate on proportions until the model looks right.
- Generating PBR texture sets and assigning channels to an existing model.
Blockbench MCP Plugin vs alternatives
If you work in a full 3D suite rather than a low-poly editor, Blender MCP gives agents similar control over Blender. For engine-side work, Unity MCP and Godot MCP connect agents to those editors. Blockbench MCP is the better fit for Minecraft-style, voxel-like and Bedrock/Java content because its tools and exporters follow Blockbench's own formats.
Troubleshooting Blockbench MCP Plugin
- Client can't connect: Blockbench must be running with the plugin loaded, and the URL must match the port and endpoint in Settings > General. The default path is
/bb-mcp. - Client in WSL2, a VM or another machine: the server only listens on loopback by default. Set MCP Server Host to
0.0.0.0or::and reload the plugin, but only on a trusted network, because the server has no authentication. - Windows client fails to launch
npx: use"command": "cmd"with"/c", "npx"in front of the arguments. - Headless edits don't show in Blockbench: Blockbench does not reload files changed on disk. Reopen the model, and don't edit the same file in both at once.
- Headless rendering fails: the render tools need Node 23.6 or newer and a GPU; other headless tools work without them.
Frequently asked questions
1 Is Blockbench MCP an official Blockbench plugin?
No. It is a community project by jasonjgardner, licensed GPL-3.0. The README notes that plugins in the official Blockbench plugin repository may not use AI features, so it is installed from its own URL.
2 Is the Blockbench MCP server free?
Yes. The plugin and headless server are open source, and no API key or account is required. You only pay for the AI client or model you connect.
3 Does it work with Claude Code, Cursor and VS Code?
The README gives verified setup for Claude Code, Claude Desktop, VS Code, Codex, Cline, Antigravity, OpenCode and Ollama. Any client that supports Streamable HTTP MCP servers can connect to http://localhost:3000/bb-mcp.
4 Do I need Blockbench open?
For the desktop plugin, yes, because the server runs inside the app. The headless server works on .bbmodel files without Blockbench running.
5 Is it safe to expose the server on my network?
By default it only accepts local connections. If you bind it to 0.0.0.0, anyone who can reach the port can call every tool, including risky_eval, so keep firewall rules restrictive or disable risky_eval in settings.
6 What file formats can it export?
The plugin can list and use Blockbench's export formats through export_model. The headless server exports Bedrock .geo.json, Java block/item model JSON and modded entity classes for Forge and Fabric.
7 Can several agents work at the same time?
Not through the desktop plugin, which drives one editor. The headless server lets each agent start its own process, and it uses revision checks and lock files to avoid overwriting another agent's edits.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In