openmm-mcp

MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents

我该使用它吗

质量与安全性

A
描述质量
93%
模式完整度
95%
命名质量
99%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(1)

  • LOWTool 'discover_pools' description lacks action verb在 discover_pools 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,069token 数(工具定义)
~1.2 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.62%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "openmm-mcp": {
      "command": "npx",
      "args": [
        "@qbtlabs/openmm-mcp"
      ]
    }
  }
}

可运行的软件包

npm@qbtlabs/openmm-mcp1.0.14stdio

远程端点

https://mcp.openmm.io/mcpstreamable-http

它能做什么

工具清单

工具(15)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢list_exchanges

List all supported exchanges with their IDs, features, and required credentials

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_ticker(exchange, symbol)

Get real-time price, bid/ask, spread, and volume for a trading pair

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_orderbook(exchange, symbol, limit)

Fetch order book depth (bids and asks) for a trading pair

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    },
    "limit": {
      "default": 10,
      "description": "Number of results to return (default: 10, max: 100)",
      "type": "number",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_trades(exchange, symbol, limit)

Get recent trades for a trading pair

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    },
    "limit": {
      "default": 20,
      "description": "Number of results to return (default: 20, max: 100)",
      "type": "number",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_ohlcv(exchange, symbol, timeframe, limit)

Get OHLCV (candlestick) data for a trading pair

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    },
    "timeframe": {
      "default": "1h",
      "description": "Candlestick timeframe (1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w)",
      "type": "string",
      "enum": [
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "4h",
        "1d",
        "1w"
      ]
    },
    "limit": {
      "default": 100,
      "description": "Number of results to return (default: 100, max: 500)",
      "type": "number",
      "minimum": 1,
      "maximum": 500
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_balance(exchange, asset)

Get account balances for all assets (or a specific asset) on a supported exchange

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "asset": {
      "description": "Optional asset to filter by (e.g., USDT, BTC). Returns all assets if omitted.",
      "type": "string"
    }
  },
  "required": [
    "exchange"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_orders(exchange, symbol)

List open orders on a supported exchange, optionally filtered by trading pair symbol

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "description": "Optional trading pair to filter by (e.g., BTC/USDT). Returns all if omitted.",
      "type": "string"
    }
  },
  "required": [
    "exchange"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_order(exchange, symbol, type, side, amount, ...)

Create a new order (limit or market) on a supported exchange

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    },
    "type": {
      "type": "string",
      "enum": [
        "limit",
        "market"
      ],
      "description": "Order type: limit or market"
    },
    "side": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ],
      "description": "Order side: buy or sell"
    },
    "amount": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Order amount in base currency"
    },
    "price": {
      "description": "Order price (required for limit orders, ignored for market orders)",
      "type": "number",
      "exclusiveMinimum": 0
    }
  },
  "required": [
    "exchange",
    "symbol",
    "type",
    "side",
    "amount"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴cancel_order(exchange, symbol, orderId)

Cancel a specific order by ID on a supported exchange

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    },
    "orderId": {
      "type": "string",
      "description": "The order ID to cancel"
    }
  },
  "required": [
    "exchange",
    "symbol",
    "orderId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴cancel_all_orders(exchange, symbol)

Cancel all open orders for a trading pair on a supported exchange

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_cardano_price(symbol)

Get aggregated price for a Cardano native token from DEX liquidity pools (TOKEN/USDT via ADA bridge)

输入模式

{
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Cardano token symbol (INDY, SNEK, MIN, NIGHT)"
    }
  },
  "required": [
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪discover_pools(symbol)

Discover Cardano DEX liquidity pools for a native token via Iris API

输入模式

{
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Cardano token symbol (INDY, SNEK, MIN, NIGHT)"
    }
  },
  "required": [
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢start_grid_strategy(exchange, symbol, levels, spacing, orderSize, ...)

Calculate and optionally place grid trading orders around the current price

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    },
    "levels": {
      "default": 5,
      "description": "Grid levels per side (default: 5)",
      "type": "number",
      "minimum": 1,
      "maximum": 10
    },
    "spacing": {
      "default": 0.02,
      "description": "Base spacing as decimal (default: 0.02 = 2%)",
      "type": "number",
      "minimum": 0.001,
      "maximum": 0.5
    },
    "orderSize": {
      "default": 50,
      "description": "Base order size in quote currency (default: 50)",
      "type": "number",
      "exclusiveMinimum": 0
    },
    "spacingModel": {
      "default": "linear",
      "description": "Spacing model",
      "type": "string",
      "enum": [
        "linear",
        "geometric"
      ]
    },
    "spacingFactor": {
      "default": 1.3,
      "description": "Factor for geometric spacing (default: 1.3)",
      "type": "number",
      "exclusiveMinimum": 0
    },
    "sizeModel": {
      "default": "flat",
      "description": "Size model",
      "type": "string",
      "enum": [
        "flat",
        "pyramidal"
      ]
    },
    "dryRun": {
      "default": true,
      "description": "Preview grid without placing orders (default: true)",
      "type": "boolean"
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴stop_strategy(exchange, symbol)

Cancel all open orders for a trading pair, effectively stopping any running grid strategy

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_strategy_status(exchange, symbol)

Get current grid strategy status: open orders, current price, and P&L estimate

输入模式

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "description": "Exchange to query. Supported: mexc, gateio, bitget, kraken"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol (e.g., BTC/USDT, INDY/USDT)"
    }
  },
  "required": [
    "exchange",
    "symbol"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本15 个工具
已验证未记录版本15 个工具