Onchain Agent Wallets
io.github.nirholas/onchain-agent-wallets
Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.
- Repository
- github.com/nirholas/onchain-agent-wallets
- Website
- three.ws/
- Version
- 0.1.1
- Author
- nirholas (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 10, 2026)
How to install it
Variables to fill in: OWNER_SECRET_KEY, OAW_NETWORK, SOLANA_RPC_URL, OAW_STATE_DIR, REQUIRE_CONFIRM.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add onchain-agent-wallets -e OWNER_SECRET_KEY=YOUR_OWNER_SECRET_KEY -e OAW_NETWORK=YOUR_OAW_NETWORK -e SOLANA_RPC_URL=YOUR_SOLANA_RPC_URL -e OAW_STATE_DIR=YOUR_OAW_STATE_DIR -e REQUIRE_CONFIRM=YOUR_REQUIRE_CONFIRM -- npx -y @three-ws/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"onchain-agent-wallets": {
"command": "npx",
"args": [
"-y",
"@three-ws/[email protected]"
],
"env": {
"OWNER_SECRET_KEY": "YOUR_OWNER_SECRET_KEY",
"OAW_NETWORK": "YOUR_OAW_NETWORK",
"SOLANA_RPC_URL": "YOUR_SOLANA_RPC_URL",
"OAW_STATE_DIR": "YOUR_OAW_STATE_DIR",
"REQUIRE_CONFIRM": "YOUR_REQUIRE_CONFIRM"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"onchain-agent-wallets": {
"command": "npx",
"args": [
"-y",
"@three-ws/[email protected]"
],
"env": {
"OWNER_SECRET_KEY": "YOUR_OWNER_SECRET_KEY",
"OAW_NETWORK": "YOUR_OAW_NETWORK",
"SOLANA_RPC_URL": "YOUR_SOLANA_RPC_URL",
"OAW_STATE_DIR": "YOUR_OAW_STATE_DIR",
"REQUIRE_CONFIRM": "YOUR_REQUIRE_CONFIRM"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"onchain-agent-wallets": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/[email protected]"
],
"env": {
"OWNER_SECRET_KEY": "YOUR_OWNER_SECRET_KEY",
"OAW_NETWORK": "YOUR_OAW_NETWORK",
"SOLANA_RPC_URL": "YOUR_SOLANA_RPC_URL",
"OAW_STATE_DIR": "YOUR_OAW_STATE_DIR",
"REQUIRE_CONFIRM": "YOUR_REQUIRE_CONFIRM"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.nirholas/onchain-agent-wallets)HTML
<a href="https://lagora.dev/en/entry/io.github.nirholas/onchain-agent-wallets"><img src="https://lagora.dev/badge/io.github.nirholas/onchain-agent-wallets.svg?lang=en" alt="io.github.nirholas/onchain-agent-wallets on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
vid2context Key required
Papertrade AI Key required
pump.fun Solana Data Local