MCP Server
MCP
Onchain Agent Wallets
Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.
Install
npx -y @three-ws/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "@three-ws/onchain-agent-wallets",
"version": "0.1.0",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Owner secret key, base58 or a JSON byte array. Optional: without it every owner action is returned as an unsigned transaction for Phantom, Solflare, Backpack, or a Ledger to sign.",
"format": "string",
"isSecret": true,
"name": "OWNER_SECRET_KEY"
},
{
"description": "Cluster: mainnet or devnet. Defaults to mainnet. State is kept per network, so a devnet rehearsal never touches mainnet agents.",
"format": "string",
"default": "mainnet",
"name": "OAW_NETWORK"
},
{
"description": "HTTPS Solana RPC endpoint. Defaults to the public endpoint for the configured network; bring your own (Helius / Quicknode / Triton) for production.",
"format": "string",
"name": "SOLANA_RPC_URL"
},
{
"description": "Where agent keypairs, guardrails, and the spend ledger are stored. Defaults to ~/.onchain-agent-wallets, written 0600 inside a 0700 directory.",
"format": "string",
"name": "OAW_STATE_DIR"
},
{
"description": "Refuse to broadcast anything that moves value until the call is re-issued with confirm:true. Default true.",
"format": "boolean",
"default": "true",
"name": "REQUIRE_CONFIRM"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment