MCP Fabric (Minecraft)

io.github.denfryPublished by GitHub account denfryv0.9.0Updated Nov 7, 2026

See and play Minecraft: Java Edition through the mcpfabric mod (Fabric and NeoForge).

The publisher's own server: Fabric

VerifiedSTDIODesktop only

Overview

MCP Fabric (Minecraft)'s local MCP server; no sign-in required; STDIO.

No AI overview yet: these facts come from the registry entry and the server itself.

Installation

In SourceWeft

  1. Open MCP Fabric (Minecraft) in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

mcpfabric MCP server

Bridges an MCP client (Claude Desktop / Claude Code / any MCP host) to the in-game HTTP bridge exposed by the mcpfabric mod (Fabric / NeoForge), publishing ~50 tools to observe and control Minecraft, plus an agent runtime with persistent memory, goals, a world map and background jobs (see docs/AGENT.md). Requires Node.js ≥ 22.16.

Install from npm

bash
npx -y mcpfabric-mcp-server          # or: npm install -g mcpfabric-mcp-server && mcpfabric

In an MCP client config:

json
{  "mcpServers": {    "mcpfabric": {      "command": "npx",      "args": ["-y", "mcpfabric-mcp-server"],      "env": { "MCPFABRIC_TOKEN": "paste-the-token-from-the-mod-config" }    }  }}

Build from source

bash
npm installnpm run build       # -> dist/index.jsnpm run typecheck   # tsc --noEmit (sources and tests)npm test            # unit tests + agent jobs against a simulated world

Run

The MCP client normally launches this process. Manually:

bash
MCPFABRIC_URL=http://127.0.0.1:25599 MCPFABRIC_TOKEN=<token> node dist/index.js

Environment

VariableDefaultMeaning
MCPFABRIC_URLhttp://127.0.0.1:25599In-game bridge base URL.
MCPFABRIC_TOKEN—Bearer token from config/mcpfabric.config.json.
MCPFABRIC_TIMEOUT_MS15000Per-call timeout.
MCPFABRIC_TRANSPORTstdiostdio (default) or http.
MCPFABRIC_HTTP_PORT25600Port for the streamable-HTTP transport (/mcp).
MCPFABRIC_AGENTon0/false/off disables the agent runtime tools.
MCPFABRIC_DATA_DIR~/.mcpfabricDirectory of the agent database (agent.db).
MCPFABRIC_WORLDreported by the gameForce the world id that keys agent memory.
MCPFABRIC_SCRIPTSon0/false/off removes the script tools (run_script, skills).

Architecture

src/tools.ts is the single source of truth for the tool catalogue: each entry maps an MCP tool to a bridge RPC method plus a zod input schema. src/index.ts registers every entry generically (forwarding args to POST /rpc) and renders results as JSON, except screenshot which returns an image content block. src/bridge.ts is the HTTP client; src/config.ts reads env config.

src/agent/ is the agent runtime: its tools (agent/tools.ts) run in this process, store state in SQLite (node:sqlite) and drive the game through the same bridge. test/fake-world.ts simulates the bridge contract so jobs are tested without a game.

src/script/ is code mode: run_script runs a model-written JavaScript program in QuickJS (WebAssembly, quickjs-emscripten), which reaches the game only through the catalogue methods of src/tools.ts; save_skill / run_skill keep programs per world in the agent database.

Keep tool names/methods in sync with the Java handler registry in the mod (dev.mcpfabric.handlers.* and dev.mcpfabric.client.handlers.*).

Source: mcp-server/README.md at commit 9f22c73

Tools

0
SourceWeft started this package once in an isolated sandbox, without credentials, to list its tools. That failed: the server did not start.

Version history

1
  1. v0.9.0LatestNov 7, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Fabric integrations