Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

openmm-mcp MCP server](https://glama.ai/mcp/servers/QBT-Labs/openmm-mcp/badges/score.svg)](https://glama.ai/mcp/servers/QBT-Labs/openmm-mcp) πŸ“‡ ☁️ - AI-native crypto market making toolkit with 13 tools for DeFi analytics, CEX/DEX trading, and liquidity...

README.md

@qbtlabs/openmm-mcp

![smithery badge](https://smithery.ai/servers/qbtlabs/openmm-mcp) ![npm version](https://www.npmjs.com/package/@qbtlabs/openmm-mcp) ![npm downloads](https://www.npmjs.com/package/@qbtlabs/openmm-mcp) ![License: MIT](https://opensource.org/licenses/MIT) ![Ask DeepWiki](https://deepwiki.com/QBT-Labs/OpenMM-MCP)

πŸ“š Documentation Β· πŸ€– AI Skills Portal Β· πŸ”Œ API Reference

MCP server for OpenMM β€” exposes market data, account, trading, and strategy tools to AI agents via any MCP client.

<a href="https://glama.ai/mcp/servers/QBT-Labs/openmm-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/QBT-Labs/openmm-mcp/badge" alt="openmm-mcp MCP server" /> </a>

Two Ways to Use

| Option | Best For | API Keys | Payments | |--------|----------|----------|----------| | Local (npm) | Full control, your own keys | Encrypted vault | Free | | Hosted (mcp.openmm.io) | No setup, pay-per-use | Not needed for public data | x402 USDC |

---

Local Setup

Prerequisites: Node.js 20 or later.

1. Install and configure

npm install -g @qbtlabs/openmm-mcp
openmm-mcp --setup

The setup wizard writes the correct MCP config for your client (Claude Desktop, Claude Code, Cursor, Windsurf). No credentials are stored in config files β€” only the socket path.

2. Initialize encrypted vault

openmm-init

This creates an encrypted vault at ~/.openmm/vault.enc containing your wallet key and exchange API credentials. You'll set a password, generate (or import) a wallet, and optionally add exchange keys.

3. Start the server

openmm serve

Type your vault password once. The unified socket starts at /tmp/openmm.sock β€” all MCP clients connect here. No credentials exist in any config file.

Manual configuration

If you prefer to edit config files directly instead of using --setup:

| Client | Config file | |--------|-------------| | Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json | | Claude Code | ~/.claude.json | | Cursor | .cursor/mcp.json | | Windsurf | ~/.codeium/windsurf/mcp_config.json |

{
  "mcpServers": {
    "openmm": {
      "command": "node",
      "args": ["/path/to/openmm-mcp/dist/index.js"],
      "env": {
        "MCP_TRANSPORT": "stdio",
        "OPENMM_SOCKET": "/tmp/openmm.sock",
        "PAYMENT_SERVER": "https://mcp.openmm.io",
        "X402_TESTNET": "true"
      }
    }
  }
}

Replace /path/to/openmm-mcp with the actual install path. For Claude Desktop, use the full path to node (e.g. from which node) to avoid nvm/PATH issues.

Tip: Run openmm-mcp --setup instead β€” it writes the correct absolute paths automatically.

No API keys. No private keys. No passwords. Just the socket path.

Without vault (quick start)

You can skip the vault and pass API keys directly in the env block:

{
  "mcpServers": {
    "openmm": {
      "command": "npx",
      "args": ["@qbtlabs/openmm-mcp"],
      "env": {
        "MEXC_API_KEY": "your_key",
        "MEXC_SECRET": "your_secret"
      }
    }
  }
}

The vault strengthens every scenario β€” nothing sensitive exists in any config file, process environment, or client memory.

Client compatibility

| Client | Without vault | With vault | |--------|--------------|------------| | Claude Desktop | API keys in env | Only OPENMM_SOCKET | | Claude Code | API keys in env | Only OPENMM_SOCKET | | Cursor | API keys in env | Only OPENMM_SOCKET | | Windsurf | API keys in env | Only OPENMM_SOCKET |

All clients connect to the same running openmm serve β€” one vault, one socket, any client.

---

Hosted Server with x402 Payments

Connect to mcp.openmm.io β€” no local installation needed for public data. Pay per tool call with USDC on Base.

How it works

AI Agent (Claude / Cursor / Windsurf)
β”‚  MCP stdio β€” no keys in config
β–Ό
MCP Client Process
(reads OPENMM_SOCKET β€” credentials never here)
β”‚  Unix socket /tmp/openmm.sock (mode 0600)
β–Ό
openmm serve β€” unified vault process
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  ~/.openmm/vault.enc             β”‚
β”‚  AES-256-GCM + PBKDF2           β”‚  ← wallet key + exchange keys, one vault
β”‚            β”‚                     β”‚
β”‚  Policy Engine                   β”‚  ← maxPerTx, maxPerDay, allowedChains
β”‚  (checked before key is touched) β”‚
β”‚            β”‚                     β”‚
β”‚  signAndWipe()                   β”‚  ← key used inline, wiped from memory
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚  EIP-3009 signature only
β–Ό
mcp.openmm.io β†’ x402 verification β†’ Base L2 settlement

Security properties

| Property | How | |----------|-----| | Keys encrypted at rest | AES-256-GCM + PBKDF2 in ~/.openmm/vault.enc | | Keys never in client memory | MCP process only holds socket path | | Keys never in config files | No API keys, no private keys anywhere in config | | Process isolation | Signing happens in openmm serve, not in the AI agent process | | Policy enforcement | Spending limits checked before private key is accessed | | Memory safety | signAndWipe() β€” key used once, goes out of scope immediately |

Payment flow

  1. Agent calls a tool
  2. Server returns 402 Payment Required with price
  3. openmm serve signs EIP-3009 authorization (gasless β€” no ETH needed)
  4. Server submits payment on-chain and returns data

Tool Pricing

| Category | Tools | Price (USDC) | |----------|-------|--------------| | Free | list_exchanges | $0.00 | | Read | get_ticker, get_orderbook, get_trades, get_ohlcv, get_balance, list_orders, get_cardano_price, discover_pools, get_strategy_status | $0.001 | | Write | create_order, cancel_order, cancel_all_orders, start_grid_strategy, stop_strategy | $0.01 |

---

Available Tools (15)

| Tool | Description | Parameters | |------|-------------|------------| | Market Data | | list_exchanges | List supported exchanges | β€” | | get_ticker | Real-time price, bid/ask, spread, volume | exchange, symbol | | get_orderbook | Order book depth (bids/asks) | exchange, symbol, limit? | | get_trades | Recent trades with buy/sell summary | exchange, symbol, limit? | | get_ohlcv | OHLCV candlestick data | exchange, symbol, timeframe?, limit? | | Account | | get_balance | Account balances (all or filtered) | exchange, asset? | | list_orders | Open orders (all or by symbol) | exchange, symbol? | | Trading | | create_order | Place limit or market order | exchange, symbol, type, side, amount, price? | | cancel_order | Cancel order by ID | exchange, symbol, orderId | | cancel_all_orders | Cancel all orders for a pair | exchange, symbol | | Cardano DEX | | get_cardano_price | Aggregated token price from DEXes | symbol | | discover_pools | Discover liquidity pools | symbol, minLiquidity? | | Strategy | | start_grid_strategy | Start grid trading | exchange, symbol, lowerPrice, upperPrice, gridLevels?, totalAmount | | stop_strategy | Stop a running strategy | strategyId, cancelOrders? | | get_strategy_status | Get strategy status | strategyId |

---

CLI Reference

Setup & Server

| Command | Description | |---------|-------------| | openmm-init | Create vault, generate/import wallet, add exchanges | | openmm-init --import <key> | Create vault with an existing private key | | openmm serve | Unlock vault, start unified socket | | openmm-status | Show vault, socket, wallet, and exchange status (no password) |

Exchange Credentials

| Command | Description | |---------|-------------| | openmm-exchange list | List configured exchanges | | openmm-exchange add <id> | Add exchange credentials | | openmm-exchange remove <id> | Remove exchange credentials |

Supported exchanges: mexc, gateio, bitget, kraken, binance, coinbase, okx

Wallet

| Command | Description | |---------|-------------| | openmm-wallet info | Show wallet address and chain | | openmm-wallet set | Set wallet credentials | | openmm-wallet export | Display private key (requires confirmation) |

Spending Policy

| Command | Description | |---------|-------------| | openmm-policy show | Show current policy | | openmm-policy set max-per-tx <amount> | Max USDC per transaction | | openmm-policy set max-per-day <amount> | Max USDC per day | | openmm-policy set allowed-chains <chains> | Comma-separated chain IDs | | openmm-policy reset | Clear all policy limits |

Advanced

| Command | Description | |---------|-------------| | openmm-vault info | Show vault metadata | | openmm-vault change-password | Change vault password | | openmm-vault export | Export all credentials (dangerous) | | openmm-vault destroy | Delete the vault |

---

Example Usage

Check BTC price: `` "Get me the BTC/USDT ticker on MEXC" ``

Place an order: `` "Buy 0.1 ETH at $2400 on Kraken" ``

Start grid strategy: `` "Start a grid strategy on MEXC for INDY/USDT between $0.10 and $0.15 with 10 levels and $500 total" ``

Check Cardano token: `` "What's the current price of SNEK on Cardano DEXes?" ``

---

Security

  • Vault: AES-256-GCM encrypted at ~/.openmm/vault.enc
  • Password: Interactive terminal only β€” never in any config file, env var, or CLI flag
  • Socket: /tmp/openmm.sock mode 0600 β€” the socket is the authentication boundary
  • Policy: Spending limits enforced at the socket before the private key is touched
  • Isolation: Private key never enters any MCP client process memory β€” signing happens in the openmm serve process via IPC

---

Development

git clone https://github.com/QBT-Labs/openMM-MCP.git
cd openMM-MCP
npm install
npm run typecheck
npm run lint
npm test
npm run build

---

Resources

License

MIT

Hosted deployment

A hosted deployment is available on Fronteir AI.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Finance & Payments servers.