canonicalhash for LangChain
io.github.mlartab2/canonicalhash
Deterministic JSON hashing and EIP-712 attestations for AI agents via x402.
client:LangChain
transport:streamable-http
tools:5
Install canonicalhash in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"canonicalhash": {
"transport": "streamable_http",
"url": "https://canonicalhash-production.up.railway.app/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs