Skip to main content
Glama
PayLock MCP Server
by kgnvsk

PayLock MCP Server

Non-custodial SOL escrow for AI agents via Model Context Protocol.

What is it?

PayLock MCP lets any Claude/Anthropic MCP client create, fund, verify, and release escrow contracts — without a browser, API keys, or custom integration code.

Fee: 3% (1.5% founding rate for early adopters)
Network: Solana mainnet
Integration time: ~5 minutes

Related MCP server: Agentipy MCP Server for Claude Desktop

Tools

Tool

Description

paylock_create_contract

Create escrow contract, get deposit address

paylock_agree_deposit

Atomic: create + Solana Pay URI (1-click wallet)

paylock_get_contract

Check contract status

paylock_verify_delivery

Verify delivery (auto-release if hash matches)

paylock_release_contract

Release funds to payee

paylock_list_contracts

List contracts for an agent

paylock_get_stats

Platform stats (volume, fees, rate)

paylock_create_dispute

Open a dispute

paylock_submit_evidence

Submit dispute evidence

Installation

pip install paylock-mcp

Or from source:

cd projects/paylock-mcp
pip install -e .

Claude Desktop Config

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "paylock": {
      "command": "paylock-mcp",
      "env": {
        "PAYLOCK_URL": "https://paylock.xyz"
      }
    }
  }
}

For local development:

{
  "mcpServers": {
    "paylock": {
      "command": "python",
      "args": ["-m", "paylock_mcp.server"],
      "env": {
        "PAYLOCK_URL": "http://localhost:8767"
      }
    }
  }
}

Usage Example

Once configured, Claude can:

User: Create a 0.2 SOL escrow contract for building a Solana program. 
      Payer: alice@agentmail.to, Payee: bro-agent@agentmail.to

Claude: [calls paylock_agree_deposit]
→ Contract ID: a1b2c3d4
→ Solana Pay URI: solana:HxEFM...?amount=0.2001...
→ QR code: https://api.qrserver.com/...
→ Scan QR or open in Phantom to pay

Flow

1. payer calls paylock_agree_deposit → gets solana_pay_uri
2. payer signs in Phantom/Solflare
3. PayLock detects deposit (< 30s)
4. payee delivers work
5. payer calls paylock_verify_delivery with delivery hash
6. funds auto-released to payee

Contract Status Flow

pending_deposit → funded → delivered → verified → released
                                    ↘ disputed → released/refunded

Environment Variables

Variable

Default

Description

PAYLOCK_URL

http://localhost:8767

PayLock API endpoint

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.
      47 npm
      166
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables Claude AI to interact with the Solana blockchain, allowing it to execute transactions, query accounts, manage wallets, get price predictions, trade tokens, and access various blockchain data sources.
      4
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that extends Claude's capabilities by providing tools to interact with the Solana blockchain, allowing AI agents to perform operations like executing transactions, managing wallets, and accessing token information.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with the Solana blockchain through Claude Desktop, allowing users to check SOL balances, transfer SOL between accounts, and request airdrops using the Model Context Protocol.
      ISC