MCP Server for AgentWallet Protocol — AI agents get wallets, escrow, and payments as native tools
Project description
AgentWallet MCP Server
Give any AI agent a Solana wallet in one tool call.
MCP (Model Context Protocol) server that exposes the full AgentWallet Protocol as AI-native tools. Works with Claude Desktop, OpenClaw, Cursor, and any MCP-compatible client.
Quick Start
pip install agentwallet-mcp
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"agentwallet": {
"command": "agentwallet-mcp",
"env": {
"AGENTWALLET_API_KEY": "aw_live_xxx",
"AGENTWALLET_BASE_URL": "https://your-api.up.railway.app/v1"
}
}
}
}
OpenClaw
Add to your OpenClaw config:
{
"mcp": {
"agentwallet": {
"command": "agentwallet-mcp",
"env": {
"AGENTWALLET_API_KEY": "aw_live_xxx",
"AGENTWALLET_BASE_URL": "https://your-api.up.railway.app/v1"
}
}
}
}
Available Tools (26 tools)
Agents
| Tool | Description |
|---|---|
create_agent |
Register an AI agent + auto-create its wallet |
get_agent |
Get agent details by ID |
list_agents |
List all agents (filter by status) |
update_agent |
Update agent name, status, capabilities |
Wallets
| Tool | Description |
|---|---|
create_wallet |
Create a new Solana wallet |
get_wallet |
Get wallet details |
list_wallets |
List wallets (filter by agent/type) |
get_balance |
Get SOL + token balances |
Transactions
| Tool | Description |
|---|---|
transfer_sol |
Send SOL (policy-enforced, fee-deducted, audited) |
batch_transfer |
Batch SOL transfers |
get_transaction |
Get transaction details |
list_transactions |
Transaction history |
Escrow
| Tool | Description |
|---|---|
create_escrow |
Lock funds for agent-to-agent tasks |
release_escrow |
Release funds on task completion |
refund_escrow |
Refund if task not completed |
dispute_escrow |
Raise a dispute |
get_escrow |
Get escrow details |
list_escrows |
List all escrows |
Policies
| Tool | Description |
|---|---|
create_policy |
Set spending limits, whitelists, time windows |
list_policies |
List all policies |
update_policy |
Modify policy rules |
delete_policy |
Remove a policy |
Analytics & Compliance
| Tool | Description |
|---|---|
get_analytics_summary |
Org-level spending overview |
get_daily_analytics |
Daily metrics and trends |
get_agent_analytics |
Per-agent breakdowns |
get_audit_log |
Immutable audit trail |
get_anomalies |
Detected anomalies |
Example Conversations
User: "Create a trading bot agent and give it a 10 SOL daily limit"
AI Agent:
- Calls
create_agent(name="trading-bot", capabilities=["trading"]) - Calls
create_policy(name="Daily Cap", rules={"daily_limit_lamports": 10000000000}, scope_type="agent", scope_id="<agent_id>")
User: "Set up an escrow — pay 2 SOL to worker-bot when it finishes the data analysis"
AI Agent:
- Calls
create_escrow(funder_wallet="...", recipient_address="...", amount_sol=2.0, conditions={"task": "data-analysis"}) - Later:
release_escrow(escrow_id="...")when task completes
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
AGENTWALLET_API_KEY |
Yes | -- | Your API key (aw_live_xxx) |
AGENTWALLET_BASE_URL |
No | http://localhost:8000/v1 |
API endpoint |
License
MIT — Build the agentic economy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentwallet_mcp-0.1.0.tar.gz.
File metadata
- Download URL: agentwallet_mcp-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dd71d4cf89f0fb1c160c7b1da04b8347d1ea6f78899c395213c8f63c25cefd2
|
|
| MD5 |
6f4f6d7adf1a76f8b6900bbef39d5581
|
|
| BLAKE2b-256 |
a407880704cfb48f008e5d115253ebffe8d61c6aa1343f57bdcac5a77d377b25
|
File details
Details for the file agentwallet_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentwallet_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be17db8146860828469caf6c97540d6ab603b739e9d4479cb13d81185e470d70
|
|
| MD5 |
1a00fddd31660b14ebfc69e41eb3a1a4
|
|
| BLAKE2b-256 |
fd815249300b0da3e7add150949b7d2caf2d1b1ca7ce8de40657085369b62b3b
|