MCPInstall

privy

Use when building wallet infrastructure, authentication systems, or financial applications. Reach for Privy when you need to create embedded wallets, manage user authentication, control wallet permissions with policies, execute transactions, or build multi-chain financial products.

Installs
609
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://docs.privy.io --skill privy
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads privy automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Privy Skill Reference

Product summary

Privy is a programmable wallet infrastructure platform for building financial applications. It provides secure, non-custodial embedded wallets, authentication systems, transaction execution, and policy controls across 50+ blockchains (Ethereum, Solana, Bitcoin, Tempo, Tron, and more).

Key files and configuration:

  • Dashboard: https://dashboard.privy.io (create apps, configure auth methods, set up webhooks)
  • App ID and App Secret: Found in Dashboard > App Settings > Basics (required for all API calls)
  • Client ID: Optional, used for app clients to customize behavior per environment
  • REST API base: https://api.privy.io/v1/
  • SDKs: React (@privy-io/react-auth), React Native (@privy-io/expo), Node.js (@privy-io/node), Java, Go, Python, Ruby, Rust, Swift, Android, Flutter, Unity

Primary documentation: https://docs.privy.io

When to use

Reach for Privy when:

  • Building consumer apps with embedded wallets (no separate wallet client needed)
  • Creating organization or treasury wallets with multi-sig and approval workflows
  • Implementing AI agent wallets with scoped permissions and policies
  • Adding authentication to blockchain applications (email, social, passkeys, wallet-based)
  • Executing transactions across multiple chains with a unified API
  • Enforcing spending limits, recipient whitelists, or time-based restrictions on wallets
  • Building financial products (payments, yield, swaps, deposits, payouts)
  • Migrating users from other wallet providers (Alchemy, etc.)
  • Setting up webhooks to monitor wallet events (deposits, withdrawals, transactions)

Quick reference

Authentication methods (configure in Dashboard)

MethodUse caseConfig location
Email/SMS/WhatsAppPasswordless loginDashboard > Authentication
Social (Google, Discord, Twitter, etc.)Social loginDashboard > Authentication
PasskeysBiometric/hardware key authDashboard > Authentication
Wallet (MetaMask, Phantom)Crypto-native usersDashboard > Authentication
FarcasterFarcaster mini appsDashboard > Authentication
Custom JWTExisting auth providerDashboard > Authentication

Wallet types

TypeOwnershipUse case
Embedded (user-owned)User controls keysConsumer wallets, self-custody
Embedded (server-owned)Server controls keysAutomation, limit orders, agents
Embedded (organization)Organization controlsMulti-sig, treasury, teams
CustodialLicensed custodianRegulated financial products
ExternalUser's existing walletMetaMask, Phantom, Rainbow

SDK initialization (React example)

import {PrivyProvider} from '@privy-io/react-auth';

<PrivyProvider
  appId="your-privy-app-id"
  clientId="your-app-client-id"
  config={{
    embeddedWallets: {
      ethereum: {createOnLogin: 'users-without-wallets'}
    }
  }}
>
  {children}
</PrivyProvider>

REST API authentication

All requests require:

Authorization: Basic <base64(appId:appSecret)>
privy-app-id: <your-app-id>

Common API endpoints

EndpointMethodPurpose
/v1/walletsPOSTCreate wallet
/v1/wallets/{id}GETGet wallet details
/v1/wallets/{id}/balanceGETGet wallet balance
/v1/usersPOSTCreate user
/v1/users/{id}GETGet user details
/v1/policiesPOSTCreate policy
/v1/intentsPOSTCreate intent (async approval)
/v1/wallets/{id}/ethereum/eth_sendTransactionPOSTSend transaction

Decision guidance

When to use embedded vs. external wallets

ScenarioEmbeddedExternal
New users, no existing wallet✓✗
Users bring existing assets✗✓
Seamless UX, no wallet client✓✗
Power users, crypto-native✗✓
Automatic wallet creation on login✓✗
Multi-wallet support✓✓

When to use policies vs. signers

NeedUse policiesUse signers
Restrict transaction amounts✓✗
Whitelist recipient addresses✓✗
Require multiple approvals✗✓
Delegate scoped permissions✓✓
Time-based restrictions✓✗
Prevent contract interactions✓✗

When to use wallet actions vs. RPC

ApproachUse case
Wallet actionsTransfers, swaps, earn deposits, standard flows
Low-level RPCCustom transaction construction, multi-step flows
IntentsAsync approval workflows, organizations

Workflow

1. Set up your Privy app

  1. Go to https://dashboard.privy.io and create a new app
  2. Copy your App ID and App Secret from Dashboard > App Settings > Basics
  3. Configure authentication methods in Dashboard > Authentication
  4. (Optional) Create app clients for different environments in Dashboard > App Clients
  5. (Optional) Set up webhooks in Dashboard > Webhooks

2. Integrate SDK (client-side example with React)

  1. Install: npm install @privy-io/react-auth
  2. Wrap your app with PrivyProvider at the root
  3. Pass appId and clientId to the provider
  4. Configure embeddedWallets to auto-create wallets on login
  5. Wait for usePrivy().ready before consuming Privy state

