hatchet mcp for LangChain
io.github.elliotpadfield/hatchet-mcp
Observe and operate Hatchet workflows from an AI agent — runs, logs, trigger, cancel, replay.
client:LangChain
transport:stdio
runtime:npm
Install hatchet mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hatchet-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "hatchet-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs