{
  "$schema": "https://modelcontextprotocol.io/schema/manifest.json",
  "name": "MapleMarkets MCP Server",
  "version": "1.0.0",
  "description": "Model Context Protocol interface for MapleMarkets institutional 2005 MMORPG currency exchange, order book telemetry, and 2-of-3 multisig escrow tracking.",
  "homepage": "https://maplemarketssite.vercel.app",
  "tools": [
    {
      "name": "get_meso_rates",
      "description": "Fetch real-time spot exchange rates, liquidity depth, and Free Market tax absorption calculations for in-game currency across MapleStory Classic World allocations.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "world": {
            "type": "string",
            "enum": [
              "classic_world",
              "fresh_launch"
            ],
            "description": "Target MapleStory Classic World launch allocation"
          },
          "volume_mesos": {
            "type": "integer",
            "minimum": 10000000,
            "default": 100000000,
            "description": "Requested net meso volume"
          },
          "quote_currency": {
            "type": "string",
            "enum": ["USD", "USDT", "SOL", "USDC", "BTC"],
            "default": "USD",
            "description": "Fiat or cryptocurrency quote currency"
          }
        },
        "required": ["world"]
      }
    },
    {
      "name": "get_order_book",
      "description": "Retrieve current buy and sell bids, aggregated volume, spread percentages, and bonded courier reserve liquidity.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "world": {
            "type": "string",
            "enum": [
              "classic_world",
              "fresh_launch"
            ],
            "description": "Target MapleStory Classic World launch allocation"
          },
          "side": {
            "type": "string",
            "enum": ["buy", "sell", "both"],
            "default": "both",
            "description": "Order book side filter"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "default": 10,
            "description": "Number of depth levels to return"
          }
        },
        "required": ["world"]
      }
    },
    {
      "name": "check_escrow_status",
      "description": "Verify the cryptographic state of a peer-to-peer freelance contract or meso delivery order, including 2-of-3 multisig status, courier assignment, and SHA-256 Proof-of-Transaction receipt.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "order_id": {
            "type": "string",
            "description": "Canonical order identifier (e.g., MM-2026-8942)"
          }
        },
        "required": ["order_id"]
      }
    }
  ]
}