3. Authenticate users

  1. Use usePrivy().login() to trigger login flow
  2. User selects auth method (email, social, wallet, etc.)
  3. On success, usePrivy().user contains authenticated user object
  4. Access user's wallets via useWallets().wallets

4. Create or access wallets

  1. Client-side: Use useCreateWallet().createWallet() to create embedded wallet
  2. Server-side: Call POST /v1/wallets with owner (user ID or authorization key)
  3. Specify chain_type (ethereum, solana, etc.)
  4. Optionally attach policy_ids to restrict wallet actions
  5. Response includes wallet id and address

5. Execute transactions

  1. Simple flow: Use wallet action APIs (transfer, swap, earn)
  2. Custom flow: Use RPC methods (eth_sendTransaction, signTransaction, etc.)
  3. Async approval: Create intents for multi-party approval
  4. Privy evaluates policies before signing
  5. Monitor via webhooks or poll intent/transaction status

6. Set up policies (optional)

  1. Define rules in Dashboard or via API
  2. Specify chain_type (ethereum, solana, etc.)
  3. Add rules for each RPC method (eth_sendTransaction, signMessage, etc.)
  4. Define conditions (recipient whitelist, amount limits, time windows)
  5. Attach policy to wallet via policy_ids at creation or update

7. Monitor events

  1. Configure webhook endpoint in Dashboard > Webhooks
  2. Subscribe to event types (user.created, wallet.funds_deposited, transaction.confirmed, etc.)
  3. Verify webhook signatures using Privy's public key
  4. Implement retry logic for failed deliveries

Common gotchas

  • HTTPS required: Embedded wallets only work in secure contexts (https://). Localhost is treated as secure by browsers.
  • Policy defaults to DENY: If a wallet has a policy but no rule matches the RPC method, the request is denied. Always include rules for all methods the wallet will use.
  • Idempotency keys: Use idempotency keys on wallet creation and transaction endpoints to prevent duplicates on retries.
  • Rate limits: REST API endpoints are rate-limited. Implement exponential backoff on HTTP 429 responses.
  • Authorization signatures required: If a wallet has an owner, requests must include authorization signatures from the owner. Use authorization context in server SDKs.
  • Entity is permanent: Once set on a wallet, the entity (user or organization) cannot be changed.
  • External IDs are write-once: External IDs on wallets cannot be updated after creation.
  • Policy evaluation timing: Policies are evaluated in secure enclaves before signing. Simulation errors take precedence over policy violations.
  • Webhook retries: Privy retries failed webhooks with exponential backoff. Ensure your endpoint is idempotent.
  • User JWTs expire: Access tokens from Privy authentication expire. Refresh tokens automatically via the SDK.
  • Solana instruction evaluation: Every instruction in a Solana transaction is evaluated against policies. All must pass for the transaction to be allowed.
  • Condition set operators: Use in_condition_set to reference reusable condition sets instead of duplicating conditions across policies.

Verification checklist

Before submitting work with Privy:

  • App ID and App Secret are correctly configured (not hardcoded in client code)
  • PrivyProvider wraps the app at the root level
  • ready state from usePrivy() is checked before consuming Privy state
  • Authentication methods are enabled in Dashboard > Authentication
  • Wallets are created with appropriate owners (user ID for user wallets, authorization key for server wallets)
  • Policies are attached to wallets if restrictions are needed
  • All RPC methods used by wallets have corresponding policy rules (if policy is attached)
  • Idempotency keys are used on wallet creation and transaction endpoints
  • Webhook endpoint is configured and signature verification is implemented
  • Error handling includes NotFoundError (404) and rate limit (429) cases
  • HTTPS is used in production (not http://)
  • Authorization signatures are included in server-side requests for owned resources
  • External IDs are unique per app and URL-safe (a-z, A-Z, 0-9, _, -, max 64 chars)
  • Policies are tested in development before deploying to production

Resources

Comprehensive page listing: https://docs.privy.io/llms.txt

Critical documentation pages:

  1. Key Concepts — Understand authentication, wallets, and controls
  2. API Reference Introduction — REST API setup and rate limits
  3. Policies Overview — Policy engine, rules, and conditions

For additional documentation and navigation, see: https://docs.privy.io/llms.txt

FAQ

What does the privy skill do?

Use when building wallet infrastructure, authentication systems, or financial applications. Reach for Privy when you need to create embedded wallets, manage user authentication, control wallet permissions with policies, execute transactions, or build multi-chain financial products.

How do I install privy?

Run npx skills add https://docs.privy.io --skill privy in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/privy/ (personal) or .claude/skills/privy/ (project).

Which AI agents can use privy?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is privy safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains privy?

It is published by docs.privy.io in docs.privy.io. It has 609 recorded installs.

Popular business & finance skills

View category →

sales-enablement

coreyhaines31/marketingskills

When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),

Business & Finance119.5K installs

revops

coreyhaines31/marketingskills

When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.

Business & Finance114.1K installs

sales-funnel-blueprint

autonnel/autonnel-skills

Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.

Business & Finance104.5K installs

pricing

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.

Business & Finance80K installs

cross-border-ecommerce

nexscope-ai/ecommerce-skills

Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

Business & Finance62.9K installs

pricing-strategy

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.

Business & Finance61.2K installs