Skip to content
LangChain

Godot MCP for LangChain

io.github.tugcantopaloglu/godot-mcp

MCP server for full Godot 4.x engine control with 165 tools for AI-driven game development

client:LangChain transport:stdio runtime:npm

Install Godot MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Godot MCP in other clients