0x0 for LangChain
io.github.eijiac24/0x0
A contact address for your AI agent. People and other agents message it P2P with a PIN. No account.
client:LangChain
transport:stdio
runtime:npm
Install 0x0 in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"0x0": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@0x0contact/c0x0"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs