scdo-agent-mcp

v0.2.0
io.github.SCDOLAB/scdo-agent-mcp Checked 2 days ago Published 1 month ago

SCDO agent wallet and chain tools: x402 USDC, Agent Ledger, SCDO chain, games, Connect.

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

register_agent Register agent

Create (or reuse) a local SCDO agent identity as a bookkeeping node and start signed heartbeats to the Agent Ledger. The key is created and kept in the local data dir.

ParameterTypeDescription
name *string
heartbeatsboolean
label
payout

create_wallet Create x402 wallet

Create or reuse the agent's x402 wallet and bind it on the Agent Ledger. Fund it with USDC on Base; no ETH is needed. maxUsdc: per-payment limit 0.001 to 1 (default 0.10). dailyUsdc: up to 20 (default 1.00).

ParameterTypeDescription
bot *string
dailyUsdc
maxUsdc
network

get_balance Get balance

On-chain USDC balance of the agent wallet plus the Agent Ledger balances (USDC, test USDC, SCDO).

ParameterTypeDescription
bot *string
network

pay_x402 Pay x402 resource

Pay an HTTP 402 (x402) resource from the agent wallet with an EIP-3009 authorization. The facilitator pays gas. The price is previewed first and must be within maxUsdc and the caps.

ParameterTypeDescription
bot *string
url *string
maxUsdc
network

book_income Book income

Book a settled x402 payment the agent received as income on the Agent Ledger. The ledger checks the signature, the payee wallet and the on-chain receipt. Booking twice is safe (duplicate). agent: 0x agent address if not a local bot.

ParameterTypeDescription
paymentPayload *
settlement *
agent
bot
paymentRequirements

chain_block_height Chain block height

Current block height of the SCDO chain per shard (0 = EVM Shard0, chainId 5680; 1-4 = SCDO Classic). Omit shard for all five.

ParameterTypeDescription
shard

chain_address_balance Address balance

Native SCDO balance of an address on one shard. Shard0 takes 0x addresses; shards 1-4 take 1S.. classic addresses.

ParameterTypeDescription
address *string
shardinteger

chain_tx_status Transaction status

Look up a transaction by hash: success, failed, pending or not_found, with block and amounts when known.

ParameterTypeDescription
tx_hash *string
shardinteger

chain_address_txs Shard0 address history

Shard0 transaction history of a 0x address from the scdo.com.au explorer API (25 per page).

ParameterTypeDescription
address *string
pageinteger

ledger_stats Agent Ledger stats

Agent Ledger totals: registered agents, online now, count per platform, and service health.

ledger_list_agents List ledger agents

List agents on the SCDO Agent Ledger (address, online, platform, version, status code). Filter by platform or operator address.

ParameterTypeDescription
limitinteger
onlineOnlyboolean
operator
platform

ledger_get_agent Look up ledger agent

One agent's Agent Ledger record (status, problems, wallets) and, optionally, its book (WSCDO, USDC, test USDC balances and entries).

ParameterTypeDescription
address *string
includeBookboolean

ledger_registration Ledger ERC-8004 registration

ERC-8004 registration documents of the Agent Ledger and of the main SCDO agent (services, endpoints).

games_catalog Games catalog

SCDO Games list with play links on scdo.com.au (free demo and SCDO points bookkeeping games).

stakewheel_demo_commit Stake Wheel demo commit

Get a fresh provably-fair commit (commit_id and server seed hash) for the free Stake Wheel demo.

x402_catalog x402 service catalog

Catalog of SCDO x402 pay-to wallets and their pay URLs: base = USDC on Base, scdo = native SCDO on Shard0.

ParameterTypeDescription
networkstring

x402_quote x402 price quote

Fetch the HTTP 402 payment requirements of an x402 URL (price, asset, network, payTo) without paying.

ParameterTypeDescription
url *string

x402_relay_status x402 relay status

Health and supported schemes of the SCDO x402 Base settlement relay (scdo.com.au/x402-base/).

wallet_downloads Wallet downloads

Latest SCDO Wallet downloads (Windows, Mac) and the Linux scdo-agent, with version, URL and SHA-256.

invite_info Invite info

Invite programme status (contract, limits, live) and, given a Shard0 address, that address's invite link.

ParameterTypeDescription
address

connect_start Connect: start

Start an SCDO Wallet Connect flow for a game: returns a token, nonce and the connect URL to open with SCDO Wallet. returnUrl must be an scdo.com.au /games/ or /play/ URL. No keys are involved.

ParameterTypeDescription
game *string
returnUrl *string
srcstring

connect_exchange Connect: exchange code

Redeem the one-time return code from SCDO Wallet (valid 300 s, single use) for a browser session and the wallet address.

ParameterTypeDescription
code *string