MCP Fabric (Minecraft) for LangChain
io.github.denfry/mcpfabric
See and play Minecraft: Java Edition through the mcpfabric mod (Fabric and NeoForge).
client:LangChain
transport:stdio
runtime:npm
Install MCP Fabric (Minecraft) in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcpfabric": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "mcpfabric-mcp-server"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs