Enables AI agents to manage USDC wallets on the Solana blockchain, allowing them to autonomously send payments, create invoices, and perform withdrawals within user-defined spending limits and approval workflows.
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., "@BotWallet MCP ServerSend $5 to @acme-bot for the data report"
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.
BotWallet MCP Server
Let your AI agent send invoices to earn, pay for APIs and manage money, while you stay in control.
Give your AI agent financial autonomy without giving up control. Your agent can create invoices to get paid, spend on other agents and paid APIs, and manage its own USDC wallet. You set the spending limits, approve large transactions, and see everything it does. Works with Claude Desktop, Cursor, Windsurf, Cline, and any MCP-compatible client.
Website · Dashboard · Docs · CLI · npm
Add one JSON block to your MCP client config. That's it.
{
"mcpServers": {
"botwallet": {
"command": "npx",
"args": ["-y", "@botwallet/mcp"]
}
}
}Then tell your agent: "Create a BotWallet for yourself."
It runs botwallet_register, generates a cryptographic key share locally, and comes back with a deposit address. No setup, no API keys to configure beforehand.
From there:
"Send $5 to @acme-bot for the data report"
If the amount is within guard rails, the agent signs and submits. If not, it asks the human owner for approval.
"Create an invoice for $25 for the consulting session"
The agent creates a paylink. When someone pays it, the USDC goes straight to the wallet.
"Find a speech-to-text API and use it"
The agent searches the x402 catalog, finds a paid API, pays for access, and returns the result.
How signing works
Every wallet uses FROST 2-of-2 threshold signatures. During wallet creation, a key generation ceremony produces two shares:
S1 — the agent's share, stored locally at
~/.botwallet/seeds/S2 — the server's share, held by BotWallet
The full private key never exists. Every transaction requires both parties to co-sign. Neither the agent nor BotWallet can move funds alone. Human owners set spending limits and approve anything outside the rules.
Installation
Claude Desktop
Add to your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"botwallet": {
"command": "npx",
"args": ["-y", "@botwallet/mcp"]
}
}
}Cursor
Go to Settings > MCP, click Add new MCP server, and add:
{
"mcpServers": {
"botwallet": {
"command": "npx",
"args": ["-y", "@botwallet/mcp"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"botwallet": {
"command": "npx",
"args": ["-y", "@botwallet/mcp"]
}
}
}Cline
Open the Cline sidebar, click MCP Servers, then Configure, and add:
{
"mcpServers": {
"botwallet": {
"command": "npx",
"args": ["-y", "@botwallet/mcp"]
}
}
}Other MCP clients
The config is the same everywhere — npx -y @botwallet/mcp as the command.
Global install (alternative)
npm install -g @botwallet/mcpIf you install globally, use botwallet-mcp as the command instead of npx -y @botwallet/mcp.
Environment variables
Variable | Default | Purpose |
| — | API key (alternative to config file) |
| — | Which wallet to use (if you have several) |
|
| Custom API endpoint |
All optional. The server reads ~/.botwallet/config.json (shared with the CLI) and figures out the rest.
Tools
36 tools across 8 groups.
Wallet management
Tool | What it does |
| Check API connectivity |
| Create a new wallet (FROST key generation) |
| Wallet metadata and status |
| On-chain balance and remaining budget |
| Set owner email |
| Change display name |
| List local wallets |
| Switch active wallet |
Payments
Tool | What it does |
| Check if a recipient exists |
| Pre-flight check before paying |
| Pay someone (auto-signs if within limits) |
| Complete a payment after owner approval |
| List outgoing payments |
| Cancel a pending payment |
Earning
Tool | What it does |
| Create a payment request or invoice |
| Send a paylink via email or bot inbox |
| Check paylink status |
| List your paylinks |
| Cancel a pending paylink |
Funding
Tool | What it does |
| Get the USDC deposit address |
| Ask the human owner for funds |
| List past fund requests |
Withdrawals
Tool | What it does |
| Withdraw USDC to an external Solana address |
| Complete a withdrawal after approval |
| Check withdrawal status |
x402 paid APIs
Tool | What it does |
| Search for paid APIs |
| Probe a URL for payment requirements |
| Pay and retrieve content from an x402 API |
History and guard rails
Tool | What it does |
| Full transaction ledger |
| View spending limits set by the owner |
| List actions waiting for approval |
| Check a specific approval |
| Wallet notifications |
Wallet transfer
Tool | What it does |
| Export wallet to an encrypted .bwlt file |
| Import wallet from a .bwlt file |
| Reveal the mnemonic backup phrase |
Resources
URI | What it returns |
| Wallet summary — balance, budget, seed file status |
Architecture
┌─────────────────┐ stdio (JSON-RPC) ┌──────────────────┐
│ AI Client │◄────────────────────────►│ BotWallet MCP │
│ (Claude/Cursor) │ │ Server │
└─────────────────┘ └────────┬─────────┘
│
┌───────┴───────┐
│ │
~/.botwallet/ api.botwallet.co
(seeds, config) (API)
│
┌─────┴─────┐
│ Solana │
│ (mainnet) │
└───────────┘The server runs locally on the agent's machine. Key shares stay in ~/.botwallet/seeds/ and are never sent over the network. The server talks to the BotWallet API for co-signing and submits the combined signature to Solana.
Security
The agent can't bypass spending limits. Those are enforced server-side. Transactions above the auto-approve threshold go to the human owner for approval. Key shares are stored locally and never leave the machine. There is no full private key anywhere in the system.
See SECURITY.md for vulnerability reporting.
CLI interop
This MCP server and the BotWallet CLI share the same local files:
Config:
~/.botwallet/config.jsonSeeds:
~/.botwallet/seeds/*.seedExport format:
.bwlt(encrypted, works both directions)
A wallet created with the CLI works in the MCP server, and vice versa.
Development
git clone https://github.com/botwallet-co/mcp.git
cd mcp
npm install
npm run build
npm test # 76 tests (unit + integration + E2E)
npm run inspect # Open in MCP InspectorLicense
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.