Skip to content
LangChain

Godot MCP Runtime for LangChain

io.github.erodenn/godot-mcp-runtime

Zero-addon MCP server for Godot 4: agents edit, run, and play-test the game.

client:LangChain transport:stdio runtime:npm

Install Godot MCP Runtime in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "godot-mcp-runtime": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "godot-mcp-runtime"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Godot MCP Runtime in other clients