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

@verusidx/marketplace-mcp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verusidx/marketplace-mcp

MCP server for Verus on-chain marketplace — create, browse, accept, and close offers

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

@verusidx/marketplace-mcp

MCP server for on-chain offers and trades on Verus. Supports identity swaps, currency offers, and decentralized atomic swaps — all four combinations: currency-for-currency, currency-for-identity, identity-for-currency, and identity-for-identity.

Setup

Prerequisite: @verusidx/chain-mcp must be configured and refresh_chains called at least once so the chain registry exists.

Add to your MCP client config (e.g., Claude Code claude_desktop_config.json):

{
  "mcpServers": {
    "verusidx-marketplace": {
      "command": "npx",
      "args": ["-y", "@verusidx/marketplace-mcp"],
      "env": {}
    }
  }
}

Alternative: local install. If you prefer a pinned version or offline use, install into a project directory with npm install @verusidx/marketplace-mcp (or pnpm add / yarn add) and point your config at the local path instead of using npx.

Environment Variables

VariableDefaultDescription
VERUSIDX_READ_ONLYfalseSet to true to disable write tools. Read tools remain available.
VERUSIDX_AUDIT_LOGtrueSet to false to disable audit logging of write operations.
VERUSIDX_AUDIT_DIROS defaultCustom directory for audit log files.

Read-Only Mode

Set VERUSIDX_READ_ONLY=true to disable write tools. In read-only mode, 2 tools remain available:

  • getoffers — browse offers on the market
  • listopenoffers — list offers from the current wallet

Write tools (makeoffer, takeoffer, closeoffers) are not registered and won't appear in the tool list.

Tools

Always available (including read-only mode)

ToolDescription
getoffersGet all open offers for a specific currency or identity (buy and sell sides)
listopenoffersList open offers from the current wallet, with expired/unexpired filter

Write tools (disabled in read-only mode)

ToolDescription
makeofferCreate a new on-chain atomic swap offer
takeofferAccept an existing on-chain offer (atomic exchange)
closeoffersClose/cancel open offers and reclaim locked funds

Offer Types

All four swap combinations are supported:

OfferForExample
CurrencyCurrencySell 1 BTC for 5000 VRSC
CurrencyIdentityOffer 100 VRSC for an identity
IdentityCurrencySell an identity for 50 VRSC
IdentityIdentitySwap two identities

ID Control Tokens

Some identities have an associated control token (flags: 5 in getidentity). These identities cannot be offered or requested directly — instead, offer/request the control token as a currency: {"currency": "idname.parent", "amount": 0.00000001}. There is exactly 1 satoshi of each control token.

Spending Limits

On first run, marketplace-mcp creates a default spending-limits.json if one doesn't exist:

{
  "VRSC": 10
}

This caps any single makeoffer or takeoffer call at 10 VRSC. Edit the file to adjust limits. To remove all limits, set the file contents to {} (empty object). See the root README for file location and configuration details.

Audit Logging

All write operations are logged to date-stamped JSONL files in the audit directory. Each entry records the tool name, chain, parameters, result, and success status. Logs are append-only with 0600 permissions.

Requirements

  • Node.js >= 18.0.0
  • @verusidx/chain-mcp installed and refresh_chains called (chain registry must exist)
  • At least one Verus daemon running for RPC tools

Keywords

verus

FAQs

Package last updated on 10 May 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