Penny x402 utilities for LangChain
io.github.pennyops/penny-x402-utils
Pay-per-call dev utilities (hash, base64, uuid, URL, time, NIP-19, BOLT11) via x402 USDC on Base.
client:LangChain
transport:streamable-http
tools:8
Install Penny x402 utilities in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"penny-x402-utils": {
"transport": "streamable_http",
"url": "https://pennyagent.pythonanywhere.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs