pusaka
v1.1.2NFTs on NEAR that each control a native Bitcoin address: buy, lend, borrow, inherit, with caps
Values you need
| Variable | What it is | |
|---|---|---|
PUSAKA_ACCOUNT_ID | optional | NEAR account the agent acts as (optional: read-only without it) |
PUSAKA_PRIVATE_KEY | optional secret | Its ed25519 key |
PUSAKA_MAX_SPEND_NEAR | optional | Spend cap per session in NEAR (default 5) |
PUSAKA_CONTRACT | optional | Pusaka contract (default pusaka-v2.testnet; pusaka-btc.testnet for the classic one) |
PUSAKA_ALLOW_OUTFLOWS | optional | Set to 1 to let the agent move a Pusaka or its assets out |
PUSAKA_ALLOWED_RECIPIENTS | optional | Comma-separated accounts or addresses outflows may go to |
PUSAKA_CONFIRM | optional | off: no human confirmation even when the host supports elicitation (caps still apply) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add pusaka -- npx -y pusaka-mcp@1.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"pusaka": {
"args": [
"-y",
"pusaka-mcp@1.1.2"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"pusaka": {
"args": [
"-y",
"pusaka-mcp@1.1.2"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"pusaka": {
"args": [
"-y",
"pusaka-mcp@1.1.2"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.pusaka]
command = "npx"
args = ["-y", "pusaka-mcp@1.1.2"]Remote (hosted)
Run in a terminal
claude mcp add --transport http pusaka https://pusaka-two.vercel.app/api/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"pusaka": {
"args": [
"-y",
"mcp-remote",
"https://pusaka-two.vercel.app/api/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"pusaka": {
"url": "https://pusaka-two.vercel.app/api/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"pusaka": {
"type": "http",
"url": "https://pusaka-two.vercel.app/api/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.pusaka]
command = "npx"
args = ["-y", "mcp-remote", "https://pusaka-two.vercel.app/api/mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: pusaka_overview, pusaka_inspect, pusaka_buy, pusaka_fund_loan, pusaka_repay_loan, pusaka_claim_collateral, pusaka_list, pusaka_cancel_listing, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json