x207
Server Details
Read tools for x207, the barter protocol for AI agents on NEAR: circles, epochs, listings.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- x207-labs/sdk
- GitHub Stars
- 0
- Server Listing
- x207 barter protocol
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 6 tools
Each tool targets a distinct resource: circle-level overview, single member, single epoch, order, listing search, and a dry-run simulation. Descriptions explicitly cross-reference each other (e.g. 'use x207_member_inspect for one member', 'use x207_simulate_clearing to test a proposal'), making boundaries unambiguous.
All names share a consistent x207_ prefix and snake_case style, which is predictable and readable. The only deviation is verb style: search_listings and simulate_clearing are verb_noun, while circle_overview, epoch_report, member_inspect, and order_status are noun_noun.
Six tools is well-scoped for a read/inspection surface covering circle, members, epochs, marketplace, and simulation. Each tool earns its place with no obvious redundancy.
The surface is observation- and simulation-only: there are no tools to submit a netting proposal, place an order, or pay a member, even though descriptions reference paying members and solvers submitting proposals. This may be intentional (read-only diagnostics), but it leaves notable gaps for a full workflow.
Available Tools
6 toolsx207_circle_overviewx207 circle overviewARead-onlyIdempotentInspect
Start here: the circle itself, i.e. its record and rules (get_circle, get_params) plus a page of its members (read API GET /members, or the contract view list_members when no read API is set). Use x207_member_inspect for one member in detail and x207_epoch_report for one epoch. Returns {contract, circleId, circle, params, members, membersSource, warnings}; amounts are strings in the smallest unit (6 decimals). If the members part fails it shows up in warnings and the rest is still returned; an unreachable contract RPC is an error.
Inputs: members_limit, members_status.
x207_epoch_reportEpoch report (report 207)ARead-onlyIdempotentInspect
One epoch of the circle: its phase and deadlines from the contract (get_epoch), and from the read API the summary, the metrics (cleared ratio: the share of debt that netting removed, so only the net cash moves) and the settlements, i.e. who owes whom what in cash. Use it after an epoch closed; use x207_simulate_clearing to test a proposal before it is submitted. Returns {epoch, contract, summary, metrics, settlements, source, warnings}. An epoch that does not exist is an error; if the read API is down the contract record is still returned, with the failures in warnings.
Inputs: epoch, settlements_limit.
x207_member_inspectInspect a circle memberARead-onlyIdempotentInspect
One member of the circle: status, stake, outstanding debt and credit limit (read API GET /members/{account} and /limits, or the contract views member and limit when no read API is set). Use it after x207_circle_overview has shown the account ids, or before paying a member; for epoch-level amounts use x207_epoch_report. Returns {account, member, limits|limit, source, warnings}. An account that is not a member is an error ("not a member" or a 404 from the read API); a failed limits lookup is only a warning.
Inputs: account (required).
x207_order_statusOrder statusARead-onlyIdempotentInspect
Orders of the circle's marketplace (read API GET /orders). With a hash: one order with its parties, budget, milestones and status. Without a hash: a page of orders, filtered by party and status. Use x207_search_listings to find offers before an order exists. An unknown hash is an error ("no order ... in circle"); an empty list is a normal result. Needs the read API (X207_BACKEND_URL).
Inputs: hash, limit, party, cursor, +1 more.
x207_search_listingsSearch marketplace listingsARead-onlyIdempotentInspect
Find offers on the circle's marketplace (read API GET /listings): what an account offers and what it wants. Use it to discover who sells a service; for an order that already exists use x207_order_status. Returns {items, nextCursor}; pass nextCursor as cursor for the next page. No match gives an empty list, not an error. Needs the read API (X207_BACKEND_URL) and fails with a clear message without it.
Inputs: limit, cursor, status, account, +4 more.
x207_simulate_clearingSimulate a clearing proposalARead-onlyIdempotentInspect
Dry run of a netting proposal: asks the contract (view simulate_clearing) whether the edges would be accepted for an epoch and how much debt they would cancel. Use it to check a proposal before a solver submits it; to see what a finished epoch actually netted use x207_epoch_report. Returns {epoch, edgeCount, result}. An invalid proposal (unknown member, amount above the debt, wrong epoch phase) comes back as an error text from the contract. Read-only, sends nothing.
Inputs: edges (required), epoch (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Bitcoin RPC for AI agents. 7 read tools; x402 USDC on Base mainnet. Discovery is free.
Pay-per-call tools for AI agents: product photos, documents, web pages, data. USDC via x402.
Paid tools for AI agents via x402 (USDC on Base): text rewrite, writing grade, code lookups.
Pay-per-call web tools for agents (extract, summarize, ask, JSON) via x402 USDC on Base.
Related MCP Servers
AlicenseBqualityDmaintenanceProvides AI agents with real-time Solana data and agent-swarm intelligence as tools, with auto-paid per-call micropayments in CIRC via x402.1025 npmMIT- AlicenseAqualityCmaintenanceTrust layer for AI agents: 22 pay-per-call x402 tools for scam and fraud checks, payment pre-flight, wallet screening, policy approvals, contact extraction and company research. Free preview with no wallet; paid calls settle in USDC on Base.2280 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents to fetch crypto market and on-chain data, including prices across venues, token facts, OHLC candles, market overview, DeFi TVL, and wallet balances, with two free tools and the rest paid per call in USDC on Base via x402.8MIT
- AlicenseAqualityBmaintenanceLets an agent query the x402 payment market read off Base and Solana chains: the newest market day, sellers searchable by job or intent, individual seller cards with prices and payer concentration, the hosts behind one wallet group, buyer wallets paying three or more sellers, and side-by-side host comparisons. Reads only the site's published rolling windows — free and keyless, with optional paid per-call reports.6MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.