fairseal-mcp-server

v0.1.3
io.github.ned-del/fairseal-mcp-server Checked 1 day ago Published 3 months ago

Verifiable entropy, provably-fair games, and receipt verification for AI agents (FairSeal API).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fairseal_entropy Get verifiable entropy

Fetch raw verifiable entropy from the latest resolved VDF epoch at api.fairseal.io. Read-only. [requires FAIRSEAL_API_KEY]

fairseal_games_catalog List FairSeal games

List available provably-fair games (sicbo, dice, gacha, slots) with bet types and endpoints. Read-only.

fairseal_stats Engine stats

FairSeal entropy engine statistics. Read-only. [requires FAIRSEAL_API_KEY]

fairseal_recent_games Recent games

List recently resolved games (useful to find game_ids to verify). Read-only.

fairseal_game_result Get game result

Fetch the result of a game by game_id (poll until resolved). Read-only.

ParameterTypeDescription
game_id *stringGame ID — 64-char hex hash, e.g. 64096a172374489ccd4563d7c15efe5e467604dd826149da0511a0fa6109e26f (get one from fairseal_recent_games or a bet tool response)

fairseal_verify_game Verify game fairness

Verify the fairness of a completed game. Returns VDF proof data and replay steps for independent verification. Read-only.

ParameterTypeDescription
game_id *stringGame ID to verify

fairseal_rng_generate Generate verifiable RNG

Request raw verifiable random number generation (resolves after next VDF epoch, ~5s). Returns a poll URL / game_id. [requires FAIRSEAL_API_KEY]

ParameterTypeDescription
client_seedstringOptional client-provided seed

fairseal_sicbo_bet Place Sic Bo bet

Place a three-dice Sic Bo bet. Outcomes provably fair via VDF. Resolves after next epoch (~5s); use fairseal_game_result to poll.

ParameterTypeDescription
bet_type *string
amountnumber
comboarrayDice combination for combo bets
player_idstring
player_seedstring
targetintegerTarget value (total/single/double/triple bets)

fairseal_dice_bet Place Dice bet

Place a two-dice bet (exact/over7/under7/odd/even). Resolves after next epoch (~5s).

ParameterTypeDescription
bet_type *string
amountnumber
player_idstring
player_seedstring
targetintegerTarget sum for exact bets

fairseal_gacha_pull Gacha pull

Pull a weighted loot box (standard or premium pool). Provably fair via VDF.

ParameterTypeDescription
player_idstring
player_seedstring
poolstring

fairseal_slots_spin Slots spin

Spin the 5-reel 3-row slot machine with wild substitution. Provably fair via VDF.

ParameterTypeDescription
amountnumber
player_idstring
player_seedstring

fairseal_anchor_submit Submit anchor (preview stub)

PREVIEW STUB of the future Anchor API v2 (POST /v2/anchor). Simulates queuing a commitment hash for Merkle-batch anchoring to Base. No payment, no chain writes.

ParameterTypeDescription
payload_hash *stringSHA-256 hex digest of the receipt/commitment to anchor

fairseal_anchor_status Anchor status (preview stub)

PREVIEW STUB of the future Anchor API v2 (GET /v2/anchor/{id}). Each poll advances the simulated lifecycle: queued → batched (Merkle proof) → anchored (simulated tx hash).

ParameterTypeDescription
anchor_id *stringAnchor ID from fairseal_anchor_submit