OpenMM MCP

by qbt-labs

Not rated
GitHub

About

AI-native crypto trading server with 13 tools for market data, order execution, grid strategies, and Cardano DeFi across multiple exchanges.

Details

Author
qbt-labs
Categories
Developer Tools, Other, Finance

Setup

Install OpenMM MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/qbt-labs/openMM-MCP

Follow the installation instructions in the repository README, then restart your MCP client.

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

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

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.

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

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.

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

{ "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-mcpwith the actual install path. For Claude Desktop, use the full path tonode(e.g. fromwhich node) to avoid nvm/PATH issues.

Tip:Runopenmm-mcp --setupinstead β€” it writes the correct absolute paths automatically.

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

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

{ "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.

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

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

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

- Agent calls a tool
- Server returns402 Payment Requiredwith price
- openmm servesigns EIP-3009 authorization (gasless β€” no ETH needed)
- Server submits payment on-chain and returns data

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

"Get me the BTC/USDT ticker on MEXC"
"Buy 0.1 ETH at $2400 on Kraken"
"Start a grid strategy on MEXC for INDY/USDT between $0.10 and $0.15 with 10 levels and $500 total"
"What's the current price of SNEK on Cardano DEXes?"

- 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.sockmode0600β€” 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 theopenmm serveprocess via IPC

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

- OpenMM SDKβ€” Underlying trading SDK
-
x402 Packageβ€” Payment integration
-
MCP Specificationβ€” Model Context Protocol docs
-
Base Networkβ€” L2 for USDC payments

A hosted deployment is available onFronteir AI.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Provides tools for interacting with the EDUCHAIN blockchain, including wallet, swap, and arbitrage operations on SailFish DEX.

A server for interacting with the Futarchy protocol on the Solana blockchain.

Interact with the Hyperliquid decentralized exchange by integrating its SDK.

An MCP server for the Osmosis Agent Toolkit, enabling interactions with the Osmosis blockchain.

Access prediction market data from the PolyMarket API.

A FastMCP implementation of the in-house MCP servers used by Units of the Rei Network.

An MCP server for the XRP Ledger blockchain, offering tools for wallet operations, token management, NFTs, and DEX trading.

Manage Uniswap and Aerodrome liquidity positions with automated rebalancing and leverage.

Risk Intelligence MCP Server for crypto agents β€” 52 tools, 72B AI model, 560+ signals, derivatives, on-chain, autonomous trading

Cross-chain cryptocurrency swaps via Chainflip. Get quotes, execute swaps, and track progress.

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.