MCP Fabric (Minecraft)
MCP server by denfry Community
Lets MCP clients such as Claude see and play Minecraft: Java Edition through the MCP Fabric mod for Fabric and NeoForge. It can also run commands and manage players on dedicated servers. Built for players and server admins who want an AI agent in the game.
Install MCP Fabric (Minecraft)
Built from the published package, never by AI.
claude mcp add mcp-fabric-minecraft -- npx -y mcpfabric-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-fabric-minecraft": {
"args": [
"-y",
"mcpfabric-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install MCP Fabric (Minecraft) in Claude Desktop
{
"mcpServers": {
"mcp-fabric-minecraft": {
"args": [
"-y",
"mcpfabric-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-fabric-minecraft": {
"args": [
"-y",
"mcpfabric-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-fabric-minecraft -- npx -y mcpfabric-mcp-server{
"mcpServers": {
"mcp-fabric-minecraft": {
"args": [
"-y",
"mcpfabric-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP Fabric (Minecraft) in Antigravity CLI
gemini mcp add mcp-fabric-minecraft npx -y mcpfabric-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-fabric-minecraft block.
About
MCP Fabric is a Minecraft mod and Model Context Protocol server that lets AI agents observe and control Minecraft: Java Edition. The mod runs a local HTTP bridge inside the game on Fabric or NeoForge, and a small TypeScript MCP server exposes that bridge as tools. Reads use Minecraft's native API, while writes such as setblock, summon, give and tp go through the command dispatcher. It works on the client and on dedicated servers across Minecraft 1.21.1 to 1.21.11 and 26.1 to 26.3.
Access is local by default, with the bridge bound to 127.0.0.1, bearer token authentication, and capability groups that can be switched off in the mod config. The source warns that the bridge grants operator-level power, so users should keep it local and disable groups they do not need. It is aimed at people who want Claude Desktop, Claude Code or other MCP-compatible hosts to play or administer Minecraft. The source states that the current Fabric release sends no usage analytics.
Written from the project's README and checked against it.
Tools it gives your assistant
get_uiReads buttons and text fields on game screens when UI control is enabled.click_widgetClicks a button on a game screen when UI control is enabled.set_text_fieldTypes text into a text field on a game screen when UI control is enabled.run_scriptRuns a script through the script tools, which can be removed with MCPFABRIC_SCRIPTS.session.infoReports session details, with the server address shown as an opaque world id.
What you need
- Minecraft: Java Edition
- Fabric Loader 0.19.5 or newer with Fabric API, or NeoForge
- Node.js 22.16 or newer for the MCP server
- JDK 21 or JDK 25 to build the mod from source
| Setting | Needed | What it is |
|---|---|---|
MCPFABRIC_Environment variable, secret | Optional | Bridge token; not needed while the game writes ~/.mcpfabric/bridge.json. |
MCPFABRIC_Environment variable | Optional | Serve only some tools: profiles play, admin, build or tool groups. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Open the pause menu and tell me which buttons are on it.
- Click the done button on this settings screen.
- Show me the current session info for this world.
Good to know
- UI control is off by default and needs player control enabled as well.
- The bridge grants operator-level power, so keep it on 127.0.0.1 with authentication enabled.
- Some NeoForge builds for 1.21.6, 1.21.7, 1.21.9 and 26.3 exist only as beta releases.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Fabric (Minecraft)
All alternatives →Medplum is a developer platform for building healthcare apps, with a FHIR-based API and a repository for healthcare data. The source is the README for its main code repository, not a description of an MCP server.
Describes Puter, an open-source, self-hostable internet computer with office, AI builder and developer tools. The source does not document an MCP server or list its tools, so this listing could not be verified from the text.
Microsoft Fabric MCP Server is an MCP server for interacting with Microsoft Fabric. Its source, README, changelog and troubleshooting guide are in the microsoft/mcp repository. The source does not list its individual tools.
Template MCP server example.
Business Contact Finder is listed as an MCP server from modelcontextprotocol. The source provided is the MCP Registry README, which does not describe this server's tools, setup or behavior.
The source provided is the README for the MCP Registry, not code for a contractor licence tool. It does not describe a Contractor Licence Changes server, so this listing cannot be confirmed from the text.
Compare with Medplum, mcp-server or Microsoft Fabric MCP Server
MCP Fabric (Minecraft): common questions
Does MCP Fabric work on dedicated servers?
Yes. The source says it works on both the client and dedicated servers, and it can run commands, edit worlds and administer players there.
Is MCP Fabric safe to use?
The source describes it as local-first, with a loopback-only bridge, bearer authentication and capability gates. It also says the bridge can grant operator-level control, so authentication should stay enabled.
Does MCP Fabric collect telemetry?
The source states that the current Fabric release sends no usage analytics.
How do I install MCP Fabric (Minecraft)?
In Claude Code run claude mcp add mcp-fabric-minecraft -- npx -y mcpfabric-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Fabric (Minecraft) the official server?
MCP Fabric (Minecraft) is a community project by denfry, not verified by a company domain.
Is MCP Fabric (Minecraft) free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Fabric (Minecraft) safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Fabric (Minecraft)?
Similar MCP servers: Medplum, mcp-server, Microsoft Fabric MCP Server, Template MCP Server.
Does MCP Fabric (Minecraft) work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
