Skip to content
LangChain

TaskToHuman for LangChain

com.tasktohuman/mcp

Let an AI agent ask a person to approve, review or fill in something before it acts.

client:LangChain transport:streamable-http tools:7

Install TaskToHuman in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.tasktohuman.com",
        }
})

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

TaskToHuman in other clients