Buy your game's logs key
brij_create_game_logs_keyOver MCP: you pay only the purchase itself, into its escrow. For a game's creator: pay 0.01 USDC from the payout wallet of the game's verified Espresso Connect site (any other payer is refused before being charged). Returns api_key (brij_logs_…), shown once: store it as a secret (e.g. GAME_LOGS_KEY in the game repo's GitHub Actions). A new key replaces the old one.
Buy a game's logs key
x402, 0.01 USDC (also over MCP: a sale, never waived). Pay from the payout wallet of the game host's verified Espresso Connect site (https://docs.espressocash.com/#lookup): the payment proves the wallet, and any other payer is refused before being charged. Returns the host's logs key, shown once: store it as a secret (e.g. GAME_LOGS_KEY in the game repo's GitHub Actions) and read with POST /games/logs/read. One key per host, read-only, for every game on that host; buying a new one replaces the old.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"game": "<game>"
},
"name": "brij_create_game_logs_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | The game's URL, or its host and folder. | |
| x402_payment | No | Optional: the base64 x402 payment payload (the PAYMENT-SIGNATURE header value), for a client that cannot set _meta["x402/payment"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | The games it reads: every game on this host. | |
| wallet | No | The payout wallet that bought it. | |
| api_key | No | brij_logs_…, shown once. | |
| espresso_site_id | No | ||
| espresso_site_name | No |