Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 81
  • 22 stars
  • 926 a week
  • MIT
  • Updated

Install MCP Fabric (Minecraft)

Built from the published package, never by AI.

claude mcp add mcp-fabric-minecraft -- npx -y mcpfabric-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP Fabric (Minecraft) in Claude Code

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
SettingNeededWhat it is
MCPFABRIC_TOKENEnvironment variable, secretOptionalBridge token; not needed while the game writes ~/.mcpfabric/bridge.json.
MCPFABRIC_TOOLSETSEnvironment variableOptionalServe 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

A

No 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 →

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.

MCP Fabric (Minecraft) Install

Add to stack

Loading.