Privy MCP Server
OfficialSupports wallet creation and management, along with transaction operations on Bitcoin (SegWit).
Provides tools for wallet creation, sending transactions, signing messages (EIP-191, EIP-712), and managing Ethereum and EVM-compatible chains, including gas sponsorship.
Supports wallet creation and management on the NEAR blockchain.
Enables wallet creation, signing and sending transactions, and signing messages on the Solana blockchain.
Supports wallet creation and management on the Stellar network.
Enables wallet creation and management for the Sui blockchain.
Supports wallet creation and management on the TON blockchain.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Privy MCP ServerCreate a new Ethereum wallet"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Privy MCP Server
Give your AI agent a wallet with Privy. This MCP (Model Context Protocol) server enables Claude and other AI assistants to create wallets, sign transactions, and manage blockchain operations.
Installation
Option 1: npx (Recommended)
Run directly without installation:
npx @privy-io/mcp-serverOption 2: Global Install
npm install -g @privy-io/mcp-server
privy-mcp-serverOption 3: From Source
git clone https://github.com/privy-io/privy-mcp-server.git
cd privy-mcp-server
npm install && npm run buildQuick Start
1. Get Your Credentials
From the Privy Dashboard:
App ID & Secret: Settings → Basics
2. Configure Your MCP Client
Add to your MCP client configuration:
{
"mcpServers": {
"privy": {
"command": "npx",
"args": ["@privy-io/mcp-server"],
"env": {
"PRIVY_APP_ID": "your-app-id",
"PRIVY_APP_SECRET": "your-app-secret"
}
}
}
}{
"mcpServers": {
"privy": {
"command": "npx",
"args": ["@privy-io/mcp-server"],
"env": {
"PRIVY_APP_ID": "your-app-id",
"PRIVY_APP_SECRET": "your-app-secret"
}
}
}
}{
"privy": {
"command": "npx",
"args": ["@privy-io/mcp-server"],
"env": {
"PRIVY_APP_ID": "your-app-id",
"PRIVY_APP_SECRET": "your-app-secret"
}
}
}3. Start Using!
Ask Claude to create a wallet:
"Create an Ethereum wallet for me"
Supported Chains
Chain | Type | Status |
Ethereum (+ all EVM) |
| ✅ Full support |
Solana |
| ✅ Full support |
Cosmos |
| ✅ Supported |
Stellar |
| ✅ Supported |
Sui |
| ✅ Supported |
Aptos |
| ✅ Supported |
Tron |
| ✅ Supported |
Bitcoin (SegWit) |
| ✅ Supported |
Near |
| ✅ Supported |
TON |
| ✅ Supported |
Starknet |
| ✅ Supported |
Available Tools
Wallet Management
Tool | Description |
| Create a new wallet on any supported chain |
| Get wallet info by ID |
| List all wallets |
| Check balance (ETH, USDC, etc.) |
| Get transaction history |
| Update wallet policies |
Ethereum Operations
Tool | Description |
| Sign and broadcast (supports gas sponsorship) |
| Sign a message (EIP-191) |
| Sign without broadcasting |
| Sign EIP-712 typed data |
| Sign a hash directly |
| Sign raw data |
Solana Operations
Tool | Description |
| Sign and broadcast |
| Sign a message |
| Sign without broadcasting |
Policies (Access Control)
Tool | Description |
| Create transaction policies |
| Manage policies |
| Add rules to control transactions |
| Manage rules |
Key Quorums (Multi-sig)
Tool | Description |
| Create a key quorum for multi-sig |
| Manage quorums |
Transactions
Tool | Description |
| Get transaction details by ID |
Example Conversations
You: Create a wallet and check its balance
Claude: I'll create an Ethereum wallet and check the balance.
🔧 create_wallet → { id: "wallet-abc", address: "0x742d35Cc..." }
🔧 get_wallet_balance → { balance: "0 ETH" }
Done! Your wallet 0x742d35Cc... has been created with 0 ETH.You: Send 0.01 ETH to 0x123... on Base
Claude: I'll send 0.01 ETH to that address on Base.
🔧 eth_sendTransaction → { hash: "0xabc123...", status: "pending" }
Transaction submitted! Hash: 0xabc123...Environment Variables
Variable | Required | Description |
| Yes | Your Privy App ID |
| Yes | Your Privy App Secret |
| No | For signing ops on owner-controlled wallets |
| No | Custom API URL (default: https://api.privy.io/v1) |
Testing
Use the MCP Inspector to test tools interactively:
npm run inspectorSecurity Best Practices
Never commit credentials - Use environment variables
Use policies to restrict what transactions your agent can execute
Set up key quorums for high-value operations requiring multiple approvals
Monitor transactions via Privy Dashboard webhooks
Resources
Contributing
Contributions welcome! Please read our contributing guidelines and submit PRs to the main branch.
License
MIT - see LICENSE for details.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/privy-io/privy-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server