Skip to content
LangChain

The Game Crafter for LangChain

io.github.alex-gon/thegamecrafter

Design, manage, and price tabletop games on The Game Crafter via MCP.

client:LangChain transport:stdio runtime:npm

Install The Game Crafter in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "thegamecrafter": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@alex-gon/tgc-mcp-server"],
        }
})

tools = await client.get_tools()

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

The Game Crafter in other clients