Skip to content
VS Code

MCP Fabric (Minecraft) for VS Code

io.github.denfry/mcpfabric

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

client:VS Code transport:stdio runtime:npm

Install MCP Fabric (Minecraft) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcpfabric-token",
      "description": "MCPFABRIC_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcpfabric-toolsets",
      "description": "MCPFABRIC_TOOLSETS",
      "password": true
    }
  ],
  "servers": {
    "mcpfabric": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcpfabric-mcp-server"
      ],
      "env": {
        "MCPFABRIC_TOKEN": "${input:mcpfabric-token}",
        "MCPFABRIC_TOOLSETS": "${input:mcpfabric-toolsets}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

MCP Fabric (Minecraft) in other clients