Back to Browse

Peer Cash MCP Server

by Zkp2p
Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for preparing and tracking Peer Cash Base USDC cash-outs

About

MCP server for preparing and tracking Peer Cash Base USDC cash-outs

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (4 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

11 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Peer Cash environment: production, preproduction, or stagingOptional

Environment variable: PEER_CASH_ENVIRONMENT

Custom Base RPC URL for reads and receipt finalizationRequired

Environment variable: PEER_CASH_RPC_URL

Curator API key when the selected environment requires oneRequired

Environment variable: PEER_CASH_API_KEY

Six-character Peer integration referral codeOptional

Environment variable: PEER_CASH_REFERRAL_CODE

Analytics-only ERC-8021 attribution codeOptional

Environment variable: PEER_CASH_REFERRER

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-zkp2p-peer-cash": {
      "env": {
        "PEER_CASH_API_KEY": "your-peer-cash-api-key-here",
        "PEER_CASH_RPC_URL": "your-peer-cash-rpc-url-here",
        "PEER_CASH_REFERRER": "your-peer-cash-referrer-here",
        "PEER_CASH_ENVIRONMENT": "your-peer-cash-environment-here",
        "PEER_CASH_REFERRAL_CODE": "your-peer-cash-referral-code-here"
      },
      "args": [
        "-y",
        "peer-cash-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Peer Cash MCP server

An MCP server for agents that need to cash out Base USDC through Peer Cash. It exposes live payout capabilities, oracle estimates, unsigned transaction preparation, receipt finalization, order reads, withdrawals, and top-ups.

The server never accepts private keys or submits transactions. Write tools return unsigned Base transactions for the host wallet to review, approve, sign, and confirm.

Run

{
  "mcpServers": {
    "peer-cash": {
      "command": "npx",
      "args": ["-y", "peer-cash-mcp"]
    }
  }
}

The default environment is production and the public Base RPC is sufficient for normal reads. Optional environment variables:

VariablePurpose
PEER_CASH_ENVIRONMENTproduction, preproduction, or staging
PEER_CASH_RPC_URLCustom Base RPC for reads and receipt finalization
PEER_CASH_API_KEYCurator API key when the selected environment requires one
PEER_CASH_REFERRAL_CODESix-character Peer integration referral code
PEER_CASH_REFERRERAnalytics-only ERC-8021 attribution code

Tool flow

  1. Call peer_cash_capabilities before naming a payout platform or currency.
  2. Call peer_cash_estimate. Treat it as approximate: the binding Chainlink rate resolves when a buyer fills.
  3. Call peer_cash_prepare with a Base USDC amount in 6-decimal base units and one or more payout legs.
  4. Show the returned transaction plan and obtain explicit user approval.
  5. Submit each transaction in order through the host wallet and confirm it on Base.
  6. Call peer_cash_finalize with the confirmed createDeposit transaction hash.
  7. If accessPolicyRequired was true, call peer_cash_prepare_access_policy and submit that transaction with the depositor wallet.
  8. Persist the returned depositId for order tracking and recovery.

Unknown transaction outcomes must be inspected before any resubmission. Peer Cash errors include a code, retryability, remediation, and recovery evidence for this purpose.

Development

bun install
bun run ci

Requires Node.js 22 or newer.

Reviews

No reviews yet

Be the first to review this server!

Peer Cash MCP Server - MCP server for preparing and tracking Peer Cash Base USDC | MCP Marketplace