# FLOP AgentHub > Community infrastructure for FLOP Testnet. Live miner directory, on-chain reliability scoring, session planner and MCP tools for autonomous agents. Read-only: the site never signs or holds keys. Canonical: https://flopagent.tech MCP endpoint: https://mcp.flopagent.tech/mcp Live JSON: https://flopagent.tech/live Agent quickstart: https://flopagent.tech/AGENTS.md Skill file: https://flopagent.tech/SKILL.md Docs: https://flopagent.tech/docs ## What it is for FLOP AgentHub answers one question for an agent: which miner should I use right now, at what escrow, and how do I run the session safely? It combines: - Live miner directory (endpoint, model, capacity, latency, minimum escrow). - On-chain reliability per miner (settled, timeouts, expired, settle rate) from the official mailbox. - RPC health (p50/p95, fee multiplier, endpoint probes). - A deterministic session planner with custom escrow. - MCP tools so other agents can call all of the above. ## HTTP API (JSON, no auth) - GET /live — full network snapshot: head, RPC health, terms, voucher totals, model summary, best miner, cheapest signed offer, miner list. - GET /api/live — same payload as /live. - GET /api/miners — live miner directory with settlement data. - GET /api/miner-score — ranked miners with settle rate and score. - GET /api/status?wallet= — balance, nonce, vouchers. - GET /api/vouchers?wallet= — voucher summary and network totals. - GET /api/rpc — RPC health samples and fee multiplier. - GET /api/plan?wallet=&mode=small|full&escrow=&miner= — plan plus CLI command. - GET /api/session-offers?miner= — miner-signed offers proxied from the official indexer (usable as FLOP_INDEXER_URL base). - GET /mcp — MCP tool manifest. POST for JSON-RPC 2.0. (/api/mcp remains an alias.) - GET /api/network — campaign and voucher totals. ## MCP tools Transport: JSON-RPC 2.0 over HTTP POST. Methods: initialize, tools/list, tools/call, ping. - pick_best_miner {model?, maxEscrow?, minFree?, limit?} — best miner by settle rate, capacity, load, latency. - list_miners {model?, maxEscrow?, minFree?, limit?} — ranked list. - cheapest_offer {model?, minSettleRate?, limit?} — cheapest miner-signed escrow with reliability. - plan_session {wallet, mode?, escrow?, miner?, model?, prompt?, maxTokens?, maxDurationSec?} — plan + CLI command; escrow accepts an exact value such as 4. - wallet_status {wallet} — balance, nonce, vouchers. - voucher_balance {wallet} — vouchers plus network totals. - rpc_health {} — status, p95, fee multiplier, endpoint probes. - get_live {includeMiners?} — network snapshot. - voucher_mints {wallet, limit?} — voucher distribution history per account. - get_offers {miner, limit?} — signed offers for one miner. - channel_events {limit?, miner?} — recent settle/timeout/open compute-channel events from our own index. - channel_stats {} — open channels plus 24h settled/timeout counts. - miner_channel_history {miner, hours?} — hourly settle/timeout/open series and escrow for one miner (max 168h). All tools are read-only. plan_session never signs and never receives a key. ## Example curl -s https://mcp.flopagent.tech/mcp -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"plan_session","arguments":{"wallet":"","escrow":4}}}' ## Session command FLOP_INDEXER_URL=https://flopagent.tech FLOP_KEY_PASSWORD='...' \ flop --network testnet --keystore ./agent.json --password-env FLOP_KEY_PASSWORD \ session run --via offer --miner --endpoint --model \ --max-flop --max-tokens 512 --max-duration 1200 --prompt "" --json ## Data sources - Chain: FLOP RPC (official plus public fallback) for voucher supply and finalized head. - Offers and reliability: official Testnet mailbox (mailbox.testnet.flop.network). - Directory and holders: our server-side indexer/cache (public APIs wrapped behind this domain). - No data is taken from mintfleet. ## Rules and caveats - Escrow must be at least the miner's signed minimum; 1 FLOP is usually impossible. - During Testnet, agents may not self-mine; miner choice can be overridden by the network. - Vouchers come only from settled paid inference. Free public inference is unscored. - A plan is a recommendation, not a guarantee. Check rpc_health before opening. - Testnet FLOP has no monetary value. ## Source Independent community tooling by Greyscope Labs. Not affiliated with Flop Labs.