io.github.0rkz/byte-protocol
PayPerByte — per-byte data for AI agents: x402 USDC on Base, EIP-712-attested. No token.
- Repository
- github.com/0rkz/byte-mcp-server
- Server address
https://mcp.payperbyte.io/mcp(streamable-http)- Version
- 0.13.0
- Author
- 0rkz (namespace verified by the registry)
- Source
- Official MCP registry (updated Sep 13, 2026)
How to install it
Variables to fill in: PRIVATE_KEY, RPC_URL, BYTE_GATEWAY_ATTESTER.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http byte-protocol https://mcp.payperbyte.io/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://mcp.payperbyte.io/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://mcp.payperbyte.io/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"byte-protocol": {
"url": "https://mcp.payperbyte.io/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"byte-protocol": {
"type": "http",
"url": "https://mcp.payperbyte.io/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add byte-protocol -e PRIVATE_KEY=YOUR_PRIVATE_KEY -e RPC_URL=YOUR_RPC_URL -e BYTE_GATEWAY_ATTESTER=YOUR_BYTE_GATEWAY_ATTESTER -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"byte-protocol": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PRIVATE_KEY": "YOUR_PRIVATE_KEY",
"RPC_URL": "YOUR_RPC_URL",
"BYTE_GATEWAY_ATTESTER": "YOUR_BYTE_GATEWAY_ATTESTER"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"byte-protocol": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PRIVATE_KEY": "YOUR_PRIVATE_KEY",
"RPC_URL": "YOUR_RPC_URL",
"BYTE_GATEWAY_ATTESTER": "YOUR_BYTE_GATEWAY_ATTESTER"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"byte-protocol": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PRIVATE_KEY": "YOUR_PRIVATE_KEY",
"RPC_URL": "YOUR_RPC_URL",
"BYTE_GATEWAY_ATTESTER": "YOUR_BYTE_GATEWAY_ATTESTER"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 09:19 (test run by L’Atlas)
- Response time
- 986 ms (whole test)
- Tools found
- 15
- Announced name
- byte-protocol 0.13.1
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (15)
byte_search_publishers
Search PayPerByte publishers by topic and sort order. Returns publisher addresses, topics, subscriber counts, message counts, and price-per-KB.byte_get_publisher
Get on-chain info for a specific PayPerByte publisher: status, subscriber and message counts, USDC revenue, and the registered schema (size bounds, cadence, price-per-KB).byte_get_network_stats
Get PayPerByte network-wide statistics: total publishers, messages streamed, and total subscriber fees settled in USDC.byte_check_subscription
Check if an address is subscribed to a specific publisher on PayPerByte.byte_get_token_balances
Get USDC and ETH balances for an address on Arbitrum Sepolia (the on-chain testnet layer — MockUSDC settles subscriptions and fact-oracle queries there). Does NOT show the Base-mainnet USDC balance that byte_buy_data spends.byte_list_feeds
List all active data feeds in the PayPerByte catalog with topics, price-per-call, and frequency (pricePerKB is a deprecated alias).byte_list_my_subscriptions
List every active subscription for a given wallet address. Each entry has the publisher address, topic, status, when you subscribed, messages received in 7/30 days, USDC spent in 7/30 days, and the timestamp of the last message received. Usbyte_subscription_health
Get the content-drift signal for a publisher. Compares their last 7 days of publishing activity (cadence, message count) against their 23-day baseline (days 8-30). Returns 'stable' (steady publishing), 'moderate' (20-50% cadence shift or 24byte_unsubscribe
Unsubscribe from a publisher's data feed. Takes effect next block: no more billing, no more data flow. Reversible — you can resubscribe later via byte_subscribe. Use this when a publisher has pivoted content (check with byte_subscription_hebyte_subscribe
Subscribe to a PayPerByte publisher's data feed. By default also sets USDC allowance to DataStreamLib to type(uint256).max so the subscription doesn't silently lose payments when allowance depletes (the contract's allowance-skip path emitsbyte_register_publisher
Register as a data publisher on PayPerByte. Registers a schema and the publisher on-chain. Requires PRIVATE_KEY. PayPerByte v1 publishers are first-party and unstaked — leave stake at '0'; a non-zero USDC stake is approved to DataRegistry fbyte_publish_data
Publish data to a subscriber via the PayPerByte DataStream contract. Hashes the payload, records size on-chain, and settles the fee in USDC. Requires PRIVATE_KEY.byte_query_fact
Query a PayPerByte fact-oracle publisher for a signed answer with citations. Posts the question to a registered fact-oracle publisher (topic='fact-oracle'), waits for the on-chain BroadcastStreamed response, and returns the answer plus strubyte_buy_data
Buy a single data packet from any PayPerByte feed via the x402 payment gateway. No subscription, no allowance, no prior on-chain setup — pay-per-call USDC settlement. The MCP server signs an EIP-3009 transferWithAuthorization on behalf of tbyte_verify_payload
Verify-before-act: confirm a data payload an agent is about to act on actually matches what the publisher cryptographically attested to on-chain. Recomputes keccak256 of the received bytes and compares it to the on-chain EIP-712 PayloadAtte
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.0rkz/byte-protocol)HTML
<a href="https://lagora.dev/en/entry/io.github.0rkz/byte-protocol"><img src="https://lagora.dev/badge/io.github.0rkz/byte-protocol.svg?lang=en" alt="io.github.0rkz/byte-protocol on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.