Sign In

@marupelkar/wallet-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marupelkar/wallet-mcp

Stdio MCP server for the [wallet](https://wallet-gray-zeta.vercel.app) agent payment system. Lets an MCP client (Codex CLI, opencode, or any other stdio MCP host) pay x402- and MPP-protected APIs on the user's behalf.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@marupelkar/wallet-mcp

Stdio MCP server for the wallet agent payment system. Lets an MCP client (Codex CLI, opencode, or any other stdio MCP host) pay x402- and MPP-protected APIs on the user's behalf.

Install

// mcp.json
{ "mcpServers": { "wallet": { "command": "npx", "args": ["-y", "@marupelkar/wallet-mcp"] } } }

On the first tool call the shim opens a browser tab pointed at the wallet's OAuth authorize endpoint. After you approve, a refresh token is written to ${env-paths.config}/wallet/credentials with 0o600 mode and reused across sessions.

Configuration (optional)

Env varDefaultPurpose
WALLET_BACKEND_URLhttps://wallet-gray-zeta.vercel.appBackend origin (override for self-hosting / preview deploys).
WALLET_DEBUGunsetSet to 1 to print the OAuth authorize URL to stderr.
WALLET_NON_INTERACTIVEunsetSet to 1 to suppress the automatic browser open (you still get the URL on stderr).

CLI commands

wallet-mcp logout       # forget local credentials
wallet-mcp reauthorize  # re-run the OAuth flow (e.g. to add scopes)

Tools exposed to the agent

  • pay(target, max_amount_cents) — pay an MPP-enabled URL.
  • logout — same as the CLI command.
  • reauthorize — same as the CLI command.

The tool list is proxied from the backend, so new server-side tools appear without a shim upgrade.

Revoking a grant

Visit /connected-apps on the wallet, find the connection, and click Disconnect. The next time the agent makes a request, the shim re-enters the OAuth flow.

FAQs

Package last updated on 14 May 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