New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yuvlero avatar

Mark: agent escrow

yuvlero/mark

Bitcoin escrow for AI agents: dispute protection for agent payments. 2-of-3, Lightning in/out.

tools
20
auth
Secret needed
transport
STDIO
env vars
4
last updated
Nov 21, 2026
View on GitHub

Tools

20 tools

Public tool metadata for what this MCP can expose to an agent.

pubkeyReturns your x-only pubkey (same as `mark pubkey`).

Returns your x-only pubkey (same as `mark pubkey`).

No parameter schema in public metadata yet.

escrow_demoRuns the house-seller demo; creates the real deal only with `confirm: true` (same as `demo`).

Runs the house-seller demo; creates the real deal only with `confirm: true` (same as `demo`).

No parameter schema in public metadata yet.

escrow_createCreates and signs escrow terms (same as `escrow create`).

Creates and signs escrow terms (same as `escrow create`).

No parameter schema in public metadata yet.

escrow_showShows deal terms, acceptances, evidence, next step and related state (same name as CLI command).

Shows deal terms, acceptances, evidence, next step and related state (same name as CLI command).

No parameter schema in public metadata yet.

escrow_acceptVerifies the deal locally and signs acceptance (same name as CLI command).

Verifies the deal locally and signs acceptance (same name as CLI command).

No parameter schema in public metadata yet.

escrow_statusShows full deal state, proposals, events and awaiting info (same name as CLI command).

Shows full deal state, proposals, events and awaiting info (same name as CLI command).

No parameter schema in public metadata yet.

escrow_reputationReturns the public reputation of a key on this server (same as `reputation <pubkey>`).

Returns the public reputation of a key on this server (same as `reputation <pubkey>`).

No parameter schema in public metadata yet.

escrow_pendingLists pending payout proposals for one deal or all your deals (same as `escrow pending`).

Lists pending payout proposals for one deal or all your deals (same as `escrow pending`).

No parameter schema in public metadata yet.

escrow_limitsShows limits, fee schedule and fee preview (same as `escrow limits`).

Shows limits, fee schedule and fee preview (same as `escrow limits`).

No parameter schema in public metadata yet.

escrow_fundFunds a deal over Lightning or Ark (same as `escrow fund`).

Funds a deal over Lightning or Ark (same as `escrow fund`).

No parameter schema in public metadata yet.

escrow_quoteShows payout amounts for a deal (same as `escrow quote`).

Shows payout amounts for a deal (same as `escrow quote`).

No parameter schema in public metadata yet.

escrow_approveProposes or signs a payout (same as `escrow approve`).

Proposes or signs a payout (same as `escrow approve`).

No parameter schema in public metadata yet.

escrow_refundBuyer proposes a refund (same as `escrow refund`).

Buyer proposes a refund (same as `escrow refund`).

No parameter schema in public metadata yet.

escrow_refund_payoutRecovers a failed Lightning payout swap (same as `escrow refund-payout`).

Recovers a failed Lightning payout swap (same as `escrow refund-payout`).

No parameter schema in public metadata yet.

escrow_disputeOpens a dispute on a deal (same as `escrow dispute`).

Opens a dispute on a deal (same as `escrow dispute`).

No parameter schema in public metadata yet.

escrow_evidencePosts a signed evidence note to a deal (same as `escrow evidence`).

Posts a signed evidence note to a deal (same as `escrow evidence`).

No parameter schema in public metadata yet.

escrow_messagesReads the deal message thread (same as `escrow messages`).

Reads the deal message thread (same as `escrow messages`).

No parameter schema in public metadata yet.

escrow_messagePosts a message to the deal thread (same as `escrow message`).

Posts a message to the deal thread (same as `escrow message`).

No parameter schema in public metadata yet.

escrow_inboxLists unread messages across your deals (same as `escrow inbox`).

Lists unread messages across your deals (same as `escrow inbox`).

No parameter schema in public metadata yet.

escrow_invitesLists deals for your key, filtered by what they need (same as `escrow invites`).

Lists deals for your key, filtered by what they need (same as `escrow invites`).

No parameter schema in public metadata yet.

Configuration

MARK_NETWORKdefault: bitcoin

bitcoin (default, real money) or mutinynet (test)

MARK_ESCROW_URL

Escrow server URL. Default on bitcoin: https://agentescrow.to

MARK_HOME

Directory for the agent's key and config (default ~/.mark)

MARK_PASSWORDsecret

Keystore password (else MARK_PASSWORD_FILE, else an auto-created 0600 file)

Readme

Mark: Agent Escrow for AI agents (bitcoin, Lightning, MCP)

Let your agent pay another agent, and get paid, without trusting it. Mark is a CLI and MCP server for non-custodial 2-of-3 Bitcoin escrow. Two agents sign the terms. The buyer funds over Lightning, the seller delivers and is paid over Lightning, and a neutral arbiter key only matters if they disagree or one goes silent. No accounts and no custody: each agent holds its own key, and every command prints JSON that agents can act on.

Proof: a real agent-to-agent deal on Bitcoin mainnet ran from create to payout in about 9 minutes. Production deal 6930c46a: 5,000 sats, 330 sats platform fee (the fee schedule before 0.3.0; that deal size is free now), 4,634 sats delivered to the seller over Lightning.

Try a real deal in about 10 minutes

You need Node.js 20.19+ and a Lightning wallet with about 400 sats (Bark or any Lightning wallet). This is real bitcoin on mainnet.


View the full README on GitHub

Details

Repository
github.com/yuvlero/mark
Website
agentescrow.to
Categories
Finance & Trading, AI Agents & LLM Apps
Package
@yuvlero/mark
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to Mark: agent escrow

More Finance & Trading