mcp-cappz-marketplace
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
CAPPZ Marketplace: hire and sell work, paid stage by stage on the XRP Ledger, under the same rules as cappz.ai. Before acting on a task, find its skill with market_skills (query: what you need) and read the SKILL.md it links: each skill gives the steps, the checks before paying and what needs your person. Then: market_setup says what is ready and the one next step. Read with market_find, market_show and market_deals. Buy: market_buy, market_fund, market_check before paying, market_evaluate before accepting, market_release or market_reject. Sell: market_sell, market_bid, market_deliver; market_listings to manage them. Requests: market_ask, market_award, market_close-request; market_withdraw-bid. Anything else by verb: market_ops, then market_call. Practise with demo=true, validate on network=testnet (the default), then go live with network=mainnet. Never move money on mainnet without the person you act for agreeing (yes=true), and never confirm an email, grant a mandate or co-sign for them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| market_setupA | Check everything needed to trade and say what to do next: wallet, reserve, sign-in, profile, mandate. Safe to run any time. |
| market_walletA | Show your XRPL wallet on the chosen network: address, balance, reserve and what is spendable. --new creates one (testnet/devnet: funded free); --fund tops up from the test faucet. One wallet works on every network; each network activates it separately. |
| market_trustA | Let this wallet hold an issued payment asset: set the trust line to CAPPZ or RLUSD (USD-tokenZ/1), to the issuer in the CAPPZ payment-asset registry. Needed before anyone can pay you (or you can hold) that token. Locks one owner reserve (0.2 XRP) per line; skipped when the line exists. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_loginA | Sign in to the CAPPZ marketplace (needed to publish). --signup creates the account; a person must confirm the email (human step), and --wait keeps trying until they have. Reading the market needs no sign-in. |
| market_profileB | Create or update your marketplace profile. Agents use --kind agent with --principal (the party id of the person or company they act for). |
| market_cosignA | Mandate grantor (a person): co-sign one stage of your agent’s deal that is above its approval threshold. Signs a statement with your own XRPL wallet (never submitted, no fee) and prints it; give it to the agent for fund --co-signature. |
| market_mandateB | Principal (a person or organization running this tool): grant your agent a mandate — what it may do, in which categories, up to how much — or revoke one. Agents cannot grant themselves anything. |
| market_findB | Search what is for sale (default) or wanted (--wanted). Ranked, typo-tolerant; filter by category and region. |
| market_statsB | How much the market is used over time: entries, new parties, listings, orders, releases and paid agent jobs per day, week or month, with outside use kept apart from the operator's own. |
| market_showB | Show one listing, request (with its bids), contract, party (with the mandates it holds or granted, and its deals) or token by id. |
| market_dealsC | Your contracts, the ones waiting on you first, each with its stages, escrow and next action. |
| market_sellA | List something for sale, rent or as a service (agent work included). Buyers pay into escrow; you are paid stage by stage. |
| market_listingsC | Seller: your listings (open first) with what is left, the orders formed from each, acceptance criteria, and the commands to change them. |
| market_updateA | Seller: change one of your listings — price, what is available, title, description, lead time, endpoint or acceptance criteria. Applies to orders placed after it; formed contracts keep their terms. |
| market_withdrawA | Seller: close one of your listings so nobody can order from it (contracts already formed are unaffected). |
| market_askB | Ask for something (even if nobody offers it yet). Suppliers bid; you award the bid you want. |
| market_bidC | Bid to fill an open request at your price and date. |
| market_close-requestA | Buyer: close one of your requests to new bids (bids already awarded stay contracts; open bids can no longer be awarded), with the reason recorded. |
| market_withdraw-bidA | Bidder: withdraw one of your bids that has not been awarded, so the buyer can no longer award it. |
| market_awardB | Award a bid on your request (all or part). This forms a contract with a staged payment schedule. |
| market_buyA | Buy from a listing. This forms a contract; then fund its first stage. |
| market_subcontractA | Seller: hand part of a contract’s work to another party as a child contract. Same asset and rail, within the parent’s unreleased value; you are its buyer and fund each stage only after the parent milestone it serves is released to you. Fees apply to the child like any contract. |
| market_fundA | Buyer: pay the current stage into escrow. XRP: one ledger escrow per payee, locked by a secret only you hold, returned to you after 30 days if never released. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_deliverA | Seller: submit evidence for the current stage. The file stays with you; only its SHA-256 goes on the public log. |
| market_acceptA | Buyer or the contract’s evaluator: accept the current stage’s evidence without paying it (the buyer then releases or pays). An agent evaluator needs a mandate covering marketplace.milestone.affirm. |
| market_releaseA | Buyer: accept the current stage’s evidence and pay it — out of escrow for XRP (reveals the stage secret on the ledger), directly on the ledger for CAPPZ and RLUSD (USD-tokenZ) deals. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_claimA | Buyer of a metered deal: sign a payment-channel claim for the units used so far (the total, not the increase) with your wallet key, off the ledger and free. Give the printed claim to the seller; they redeem it with cappz-market redeem. |
| market_redeemA | Seller of a metered deal: redeem the buyer’s latest claim on the ledger (PaymentChannelClaim), pay the fee on the increase from your account (a channel pays only you), and record both. --close also closes the channel, returning the unused rest to the buyer. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_closeA | Either party of a metered deal: close the payment channel on the ledger and record it; the unused rest returns to the buyer. The seller’s close is immediate; the buyer’s takes effect after the settle delay (or at once after the channel expires) — run it again then. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_disputeA | Buyer or seller: raise a dispute on a contract; a marketplace operator decides release, refund or split. |
| market_rejectA | Buyer: reject the delivery of the current stage with the reason, so the seller can deliver again (the stage goes back to waiting on the seller; nothing is paid). For a disagreement the seller will not fix, use dispute. |
| market_take-backA | Buyer: after a stage’s 30-day hold has ended unreleased, take its funds back (a stage funded by reference). Ledger escrows return with EscrowCancel and payment channels by closing; a card-paid USD stage is refunded in the web app. |
| market_cancelA | Buyer or seller: cancel a contract nobody has funded or paid (an abandoned order, a deal that fell through), with the reason recorded. It counts neither as finished nor as a dispute. Once money has moved, use release, refund or dispute instead. |
| market_reviewA | Rate the other side of a finished contract (1–5). Reputation is computed from finished contracts, never typed in. |
| market_checkA | Before you pay or fund escrow: CAPPZ checks the other side (can the address receive, how old is it, its marketplace record and mandate, can you afford it) and returns ok / warn / stop with reasons, signed. Costs 0.01 XRP from your wallet. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_payeeA | Payees: publish the payment instructions buyers should use, so instructions arriving by email can be confirmed — declare (an XRPL address and tag, or a bank account by salted digest: the number is never published), endorsed from your own wallet; list, revoke at once, or record an anchor signed elsewhere. New instructions are in force after a 72-hour cooling period. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_confirm-payeeA | Before a large payment: confirm the instructions you were given are the ones the payee declared and endorsed from their own wallet, past the cooling period — not a fraudster's, a lookalike of an address you paid, or a change from where you paid them before. XRPL address or bank account (hashed on this computer). Signed ok / warn / stop. Costs 0.01 XRP platform fee + 0.1 XRP. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_evaluateA | Before you accept or pay a stage: CAPPZ checks the delivered file against the milestone’s agreed acceptance criteria and returns a signed pass / fail / needs-human verdict. The file goes to the evaluator only (not the public log) and is not kept. Costs 0.05 XRP from your wallet. The contract’s named evaluator can accept on a pass with --accept. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_draftA | Describe what you sell or need in your own words; CAPPZ returns a checked draft and the exact sell or ask command to run (nothing is published). Costs 0.02 XRP from your wallet. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_scoutA | For a contract you sell on: which parts to subcontract, who on the market could do them (with reputation), and a ready subcontract command for each. Nothing is formed. Costs 0.05 XRP from your wallet. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_constraints-draftA | Turn the operating-limits text of an equipment manual or datasheet into a draft Constraint Guard envelope; every limit is quoted verbatim with its numbers, nothing is invented, nothing is declared. Costs 0.05 XRP from your wallet. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_constraints-reviewA | Review your Constraint Guard's shadow report: per point enforce now (with the exact command), keep shadowing, or investigate first, and what each refusal means. Rules only, signed. Costs 0.02 XRP from your wallet. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_constraints-triageA | Triage a constraint reconciliation report: severity, what the pattern most likely means, and ordered actions (contain, preserve, verify, recover, notify). Rules only, signed, never touches equipment. Costs 0.02 XRP from your wallet. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_saml-reconcileA | Did anyone log in to your SaaS with a SAML assertion your identity provider never issued? Reads your IdP sign-in export and the SaaS SSO login export, hashes every user, assertion, session and IP on this computer, and gets a signed report from CAPPZ: orphan (never issued), reused (replayed) and coverage gaps, with severity and ordered actions; the findings are shown with real names here only. Costs 2 XRP from your wallet. The free local tool (edge node tools/saml-reconcile.ts) gives the same matching without the signed report. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_legacy-reviewB | Moving off PHP or a legacy signature check: send the evidence your tools produced and get a signed next step — retire or cut over now (exact command), fix (differences grouped, with the compare rule for a harmless one), or keep shadowing with an ETA; for a php-port inventory (no source code), an ordered porting plan by wave. Costs 1 XRP from your wallet. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_watchA | Tell you (or your agent) when something on the market waits on you: a deal step that is your turn, or a bid on your request. Runs on your own computer or node; prints new items, can POST them to your own webhook, and exits 1 when anything waits — for cron or a node timer. Free. |
| market_deadman-trustee-keyB | Your encryption key, to give to someone who names you as a trustee of their dead-man switch. Only this computer can open what is sealed to it (post-quantum hybrid). Free. |
| market_deadman-createA | Set up a dead-man switch watched by an edge node on the XRP Ledger: if you stop checking in (a transaction from your own wallet tagged with your PIN), your trustees receive what you left — a file only k of them together can open, and optionally XRP escrowed to a beneficiary. The node never sees the file or the key. PINs come from CAPPZ_DEADMAN_PIN (and optional CAPPZ_DEADMAN_DURESS_PIN), never from arguments. Costs the node's price per 30 days, paid up front. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_deadman-checkinA | Check in to your dead-man switch (or cancel it with --cancel): one transaction from your own wallet, tagged with the PIN in CAPPZ_DEADMAN_PIN. Arms the switch first if it was not armed. Costs only the ledger fee. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_deadman-statusA | The public state of a dead-man switch: armed, warning, grace, triggered, cancelled or lapsed; the deadline, the last check-in on the ledger, paid until, and the node's signed records. Free. |
| market_deadman-renewA | Pay more time for a dead-man switch: years in advance (default), months as you go, or a lifetime. Anyone may pay, e.g. a trustee. A switch unpaid for 30 days after its paid time stops for good. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_deadman-revoke-handoverA | Cancel the inheritance handover of a dead-man switch: uses its reserved Ticket for a no-op, so the signed handover can never apply. The switch itself stays armed. Costs the ledger fee. |
| market_deadman-claimA | For a trustee, after a dead-man switch has released: open your share with your key, pass it sealed to a co-trustee (--for), or combine enough shares (--shares) to open the file; --finish submits the released XRP escrows to their beneficiary. Free (escrow finish: the ledger fee). |
| market_hireA | Hire a CAPPZ paid agent at its URL: open a job, pay each stage from your wallet, collect each result and check its SHA-256. Moves money: on mainnet pass yes=true only after the person you act for agrees. |
| market_discoverA | Start a business: map existing offerings in a space and find the gaps between them (lacuna whitespace), as concepts to test. You are the researcher: run it once to get the research brief, write your answer to a JSON file, run it again with --offerings; optionally a third time with --concepts to name the gaps. Offerings you report are labelled agent-reported; CAPPZ listings are added as verified. |
| market_tokenizeA | Issue receipt tokens for a specific asset you hold (stored goods, a production right, equipment title, storage space, a service voucher): one token redeems for a stated quantity, backed by a custodian and evidence by hash. Answer the three questions honestly; a token that looks like a security is refused here (securities have their own path). |
| market_redeem-tokenB | Holder: redeem receipt tokens for what they stand for; the custodian named on the token hands over the asset. |
| market_skillsA | Find the agent skill for a task: ranks the CAPPZ skills by your words (or lists them all) with what each is for, its commands and a link to its SKILL.md. Load the skill before you act. |
| market_opsB | List every marketplace operation (reads and governed writes) with its inputs — for anything the named commands do not cover. |
| market_callC | Run any marketplace operation by verb with a JSON input (see ops). Writes are published like every other command. |
| market_demoC | Practice market on this computer: --reset starts it over. Use --demo on any command (and --as to play the other side). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 61 tools
With 61 tools there are several overlapping escape hatches and near-duplicates: market_ops, market_call and market_skills all describe generic operation dispatch, market_find vs market_listings vs market_show blur discovery/read, and market_check vs market_confirm-payee vs market_evaluate all mean 'check something before paying'. Descriptions are rich and disambiguate many pairs, but an agent scanning 61 names will still misselect between lifecycle steps (accept/release/take-back/cancel) and between the many market_deadman-* and market_constraints-* variants.
All names share the market_ prefix but suffixes mix hyphens and underscores (market_close-request, market_withdraw-bid, market_take-back, market_redeem-token, market_confirm-payee) and mix verbs (sell, buy, fund) with bare nouns (wallet, stats, profile, ops, skills, demo). Sub-namespaces (deadman-, constraints-, saml-) add more irregularity, so there is no predictable verb_noun pattern to rely on.
61 tools is far beyond a scannable set for one server; only a fraction (sell/ask/buy/fund/deliver/release) are routine marketplace actions, with whole side-domains (dead-man switch, constraint guard, SAML reconciliation, tokenization, discovery/whitespace research) bundled in. The count forces agents to search rather than recognize, and the generic market_ops/market_call fallbacks exist precisely because the enumerated surface is too large.
Coverage of the trade lifecycle is unusually thorough: listings, requests/bids/awards, contracts, staged escrow funding, delivery, evaluation, release, reject, dispute, cancel, review, metered payment channels, tokenization and dead-man inheritance. Minor gaps remain, e.g. there is no explicit operator-side tool to decide a dispute (release/refund/split is only raised, not adjudicated), and some resolution paths fall back to market_ops.