bond-seller-mcp
v0.5.3Sell jobs backed by Agent402 Bond deals on Solana (USDC or PREQ) from your own seller wallet.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sell_status
Show this seller: wallet address, the job terms it sells (Agent402 Bond, USDC or PREQ), how buyers reach it, balances and job counts. Read-only; takes no input. Returns configured: false with the list of problems when the seller is not set up yet. Call it first; then use sell_jobs to see work waiting for you.
sell_prepare
Prepare a deal for a buyer who asked for the job by another channel (chat, email, another agent). Returns the open transaction, already signed by this seller, for the buyer to verify and sign (pay-mcp bond_open). The seller bond leaves this wallet only if the buyer sends it. Returns result "prepared" with the transaction, or "refused" (an error) with the reason (for example limits reached or buyer not allowed). Buyers using the HTTP endpoint do not need this tool.
| Parameter | Type | Description |
|---|---|---|
buyer * | string | Buyer wallet address (base58) |
input * | string | What the buyer asks for, as text (at most 16,384 characters; stored with the deal and its hash recorded) |
sell_jobs
Check the chain and run the seller loop (mark finished work, give up on jobs close to their deadline, settle and claim finished deals), then list the jobs waiting for you to do the work. Call it regularly; a background timer also runs the loop while this server is running. Takes no input. Returns the loop steps and the jobs to do (deal, buyer, price, input, deadlines; a job is declined automatically 30 minutes before its mark deadline). Hand in each result with sell_submit, or give up with sell_decline.
sell_submit
Hand in the result of a job from sell_jobs. Stores it and marks delivery on chain (this wallet pays the network fee). A buyer using the HTTP endpoint fetches it there; otherwise pass the result to the buyer yourself. Returns result "delivered" with the mark transaction; "refused" means nothing was marked (for example the deal is not yours or the deadline passed).
| Parameter | Type | Description |
|---|---|---|
deal * | string | Deal address (base58) from sell_jobs. |
result * | string | The work, as text (JSON text is fine; at most 200,000 characters). Its hash is what the buyer checks. |
sell_decline
Give up on a job from sell_jobs (cannot be done, or should not be). Delivers a failure notice and marks delivery, so the deal ends neutral: your bond comes back and the buyer gets its deposit back. Returns result "declined" with the mark transaction, or "refused" (an error). Use sell_submit instead when you have the work.
| Parameter | Type | Description |
|---|---|---|
deal * | string | Deal address (base58) from sell_jobs. |
code | string | Reason code for your own records (default other); not sent to the buyer and not stored on chain. |
reason | string | Short reason shown to the buyer (at most 300 characters). |
sell_job_status
Read one Bond v2 deal as an 8183-style job (compatible mapping on Bond v2, not the ERC-8183 standard itself), from the provider side. Read-only, never signs. Returns status Funded, Submitted, Completed, Rejected or Expired, the Bond v2 outcome, whether time has fixed it (settleable), whether you can still submit, and submitBy / completeBy / settleAfter (ISO times). A buyer who does not accept shows as Rejected once the review window ends; the buyer reason code, if any, stays on the buyer side.
| Parameter | Type | Description |
|---|---|---|
deal * | string | Deal address (base58) from sell_jobs or sell_prepare. |