Skip to content
LangChain

mcp toolcall policy mcp for LangChain

io.github.kimmawla/mcp-toolcall-policy-mcp

Authors and tests mcp-toolcall-policy policies from pasted text. Enforces nothing; the hook does.

client:LangChain transport:stdio runtime:pypi

Install mcp toolcall policy mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

mcp toolcall policy mcp in other clients