New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

pryvy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pryvy

Privy embedded wallets & auth CLI.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

pryvy

CLI and MCP server for Privy embedded wallets & auth.

Install

npm install -g pryvy

Or run directly:

npx pryvy --help

Setup

On first run with no arguments, pryvy prompts for your App ID and App Secret interactively. Or configure them explicitly:

pryvy configure app-id <your-app-id>
pryvy configure app-secret <your-app-secret>

You can also set them via environment variables:

export PRIVY_APP_ID=...
export PRIVY_APP_SECRET=...

Usage

# create a user with an email
pryvy users create --email alice@example.com

# create a user with an embedded ethereum wallet
pryvy users create --email alice@example.com --create-wallet ethereum

# list all users
pryvy users list

# create a standalone wallet
pryvy wallets create --chain-type ethereum

# check wallet balance
pryvy wallets get-balance <wallet-id> --asset usdc --chain base

# sign a message
pryvy signing personal-sign <wallet-id> --message "hello world"

# send a transaction
pryvy signing send-tx <wallet-id> \
  --caip2 eip155:1 --to 0x... --value 0x0

# set default output format
pryvy configure format json

Commands

GroupCommands
userscreate, get, list, delete, search, add-metadata, pregenerate-wallets
walletscreate, get, list, get-balance, get-by-address, batch-create
signingpersonal-sign, send-tx, sign-tx, sign-typed-data, sign-7702, sign-user-op, sol-sign-tx, sol-sign-message
transactionsget
policiescreate, get, list, update, delete
configureapp-id, app-secret, format, show

All commands support --format toon|json|yaml|md|jsonl and --help.

Agent Setup

Give your AI agent (Claude Code, Amp, Cursor, Copilot, etc.) full access to Privy:

npx pryvy mcp add      # register as MCP server — gives agents direct tool access
npx pryvy skills add   # install skill files — gives agents context on available commands

That's it. Your agent can now run commands like "create a user with an email" or "sign a message with a wallet".

You can also run the MCP server directly in stdio mode:

pryvy --mcp

Development

bun install
bun run build        # tsc + chmod
bun run typecheck    # tsc --noEmit

Built with

incur — one CLI router that gives you a CLI, MCP server, and agent skills for free.

License

MIT

Keywords

privy

FAQs

Package last updated on 31 Mar 2026

Related posts