🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@moneolabs/mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moneolabs/mcp

MCP server for Moneo: hand any agent host a guarded wallet and trading tools.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

@moneolabs/mcp

An MCP server that hands any agent host a guarded wallet — and, when you want it, trading — with keys the model never sees and a policy that runs before anything is signed. A refusal comes back as a result with a reason, not an exception, so the model reads why it was stopped instead of retrying into oblivion.

Try it in one command

No API key, no account. The sandbox serves a funded wallet on an in-memory ledger with test funds and a simulated venue:

npx @moneolabs/mcp

Claude Code

claude mcp add moneo -- npx @moneolabs/mcp

Claude Desktop, Cursor, and friends

{
  "mcpServers": {
    "moneo": {
      "command": "npx",
      "args": ["@moneolabs/mcp"]
    }
  }
}

Tools

ToolWhat it does
get_balanceBalance and what is not already committed
preflight_paymentWould this payment pass, without making it
payPay an address, invoice, or x402 endpoint; policy runs first
get_spending_limitsLimits in force and what is left of each budget
list_paymentsPayments made this session
get_quotePrice a trade across venues without committing
execute_orderQuote and execute: market, limit, TWAP, or bracket
list_positionsOpen positions with cost basis and unrealized P&L
close_positionExit with the same guarantees as entry

Configure the sandbox

Environment variables, because MCP host configs pass env:

VariableDefault
MONEO_AGENTsandbox-agentIdentity recorded on every decision
MONEO_FUNDING5,000 USDGStarting balance
MONEO_ASSETUSDGDefault asset
MONEO_POLICYbuilt-in cautious policyPath to a policy JSON file
{
  "mcpServers": {
    "moneo": {
      "command": "npx",
      "args": ["@moneolabs/mcp"],
      "env": {
        "MONEO_POLICY": "/etc/agents/overnight-policy.json",
        "MONEO_FUNDING": "10,000 USDG"
      }
    }
  }
}

A policy file is the same shape createGuard takes:

{
  "perTransaction": { "max": "$400" },
  "rolling24h": { "max": "$2,000" },
  "velocity": { "max": 10, "per": "1h" },
  "counterparties": "allowlist-only",
  "allow": ["x402:*", "venue:*"],
  "escalate": { "above": "$1,000" }
}

Serve your own wallet

The sandbox is a default, not a ceiling. Wire the server to whatever signer and rail you run in production:

import { createMcpServer, serveStdio } from "@moneolabs/mcp";
import { createGuard } from "@moneolabs/guard";
import { createWallet } from "@moneolabs/wallet";

const guard = createGuard(policy);
const wallet = await createWallet({ agent: "ops-03", signer, rail, guard });

await serveStdio(createMcpServer({ wallet, guard, trading }));

Part of Moneo: autonomous finance for AI agents on Robinhood Chain. MIT.

Keywords

mcp

FAQs

Package last updated on 24 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts