Sign In

peer-cash-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peer-cash-mcp

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

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

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.

The repository is also an Agent Plugins 1.0 package. plugin.json identifies the package, skills/peer-cash/SKILL.md provides the portable workflow, and mcp.json starts the published server without embedding credentials.

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

  • Call peer_cash_capabilities before naming a payout platform or currency.
  • Call peer_cash_estimate. Treat it as approximate: the binding Chainlink rate resolves when a buyer fills.
  • Call peer_cash_prepare with a Base USDC amount in 6-decimal base units and one or more payout legs.
  • Show the returned transaction plan and obtain explicit user approval.
  • Submit each transaction in order through the host wallet and confirm it on Base.
  • Call peer_cash_finalize with the confirmed createDeposit transaction hash.
  • If accessPolicyRequired was true, call peer_cash_prepare_access_policy and submit that transaction with the depositor wallet.
  • 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.

Validate the portable package separately from the server test suite:

npx skills-ref validate skills/peer-cash

Keywords

mcp

FAQs

Package last updated on 14 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts