← Back to Docs
🦞Guide

How To: Connect OpenMM to OpenClaw

Give your AI agent access to 4+ crypto exchanges in under 5 minutes.

What you'll be able to do:

"Show my portfolio across all exchanges"
"Find arbitrage opportunities for ETH"
"Set up a grid bot for BTC/USDT"
"What's the best pool for SNEK on Cardano?"

Prerequisites

  • OpenClaw installed (npm install -g openclaw)
  • Node.js 18+ installed
  • API keys from at least one exchange

Choose Your Setup Method

Option A: OpenClaw Plugin (Easiest)

Full integration with built-in tools. Recommended for most users.

Option B: Skills via ClawHub

Modular skills for specific features. Mix and match what you need.

Option A: Install OpenClaw Plugin

1

Install & Setup

Install the OpenMM package and run the one-time setup wizard:

Terminal
npm install -g @qbtlabs/openmm-mcp
Terminal
openmm-init

This creates your encrypted vault, generates a wallet, and prompts for exchange credentials.

2

Start the Server

Start the unified MCP server:

Terminal
openmm serve
3

Install the OpenClaw Plugin

Add the OpenMM plugin to OpenClaw:

Terminal
openclaw plugins install @qbtlabs/openclaw-openmm
4

Restart OpenClaw

Terminal
openclaw gateway restart

Option B: Install Skills via ClawHub

1

Install & Setup

Install the package and run the one-time setup wizard:

Terminal
npm install -g @qbtlabs/openmm-mcp
openmm-init
openmm serve
2

Install OpenMM Skills

Install the skills you need:

Terminal
clawhub install openmm-exchange-setup
clawhub install openmm-grid-trading
clawhub install openmm-portfolio
clawhub install openmm-order-management
clawhub install openmm-cardano-dex

Or install all at once with the skills installer:

Terminal
npx @qbtlabs/openmm-skills --all
3

Restart OpenClaw

Terminal
openclaw gateway restart

Test Your Setup

1

Verify Connection

Open a chat with your OpenClaw agent and try:

"Get the BTC/USDT price on MEXC"
2

Try More Commands

"Show me my total portfolio value across all exchanges"
"Find tokens with >2% price difference between MEXC and Gate.io"
"Set up a grid bot for ETH/USDT between $3000-$4000 with 10 levels"

Available Skills

SkillDescription
openmm-exchange-setupGuide for configuring exchange API credentials
openmm-portfolioBalance tracking and portfolio overview
openmm-order-managementPlace, list, and cancel orders
openmm-grid-tradingAutomated grid trading strategies
openmm-cardano-dexCardano DEX pool discovery and pricing

You're Ready!

Your AI agent now has access to real-time market data and trading across multiple exchanges.