Skip to content
LangChain

MCP CPG Human in the Loop (HITL) for LangChain

io.github.greencore-solutions/cpg-human-in-the-loop

Navigator for BPC Agentic Procurement

client:LangChain transport:streamable-http tools:4

Install MCP CPG Human in the Loop (HITL) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cpg-human-in-the-loop": {
            "transport": "streamable_http",
            "url": "https://mcp.cpghumanintheloop.ai/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

MCP CPG Human in the Loop (HITL) in other clients