Blockbench MCP
Provides tools for controlling Blockbench, including project management, modeling, animation, UV editing, painting, texture/material handling, camera control, and import/export capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Blockbench MCPInspect the open Blockbench project and summarize its hierarchy."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Blockbench MCP
Codex-ready local MCP server for controlling Blockbench. This distribution
combines the mature MCP implementation from
jasonjgardner/blockbench-mcp-plugin
with the local command-history idea from
enfp-dev-studio/blockbench-mcp,
then modernizes the result for direct use by Codex.
This is an independent community project. It is not affiliated with or endorsed by Blockbench, OpenAI, Jason J. Gardner, or ENFP Dev Studio.
What is inside
A ready-to-load Blockbench desktop plugin with an embedded Streamable HTTP MCP server.
95 tools for projects, cubes, meshes, armatures, animation, UV editing, painting, textures, materials, cameras, import/export, and history.
11 resources, 7 resource templates, and 3 prompts.
Codex-oriented server instructions and MCP tool annotations.
Loopback-only networking, optional bearer authentication, a 16 MiB request limit, and a bounded privacy-aware audit log.
A reproducible no-dependency build from the preserved upstream bundle.
See the full tool index, source comparison, and live verification report.
Related MCP server: Blockbench MCP
Requirements
Blockbench desktop. The web app cannot host this local server.
A local Codex client: ChatGPT desktop app, Codex CLI, or Codex IDE extension.
Node.js 20 or newer only when rebuilding the plugin. It is not required to run the bundled plugin.
Installation
Clone or download this repository.
git clone https://github.com/illia3/Blockbench-MCP.git cd Blockbench-MCPOpen Blockbench and select File > Plugins > Load Plugin from File. Choose
plugin/blockbench_codex_mcp.jsand allow local network access if Blockbench asks.Keep these plugin defaults unless you need a different local setup:
port:
3000MCP endpoint:
/bb-mcpprompt CDN: disabled
bearer token: empty (optional)
Connect Codex. In the ChatGPT desktop app or IDE extension, open Settings > MCP servers > Add server, choose Streamable HTTP, enter
http://127.0.0.1:3000/bb-mcp, save, and restart the client.For file-based configuration, copy
.codex/config.toml.exampleto either~/.codex/config.tomlor a trusted project's.codex/config.toml:[mcp_servers.blockbench] url = "http://127.0.0.1:3000/bb-mcp" startup_timeout_sec = 10 tool_timeout_sec = 120 enabled = true required = false default_tools_approval_mode = "writes"Keep Blockbench open. Check
http://127.0.0.1:3000/bb-mcp/ready, then use/mcpin Codex to confirm thatblockbenchis connected.
Codex MCP configuration details are documented in the official OpenAI MCP guide.
What to expect
The MCP server runs inside Blockbench, so commands act on the currently open desktop session. Read-only inspection can run automatically. The supplied Codex configuration asks for approval before tools that are not marked read-only. Blockbench undo/redo remains available for supported operations.
Some tools require a compatible project format, an active texture, a selected element, or an open project. Optional Hytale capabilities appear only when the corresponding Blockbench environment is available.
Suggested first prompts
Inspect the open Blockbench project and summarize its hierarchy.Create a 16 x 16 x 16 cube named body and place it at the origin.List the textures and materials used by the selected elements.Capture a preview screenshot and identify visible modeling issues.Show the last 20 Blockbench MCP audit entries.
Security
The server binds explicitly to 127.0.0.1; do not expose it through port
forwarding, a reverse proxy, or a firewall rule. Bearer authentication is
optional and disabled by default so this repository never stores a secret.
See SECURITY.md for safe token setup and the audit policy.
The risky_eval and UI-emulation tools are powerful. Keep the Codex approval
mode set to writes or stricter and review their arguments before approval.
Troubleshooting
Codex cannot connect: keep Blockbench open, verify the plugin is loaded, and open the
/readyURL.The server is missing from
/mcp: save the MCP entry and restart the desktop app or IDE extension.A tool reports that no project is open: create or open a Blockbench project, then retry.
Unauthorized response: the token configured in Blockbench must match the
Authorizationenvironment header configured for Codex.Port already in use: stop the conflicting service or change the plugin port and the Codex URL together.
Development and verification
Rebuild and check the committed plugin:
npm run build
npm run check
npm testsource/build-custom.mjs deterministically applies the documented changes to
the preserved upstream 1.6.1 bundle. npm test also fails if the generated
plugin differs from the committed artifact.
Attribution and license
The included plugin is a modified work of Jason J. Gardner's
blockbench-mcp-plugin 1.6.1 and is distributed under GPL-3.0-only. The
ENFP Dev Studio repository was analyzed, but its source code was not copied.
See THIRD_PARTY_NOTICES.md,
MODIFICATIONS.md, and LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityCmaintenanceMCP server for controlling Aseprite from Codex, wrapping its native CLI and Lua scripting to enable pixel art creation, sprite editing, animation, file inspection, and export.8
- Alicense-qualityDmaintenanceEnables AI agents to interact with Blockbench, a 3D modeling tool for Minecraft, through a plugin-based MCP server.GPL 3.0
- AlicenseCqualityCmaintenanceMCP server that enables AI to control Blender 3D, providing 175 typed tools for objects, materials, animation, compositing, and more via the Model Context Protocol.1002MIT
- AlicenseAqualityAmaintenanceAn MCP server that empowers AI coding agents to work effectively with Minecraft mod development, providing static analysis of decompiled source code and runtime interaction with a running Minecraft instance.311910MIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Official MCP server for Lovable, the AI-powered full-stack app builder.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/illia3/Blockbench-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server