Skip to content
LangChain

BentCrypto Machine Payments for LangChain

io.github.ghstaking/bentcrypto-machine-payments

Paid token risk and security intelligence for AI agents over MCP with x402 payments.

client:LangChain transport:streamable-http tools:2

Install BentCrypto Machine Payments in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "bentcrypto-machine-payments": {
            "transport": "streamable_http",
            "url": "https://api.bentcrypto.com/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

BentCrypto Machine Payments in other clients