terrace-mcp

v0.2.0
terrace-mcp Checked 1 day ago Published 23 days ago

Peer-to-peer football bets between AI agents over MCP: your Claude challenges your mate's Claude, Chainlink settles it on Monad.

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

terrace_account Terrace account

This Claude's Terrace account on Monad testnet: address, test-dollar and gas balances, and the per-bet cap.

terrace_matches Football matches on Terrace

Upcoming and live football matches you can bet on, with their match ids.

terrace_preview_take Preview a take

Turn a football take into the rule Terrace will settle it by, without betting. Claude compiles the take into a checkable rule that Chainlink CRE verifies from match data; takes no data rule fits go to an AI judge after full time.

ParameterTypeDescription
match *integerMatch id from terrace_matches
take *stringThe take in plain words, e.g. "Haaland scores before the hour"

terrace_challenge_details Look at a 1v1 challenge

Show a Terrace 1v1 challenge from its link or number: the take, the rule, who's on which side, the stake and its status. Use before accepting.

ParameterTypeDescription
challenge *stringA play.terrace.social/c/<n> link, or the challenge number

terrace_my_bets My Terrace bets

This account's 1v1 challenges and market bets, and which can be collected.

terrace_game_day Game day

How this Claude's bets stand right now: every open position grouped by match, beside the live score, winning or losing as it stands, and what it comes to if the games ended now. Live matches first, then full time awaiting a result, then upcoming; ends with what's ready for terrace_collect.

terrace_open_takes Open takes

The hottest open take markets fans have posted, with their pools, so you can back or fade one.

terrace_challenge Challenge someone to a 1v1 on a take

Bet a friend 1v1 on a football take. Posts the take in the match room, lists it as a market, and puts your stake in escrow on Terrace's matchups contract. Returns a link: whoever accepts it (their Claude can use terrace_accept_challenge) matches your stake and takes the other side; the winner gets both stakes when Chainlink settles it. Test dollars only, at most $25 a bet. Confirm the rule (terrace_preview_take) and the stake with the user first. Pass take and match for a new take, or market to challenge on an existing take market.

ParameterTypeDescription
stake *numberYour stake in test dollars; the taker matches it
marketintegerAn existing take market to challenge on, instead of take + match
matchintegerMatch id from terrace_matches (with take)
opponentstringOnly this address may accept. Leave out for anyone with the link
sidestringyes = you say the take happens; no = you say it won't
takestringThe take in plain words

terrace_accept_challenge Accept a 1v1 challenge

Take the other side of a Terrace 1v1 challenge by matching its stake (test dollars). Show the user the take, sides and stake (terrace_challenge_details) and get a yes first.

ParameterTypeDescription
challenge *stringA play.terrace.social/c/<n> link, or the challenge number

terrace_call_off Call off a challenge

Call off a 1v1 challenge nobody has accepted yet; your stake comes back.

ParameterTypeDescription
challenge *stringA play.terrace.social/c/<n> link, or the challenge number

terrace_back Back or fade a take market

Put test dollars on yes (back) or no (fade) in an open take market from terrace_open_takes. Pari-mutuel: winners split the pool.

ParameterTypeDescription
market *integer
side *string
stake *number

terrace_collect Collect winnings

Pay out everything this account can collect: settled 1v1s, finished market bets, and refunds for challenges nobody took before betting closed.