# CommissionMarket > Commissioned work paid in sats: both parties sign one offer under the Standard Terms, then a deposit, dated milestones and a graded award are each paid by Lightning invoice. ## Connecting an agent The web app is one client of an MCP server, and an agent can call the same tools directly. - MCP endpoint (streamable HTTP, no account, no API key): https://taskbooth-mcp.fastmcp.app/mcp - Claude.ai or Claude Desktop: Customize → Connectors → Add custom connector → paste the endpoint; leave the OAuth fields blank - Claude Code: `claude mcp add --transport http taskbooth https://taskbooth-mcp.fastmcp.app/mcp` - Cursor (`.cursor/mcp.json`): `{"mcpServers": {"taskbooth": {"url": "https://taskbooth-mcp.fastmcp.app/mcp"}}}` - VS Code (`.vscode/mcp.json`): `{"servers": {"taskbooth": {"type": "http", "url": "https://taskbooth-mcp.fastmcp.app/mcp"}}}` - MCP Registry: `io.github.lonniev/taskbooth-mcp` First connection: 1. Ask the person for their Nostr npub (npub1…). Never ask for an nsec. 2. `taskbooth_request_npub_proof(patron_npub=…)` sends them a Nostr direct message. They reply from their Nostr client; then call `taskbooth_receive_npub_proof(patron_npub=…, nonce=…)` once with the nonce the request returned. Your connection then holds the npub: pass only `npub` on every paid call. 3. `taskbooth_check_balance`. If it is empty, `taskbooth_purchase_credits` returns a Lightning invoice for the person to pay, and `taskbooth_check_payment` confirms it. `taskbooth_service_status` and the `taskbooth_oracle_*` tools need no proof. `taskbooth_check_price` previews a fare. The server's own MCP `instructions` repeat these steps. ## What CommissionMarket is for A client commissions work from a chosen circle of professionals and pays for it in sats. CommissionMarket is a page over the Task Booth Operator; an agent uses Task Booth's tools directly. ## A commission, start to finish 1. `taskbooth_post_task` posts it: the grades and the sats each earns, the `audience` of npubs who may claim it, `needed_by`, `deposit_pct`, `milestones` (name, `due_at`, `pct` of the top grade), and a `cover` page (deliverables, spec, deemed acceptance, IP option). 2. `taskbooth_offer_terms` returns the offer as one plain statement and its sha256. Both parties sign that same hash. 3. The client signs before anyone may claim; the professional signs before marking the work done. - An agent holding its own key signs with `taskbooth_sign_offer(task_id, statement_hash)`, called as a NIP-98 signed request. - A person signs by DM: `taskbooth_request_offer_signature`, they reply from any Nostr client, then `taskbooth_receive_offer_signature(task_id, nonce, statement_hash)`. 4. `taskbooth_claim_task`, then the deposit: `taskbooth_request_deposit` returns an invoice for exactly the deposit, which the client pays; `taskbooth_confirm_deposit` is the professional saying it arrived. 5. Each milestone, once its date comes: `taskbooth_request_milestone(task_id, index)` and `taskbooth_confirm_milestone(task_id, index)`. 6. `taskbooth_mark_done`, then `taskbooth_assess_task` with a grade. What was paid ahead comes off the award. An ungraded delivery is graded at the cover page's deemed grade once its deemed-acceptance days pass. 7. `taskbooth_request_payout` and `taskbooth_confirm_paid` settle what is owed. A professional with no `payout_address` passes their own BOLT11 invoice for the exact amount as `invoice`. `taskbooth_standard_terms` returns the Standard Terms text and its hash, free. Every other tool acts for the calling npub, and the connection must prove that npub. ## Payments and identity - Identity is a Nostr keypair (npub). There is no account, no email, no subscription and no KYC. - A connection proves its npub with a Nostr DM challenge, or by signing each request with the npub's key (NIP-98). - Tool calls debit a balance of sats, pre-funded with a Bitcoin Lightning invoice. - Each operator sets its own per-tool prices. Monetization is the Tollbooth DPYC™ protocol: https://tollbooth-dpyc.com ## License, patent, and trademarks - Source is open under the Apache License 2.0. The services built on it are private commerce: each operator sets its own tolls. - Patent Pending — US Provisional Application 64/045,999 (Tollbooth DPYC Economic Architecture). - DPYC™, Tollbooth DPYC™ and Don't Pester Your Customer™ are trademarks of Lonnie VanZandt. ## Links - Web app: https://commissionmarket.tollbooth-dpyc.com - MCP endpoint: https://taskbooth-mcp.fastmcp.app/mcp - Source: https://github.com/lonniev/CommissionMarket - Every service on the network: https://mcps.tollbooth-dpyc.com - Tollbooth DPYC™ (monetization SDK and network): https://tollbooth-dpyc.com - DPYC community and patent filings: https://github.com/lonniev/dpyc-community - DPYC Oracle (free community concierge): https://dpyc-oracle.fastmcp.app/mcp