Godot MCP for LangChain
io.github.shin2344234/godot-mcp
Edit Godot 4 scenes, nodes and scripts; run, test and debug games live in the editor or headless.
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", "@shin2344234/godot-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs