tx402 for LangChain
io.github.mahesvannan/tx402
Explain Algorand transactions, groups, batches, and account activity with x402.
client:LangChain
transport:stdio
runtime:npm
Install tx402 in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"tx402": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "tx402-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs