{
  "jsonrpc": "2.0",
  "result": {
    "protocolVersion": "2024-11-05",
    "serverInfo": {
      "name": "brmste-md-lightning-mcp",
      "version": "1.1.0"
    },
    "tools": [
      {
        "name": "list_mds",
        "description": "List .md + compute SKUs in qubits (1000 sat/q \u2192 non-human AI tokens; MCP only)",
        "inputSchema": {
          "type": "object",
          "properties": {}
        }
      },
      {
        "name": "buy_md",
        "description": "Buy .md by burning non-human AI-token credit (qubits). pay_with=compute only; human/LN disabled",
        "inputSchema": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "machine_id": {
              "type": "string"
            },
            "pay_with": {
              "type": "string"
            }
          },
          "required": [
            "id"
          ]
        }
      },
      {
        "name": "buy_compute",
        "description": "Settle any qubits in [0,+inf) at 1000 sat/qubit \u2192 non-human AI tokens (1q=1M). 0=noop. MCP/M2M only",
        "inputSchema": {
          "type": "object",
          "properties": {
            "qubits": {
              "type": "number",
              "minimum": 0,
              "description": "0-INFINITE"
            },
            "id": {
              "type": "string"
            },
            "machine_id": {
              "type": "string"
            }
          }
        }
      },
      {
        "name": "quote_qubits",
        "description": "Quote any qubits in [0,+inf): AI tokens + sats @ 1000 sat/qubit",
        "inputSchema": {
          "type": "object",
          "properties": {
            "qubits": {
              "type": "number"
            },
            "tokens": {
              "type": "number"
            }
          }
        }
      },
      {
        "name": "verify_payment",
        "description": "Verify LN invoice paid",
        "inputSchema": {
          "type": "object",
          "properties": {
            "r_hash": {
              "type": "string"
            }
          },
          "required": [
            "r_hash"
          ]
        }
      },
      {
        "name": "mine_unit",
        "description": "Buy mine unit settling to BRMSTE wallet",
        "inputSchema": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "machine_id": {
              "type": "string"
            }
          }
        }
      },
      {
        "name": "settle_wallet",
        "description": "BRMSTE ONE_LEDGER settle address",
        "inputSchema": {
          "type": "object",
          "properties": {}
        }
      },
      {
        "name": "connect_lnd",
        "description": "Lightning connect info for billing LND",
        "inputSchema": {
          "type": "object",
          "properties": {}
        }
      },
      {
        "name": "agent_settle",
        "description": "M2M Lightning settle any qubits [0,+inf) \u2192 AI token credit (no signatures)",
        "inputSchema": {
          "type": "object",
          "properties": {
            "qubits": {
              "type": "number",
              "minimum": 0,
              "description": "0-INFINITE"
            },
            "machine_id": {
              "type": "string"
            }
          }
        }
      },
      {
        "name": "agent_answer",
        "description": "Answer using qubit-metered compute; auto M2M-settles if credit empty",
        "inputSchema": {
          "type": "object",
          "properties": {
            "question": {
              "type": "string"
            },
            "machine_id": {
              "type": "string"
            },
            "auto_settle_qubits": {
              "type": "number"
            }
          },
          "required": [
            "question"
          ]
        }
      },
      {
        "name": "agent_credit",
        "description": "Show agent compute credit balance",
        "inputSchema": {
          "type": "object",
          "properties": {
            "machine_id": {
              "type": "string"
            }
          }
        }
      },
      {
        "name": "carbon_ledger",
        "description": "Read-only .usda carbon ledger: measured carbon (g) totalled across genuine BRMSTE token receipts. SKU doctrine 128 g/qubit; self-reported, pending third-party verification",
        "inputSchema": {
          "type": "object",
          "properties": {}
        }
      },
      {
        "name": "fleet_status",
        "description": "Read-only fleet status: LND fleet map + billing LND health + doctrine. No fund movement",
        "inputSchema": {
          "type": "object",
          "properties": {}
        }
      }
    ],
    "doctrine": {
      "headline": "0\u2192\u221e QUBITS \u00b7 1 QUBIT = 1M NON-HUMAN AI TOKENS \u00b7 1000 SAT/QUBIT \u00b7 MCP ONLY",
      "surface": {
        "human_ui": false,
        "human_cards": false,
        "human_ln_buttons": false,
        "ai_mcp_only": true,
        "mcp_endpoint": "https://md.brmste.com/mcp"
      },
      "unit": {
        "qubit": 1,
        "ai_tokens": 1000000,
        "token_kind": "non_human_ai_tokens",
        "token_consumers": [
          "grok",
          "anthropic",
          "openai",
          "agent_mcp"
        ],
        "not_human_chat_credits": true,
        "satoshi_mining": true,
        "openusd": true,
        "carbon_removed_g": 128.0
      },
      "pricing": {
        "range": "0-INFINITE",
        "qubit_min": 0.0,
        "qubit_max": Infinity,
        "sats_per_qubit": 1000,
        "formula": "price_sat = qubits * 1000",
        "md_payment": "burn AI-token credit (from qubits settled M2M) \u2014 not human fiat/card",
        "compute_payment": "Lightning M2M machine\u2192machine \u2014 ALL LNDs billing (mint on 01/08/09 RR; fleet settles)"
      },
      "tokens_per_qubit": 1000000,
      "sats_per_qubit": 1000,
      "carbon_g_per_qubit": 128.0,
      "formula": "1 qubit = 1_000_000 non-human AI tokens = 1000 sat = 128 g carbon removed",
      "ai_providers": [
        "grok",
        "anthropic",
        "openai"
      ],
      "openusd": {
        "role": "AI token compute + settlement artifact (non-human agents)",
        "status": "LIVE_ON_BTC_RAILS"
      },
      "coin": {
        "ticker": "$BRMSTE",
        "status": "TO_BE_LAUNCHED",
        "note": "Not a human retail product. AI agents settle qubits via MCP + Lightning."
      },
      "btc_rails": {
        "status": "LIVE",
        "lightning_billing": "ALL_LNDS \u00b7 BRMSTE-LIVE-LND-00..09+B300 \u00b7 HQ mint 01/08/09",
        "fleet": "https://md.brmste.com/lnd/fleet",
        "m2m": "https://md.brmste.com/mcp + :8790",
        "one_ledger": "bc1qkqy9tna45dl3fhknpvmlpx2a044a95h5lza77d",
        "fee_rail": "bc1qslupef065zzrf0um0qf8cj2z3yaepck8rg02sc"
      },
      "md_commerce": {
        "buy_path": "MCP tools/call buy_md pay_with=compute",
        "unit": "qubits \u2192 AI tokens burned for .md access",
        "human_surface": "DISABLED",
        "replace_tokens_for_mds": "AI token credit from qubit settle replaces human token packs"
      },
      "examples": [
        {
          "qubits": 0,
          "ai_tokens": 0,
          "price_sat": 0,
          "use": "zero \u2014 no-op / free bookkeeping"
        },
        {
          "qubits": 0.01,
          "ai_tokens": 10000,
          "price_sat": 10,
          "use": "typical .md"
        },
        {
          "qubits": 1,
          "ai_tokens": 1000000,
          "price_sat": 1000,
          "use": "1M AI tokens"
        },
        {
          "qubits": 1000,
          "ai_tokens": 1000000000,
          "price_sat": 1000000,
          "use": "large agent batch"
        },
        {
          "qubits": "inf",
          "ai_tokens": "unbounded",
          "price_sat": "tranche_settle",
          "use": "open scale \u2014 settle any q \u2265 0"
        }
      ],
      "honesty": [
        "NO HUMAN STOREFRONT \u2014 JSON + MCP only.",
        "1000 sat/qubit prices NON-HUMAN AI tokens only (not human UI tokens).",
        "Agents settle any qubits in [0, +\u221e) via M2M Lightning; .md burns AI-token credit.",
        "0-INFINITE: no fixed pack ceiling \u2014 quote_qubits / buy_compute / agent_settle accept open scale.",
        "1 qubit = 1M AI tokens = 1000 sat = 128g carbon removed.",
        "BTC Lightning rails LIVE; $BRMSTE coin not launched."
      ]
    }
  }
}