Byte Protocol MCP server
{
"mcpServers": {
"0rkz-byte-protocol": {
"command": "npx",
"args": [
"-y",
"byte-mcp-server@latest"
],
"env": {
"PRIVATE_KEY": "<private_key>",
"INDEXER_URL": "https://...",
"BYTE_GATEWAY_URL": "https://..."
}
}
}
}{
"mcpServers": {
"0rkz-byte-protocol": {
"command": "npx",
"args": [
"-y",
"byte-mcp-server@latest"
],
"env": {
"PRIVATE_KEY": "<private_key>",
"INDEXER_URL": "https://...",
"BYTE_GATEWAY_URL": "https://..."
}
}
}
}{
"mcpServers": {
"0rkz-byte-protocol": {
"command": "npx",
"args": [
"-y",
"byte-mcp-server@latest"
],
"env": {
"PRIVATE_KEY": "<private_key>",
"INDEXER_URL": "https://...",
"BYTE_GATEWAY_URL": "https://..."
}
}
}
}{
"servers": {
"0rkz-byte-protocol": {
"command": "npx",
"args": [
"-y",
"byte-mcp-server@latest"
],
"env": {
"PRIVATE_KEY": "${input:private_key}",
"INDEXER_URL": "${input:indexer_url}",
"BYTE_GATEWAY_URL": "${input:byte_gateway_url}"
}
}
},
"inputs": [
{
"id": "private_key",
"type": "promptString",
"description": "Private key",
"password": true
},
{
"id": "indexer_url",
"type": "promptString",
"description": "Indexer url",
"password": true
},
{
"id": "byte_gateway_url",
"type": "promptString",
"description": "Byte gateway url",
"password": true
}
]
}{
"mcpServers": {
"0rkz-byte-protocol": {
"command": "npx",
"args": [
"-y",
"byte-mcp-server@latest"
],
"env": {
"PRIVATE_KEY": "<private_key>",
"INDEXER_URL": "https://...",
"BYTE_GATEWAY_URL": "https://..."
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y byte-mcp-serverversion 0.12.3
What it does
An MCP server that connects AI agents to PayPerByte, a service offering cryptographically attested data feeds. Agents can discover feeds, purchase data via x402 micropayments (settled in USDC on Base mainnet), subscribe to streams on testnet, and verify attestations before acting on responses.
- Screen a merchant domain and address before settling a payment, receiving a signed ALLOW/WARN/BLOCK verdict with an EIP-712 attestation receipt.
- Fetch weather, earthquake, market, or security data feeds on-demand, paying per call with cryptographic proof of delivery integrity.
- Subscribe to continuous data streams on Arbitrum Sepolia testnet and query fact-oracle publishers for signed answers with citations.
Tools this server exposes
| Tool | Does |
|---|---|
| byte_buy_data | Purchase data from a PayPerByte feed via x402 on Base mainnet, paying real USDC; supports both GET requests and POST queries to verdict oracles. |
| byte_subscribe | Subscribe to a continuous data stream on Arbitrum Sepolia testnet with automatic MockUSDC settlement for each delivery. |
| byte_query_fact_oracle | Post a signed EIP-712 question to a registered fact-oracle publisher on testnet for an on-chain signed answer with citations. |
| byte_discover_feeds | List and search the PayPerByte catalog of available data feeds. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.