muranwirebaugh-cmyk

OURS MCP Server (ours-mcp)

Updated

Official 48-tool Model Context Protocol (MCP) bridge for OURS (ours.meme) — BNB Chain 0%-open/close-fee BTC, ETH & 24/7 Gold (XAU) perpetual DEX

OURS MCP Server (ours-mcp)

License: MITARD 1.0

Official Model Context Protocol (MCP) server and zero-dependency stdio bridge for OURS (ours.meme) — an AI-native perpetual DEX on BNB Smart Chain (BSC) supporting both USDC-margined (with shared MLV/GLV pools) and isolated Meme token-margined markets, featuring 0% open / losing-close / stop-loss fees (profit haircut + 2% profit fee + 1% risk reserve only on profitable closes), pure Pyth Network BTC / ETH / 24x7 Gold (XAU) bid/ask execution, and community vaults for BNB Chain meme ecosystems.

Quick Start

Option A — Remote Streamable HTTP (Zero Install)

Connect Claude Code, Cursor, Windsurf, or any Streamable-HTTP MCP client directly to the hosted endpoint (currently serving public BSC Testnet, Chain ID 97):

claude mcp add --transport http oursmeme https://devapi.ours.meme/api/mcp

Or add to .cursor/mcp.json:

{
  "mcpServers": {
    "oursmeme": {
      "url": "https://devapi.ours.meme/api/mcp"
    }
  }
}

Option B — Local Stdio Bridge (Claude Desktop / Smithery / Glama)

For stdio-only MCP hosts (such as local Claude Desktop configs), run via npx or clone this zero-dependency Node.js (>=18) bridge:

{
  "mcpServers": {
    "oursmeme": {
      "command": "npx",
      "args": ["-y", "ours-mcp"],
      "env": {
        "OURS_API_KEY": "optional_mpk_key_from_ours_meme_agent",
        "OURS_MCP_URL": "https://devapi.ours.meme/api/mcp"
      }
    }
  }
}

Or run from a local checkout:

git clone https://github.com/muranwirebaugh-cmyk/ours-mcp.git
cd ours-mcp
npm test

Note on OURS_API_KEY: Public market data and unsigned trade builders work without an API key, while personal account telemetry and build_launch_market (staging required token metadata) require an mpk_* key bound to the wallet.

What the 48 MCP Tools Cover

  1. Market & Pure Pyth Quotes (get_rules, list_markets, get_price, get_trending): Query live Pyth BTC, ETH, and 24/7 Gold (XAU) bid/ask quotes (0 platform spread markup), 50/50 net-OI funding skews, and 7-day realized LP / Coin-Days dividend APRs.
  2. Orderflow & Risk Telemetry (get_market_positions, get_market_series, get_leaderboard, get_token_holders): Inspect long/short open interest distribution, liquidation levels, and isolated BNB Chain meme vault depth.
  3. Non-Custodial Transaction Builders (build_*): Construct unsigned EVM transactions (to / data / value / chainId) for 0%-entry / 0%-losing-exit perpetual orders (fees apply only on realized profit), LP deposits, and market creation. No tool ever requests or touches private keys.
  4. Scoped On-Chain Agent Guardrails (ours.meme/agent): Authorize bounded session keys with hard USDC margin caps, order-count expiries, and smart-contract-enforced settlement strictly back to your main wallet.

Multilingual Documentation

MCP Server · Populars

MCP Server · New