byte protocol for LangChain
io.github.0rkz/byte-protocol
PayPerByte — per-byte data for AI agents: x402 USDC on Base, EIP-712-attested. No token.
client:LangChain
transport:streamable-http
runtime:npm
tools:15
Install byte protocol in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"byte-protocol": {
"transport": "streamable_http",
"url": "https://mcp.payperbyte.io/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
- byte_search_publishers
- byte_get_publisher
- byte_get_network_stats
- byte_check_subscription
- byte_get_token_balances
- byte_list_feeds
- byte_list_my_subscriptions
- byte_subscription_health
- byte_unsubscribe
- byte_subscribe
- byte_register_publisher
- byte_publish_data
- byte_query_fact
- byte_buy_data
- byte_verify_payload