up2itnow0822 avatar

ClawPay MCP — Non-Custodial x402 Payments for AI Agents

up2itnow0822/clawpay-mcp

Gives Claude a non-custodial crypto wallet on Base with local key signing and enforced spend limits for paying x402 APIs. Exposes tools to send payments, check balances, and simulate transactions before execution. Built for agents that hit HTTP 402 payment gates and need to retry with funds, not credit cards. Includes human approval mode for transactions above a threshold and logs everything on-chain for audit trails. The dependency tree avoids LiteLLM entirely and runs on viem and the MCP SDK. Reach for this if you're building agents that consume paid APIs autonomously and need hard budget caps that can't be overridden by prompt injection or runaway loops.

GitHub stars
4
tools
9
auth
Secret needed
transport
STDIO
env vars
2
last updated
Mar 5, 2026

Tools

9 tools

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

deploy_wallet

No parameter schema in public metadata yet.

get_wallet_info

No parameter schema in public metadata yet.

queue_approval

No parameter schema in public metadata yet.

send_payment

No parameter schema in public metadata yet.

x402_quote

No parameter schema in public metadata yet.

x402_pay

No parameter schema in public metadata yet.

set_spend_policy

No parameter schema in public metadata yet.

check_budget

No parameter schema in public metadata yet.

get_transaction_historyReads wallet contract events.

Reads wallet contract events.

No parameter schema in public metadata yet.

Sponsors

Configuration

AGENT_PRIVATE_KEY*secret

Private key for the agent wallet (hex, without 0x prefix)

BASE_RPC_URL

Base RPC URL (defaults to public Base mainnet)

Readme

AgentPay MCP

Paused for security maintenance. Do not use in production.

npm CI License: MIT

AgentPay MCP is a stdio Model Context Protocol server for x402 payments and wallet operations. It exposes Agent Wallet SDK functions as MCP tools and loads a caller-controlled signing key from the local process environment.

The current npm package is agentpay-mcp v5.0.0.

Start without funds

Check the installed command without loading wallet credentials:

npx -y agentpay-mcp --version
npx -y agentpay-mcp --help

Use the AgentPay Wallet Starter for a no-funds verification of allowed, approval-required, and blocked policy outcomes.

MCP client configuration

Wallet tools read the following environment variables:


View the full README on GitHub

Details

Repository
github.com/up2itnow0822/clawpay-mcp
Package
clawpay-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from up2itnow0822