{
  "schema": "topaz.mcp-descriptor/v1",
  "status": "available",
  "publicationOutcome": "check-only",
  "executionOutcome": "separate-deferred",
  "name": "topaz",
  "title": "Topaz Native stdio MCP",
  "summary": "Exact language sections, verified documentation examples, and installed-checker diagnostics for assistant authoring.",
  "documentation": "https://topaz.ooo/v5.17/en/docs/interop/ai-agents",
  "languageVersion": "5.16",
  "protocolVersion": "2025-11-25",
  "sdk": "rmcp/1.5.0",
  "source": {
    "repository": "https://github.com/studiohaze/topaz-mcp",
    "commit": "b2cc15114bfaf9a10abdd013cc1c44439546c9cb",
    "tag": "v0.1.1"
  },
  "distribution": {
    "kind": "standalone-native-package",
    "status": "published",
    "version": "0.1.1",
    "release": "https://github.com/studiohaze/topaz-mcp/releases/tag/v0.1.1",
    "target": "aarch64-apple-darwin",
    "minimumMacos": "11.0",
    "archive": "topaz-mcp-0.1.1-aarch64-apple-darwin.tar.gz",
    "archiveSha256": "a5c58d66024d5583c8dfd1a16b8f45905cb1fc1837b0c20c58f24c37068e5135",
    "binarySha256": "e96caa56dfd4600bdf5890111be8474c5516b01bbda6f757db2960e5ec37196e",
    "commandProvider": "topaz-mcp-native-distribution",
    "requires": "an absolute installed native Topaz executable"
  },
  "transport": {
    "kind": "stdio",
    "command": "topaz-mcp",
    "args": [
      "serve",
      "--topaz",
      "<absolute-installed-native-topaz>",
      "--compiler",
      "self"
    ],
    "remote": null
  },
  "verification": {
    "expectedToolCount": 3,
    "knownSection": "The everyday working set",
    "knownExampleConcept": "function",
    "cleanCheckSource": "function main() -> int { 42 }\n",
    "expectedCleanStatus": "clean",
    "unavailableTool": "topaz_run"
  },
  "tools": [
    {
      "name": "topaz_spec",
      "summary": "Return the language reference for one section, or the section table when no section is given.",
      "input": { "section": "string, optional" }
    },
    {
      "name": "topaz_examples",
      "summary": "Return verified canonical examples for one concept, drawn from the published documentation samples.",
      "input": { "concept": "string" }
    },
    {
      "name": "topaz_check",
      "summary": "Check source text and return the compiler diagnostics verbatim, with their codes and source positions.",
      "input": { "source": "string" }
    }
  ],
  "unavailableTools": {
    "topaz_run": {
      "status": "not-implemented",
      "reason": "Topaz does not yet have both a proven no-capability language host and the required independent operating-system sandbox."
    }
  },
  "safety": {
    "status": "implemented-check-only-boundary",
    "codeExecution": false,
    "explanation": "topaz_check sends bounded source only through a fresh installed Topaz LSP stdin overlay. It never invokes topaz run.",
    "boundedResources": {
      "sourceBytes": 65536,
      "outputBytes": 1048576,
      "diagnostics": 256,
      "wallClockMillis": 5000,
      "cpuSeconds": 5,
      "operatingSystemMemoryCeilingClaimed": false
    },
    "dataHandling": {
      "submittedSourceRetained": false,
      "submittedSourceLogged": false,
      "stateBetweenCalls": "none"
    },
    "remoteTransport": false,
    "fallback": false
  }
}
