Skip to content
LangChain

pyplAI for LangChain

io.github.plss12/pyplai-mcp

Play board games against MCTS, minimax and ISMCTS, and use the same searches as tools.

client:LangChain transport:stdio runtime:pypi

Install pyplAI in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "pyplai-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["pyplai-mcp"],
        }
})

tools = await client.get_tools()

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

pyplAI in other clients