# Send OpenMM Exchange Setup to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openmm-exchange-setup",
    "name": "OpenMM Exchange Setup",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/adacapo21/openmm-exchange-setup",
    "canonicalUrl": "https://clawhub.ai/adacapo21/openmm-exchange-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openmm-exchange-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openmm-exchange-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openmm-exchange-setup",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T13:47:42.821Z",
      "expiresAt": "2026-05-13T13:47:42.821Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openmm-exchange-setup",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openmm-exchange-setup",
        "contentDisposition": "attachment; filename=\"openmm-exchange-setup-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openmm-exchange-setup"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openmm-exchange-setup"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openmm-exchange-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/openmm-exchange-setup",
    "agentUrl": "https://openagent3.xyz/skills/openmm-exchange-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openmm-exchange-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openmm-exchange-setup/agent.md"
  }
}
```
## Documentation

### OpenMM Exchange Setup

Interactive guide for configuring exchange API credentials in OpenMM.

### When to Use

Use this skill when:

Setting up OpenMM for the first time
Adding a new exchange
Troubleshooting connection issues

### Supported Exchanges

ExchangeMin OrderCredentials RequiredMEXC1 USDTAPI key + SecretGate.io1 USDTAPI key + SecretBitget1 USDTAPI key + Secret + PassphraseKraken5 EUR/USDAPI key + Secret

### Step 1: Create API Keys

Guide user to the exchange's API management page:

MEXC:    https://www.mexc.com/ucenter/api
Gate.io: https://www.gate.io/myaccount/apikeys
Kraken:  https://www.kraken.com/u/security/api
Bitget:  https://www.bitget.com/account/newapi

### Step 2: Configure Permissions

Required permissions for each exchange:

MEXC:

Enable Spot Trading
Enable Reading
Disable Withdrawals (safety)
IP whitelist recommended

Gate.io:

Spot Trade
Spot Read
No Withdraw permission
IP whitelist recommended

Kraken:

Query Funds
Query Open Orders & Trades
Create & Modify Orders
No Withdraw permission

Bitget:

Trade
Read Only
No Transfer permission
Note the Passphrase — it is set when creating the API key

### Step 3: Set Environment Variables

OpenMM uses environment variables for credentials. Add them to your .env file or export in your shell:

# MEXC
export MEXC_API_KEY="your_mexc_api_key"
export MEXC_SECRET="your_mexc_secret_key"

# Gate.io
export GATEIO_API_KEY="your_gateio_api_key"
export GATEIO_SECRET="your_gateio_secret_key"

# Bitget (requires passphrase)
export BITGET_API_KEY="your_bitget_api_key"
export BITGET_SECRET="your_bitget_secret_key"
export BITGET_PASSPHRASE="your_bitget_passphrase"

# Kraken
export KRAKEN_API_KEY="your_kraken_api_key"
export KRAKEN_SECRET="your_kraken_secret_key"

Or create a .env file in the project root:

MEXC_API_KEY=your_mexc_api_key
MEXC_SECRET=your_mexc_secret_key
GATEIO_API_KEY=your_gateio_api_key
GATEIO_SECRET=your_gateio_secret_key
BITGET_API_KEY=your_bitget_api_key
BITGET_SECRET=your_bitget_secret_key
BITGET_PASSPHRASE=your_bitget_passphrase
KRAKEN_API_KEY=your_kraken_api_key
KRAKEN_SECRET=your_kraken_secret_key

### Step 4: Verify Connection

Test that credentials work by checking balances:

# MEXC
openmm balance --exchange mexc

# Gate.io
openmm balance --exchange gateio

# Bitget
openmm balance --exchange bitget

# Kraken
openmm balance --exchange kraken

### Step 5: Test Market Data

Confirm market data access:

openmm ticker --exchange mexc --symbol BTC/USDT
openmm orderbook --exchange kraken --symbol ADA/EUR --limit 5

### MCP Server Setup

To use OpenMM as an MCP server, add to your MCP client config:

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

Only include env vars for exchanges you want to use.

### "credentials not found"

Verify environment variables are set: echo $MEXC_API_KEY
Check .env file is in the correct directory
Ensure variable names match exactly (e.g. MEXC_SECRET not MEXC_SECRET_KEY)

### "credentials validation failed" (Bitget)

Verify all three vars: BITGET_API_KEY, BITGET_SECRET, BITGET_PASSPHRASE
The passphrase is set when creating the API key on Bitget

### "authentication failed" (Kraken)

Verify KRAKEN_API_KEY and KRAKEN_SECRET
Check key permissions on Kraken API settings page

### "Timestamp Error"

System clock may be out of sync
Run: sudo ntpdate time.google.com

### "Rate Limited"

Reduce request frequency
Check exchange's rate limit docs

### Security Best Practices

Never enable withdrawals — trading doesn't need it
Use IP whitelisting — restrict to your server's IP
Never commit .env files — add .env to .gitignore
Rotate keys periodically — every 90 days recommended
Use separate keys for testing — don't mix testnet/mainnet
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: adacapo21
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T13:47:42.821Z
- Expires at: 2026-05-13T13:47:42.821Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openmm-exchange-setup)
- [Send to Agent page](https://openagent3.xyz/skills/openmm-exchange-setup/agent)
- [JSON manifest](https://openagent3.xyz/skills/openmm-exchange-setup/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openmm-exchange-setup/agent.md)
- [Download page](https://openagent3.xyz/downloads/openmm-exchange-setup)