{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.SalmanKhan957/zatca-toolkit",
  "slug": "io.github.salmankhan957.zatca-toolkit",
  "title": "ZATCA e-invoicing (Saudi Fatoora)",
  "summary": "Create, sign, validate and submit Saudi ZATCA Phase 2 e-invoices; decode QR codes; explain errors.",
  "version": "0.1.1",
  "serverKey": "zatca-toolkit",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.salmankhan957.zatca-toolkit",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.salmankhan957.zatca-toolkit/install.md",
  "trust": {
    "score": 91,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T10:23:22.227114288Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "zatca-toolkit-mcp@0.1.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add zatca-toolkit -- npx -y zatca-toolkit-mcp@0.1.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"zatca-toolkit\": {\n      \"args\": [\n        \"-y\",\n        \"zatca-toolkit-mcp@0.1.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"zatca-toolkit\": {\n      \"args\": [\n        \"-y\",\n        \"zatca-toolkit-mcp@0.1.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"zatca-toolkit\": {\n      \"args\": [\n        \"-y\",\n        \"zatca-toolkit-mcp@0.1.1\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.zatca-toolkit]\ncommand = \"npx\"\nargs = [\"-y\", \"zatca-toolkit-mcp@0.1.1\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "ZATCA_ENV",
      "required": false,
      "secret": false,
      "description": "sandbox (default), simulation or production",
      "help": "sandbox (default), simulation or production",
      "placeholder": "<ZATCA_ENV>"
    },
    {
      "name": "ZATCA_PRIVATE_KEY_FILE",
      "required": false,
      "secret": false,
      "description": "Path to the EGS secp256k1 private key (PEM)",
      "help": "Path to the EGS secp256k1 private key (PEM)",
      "placeholder": "<ZATCA_PRIVATE_KEY_FILE>"
    },
    {
      "name": "ZATCA_CERTIFICATE",
      "required": false,
      "secret": true,
      "description": "CSID certificate or binarySecurityToken from ZATCA",
      "help": "CSID certificate or binarySecurityToken from ZATCA",
      "placeholder": "<ZATCA_CERTIFICATE>"
    },
    {
      "name": "ZATCA_CSID_SECRET",
      "required": false,
      "secret": true,
      "description": "CSID secret, needed to submit invoices",
      "help": "CSID secret, needed to submit invoices",
      "placeholder": "<ZATCA_CSID_SECRET>"
    },
    {
      "name": "ZATCA_SELLER_FILE",
      "required": false,
      "secret": false,
      "description": "Path to seller details JSON",
      "help": "Path to seller details JSON",
      "placeholder": "<ZATCA_SELLER_FILE>"
    }
  ],
  "expectedTools": [
    "create_invoice",
    "validate_invoice",
    "decode_qr",
    "explain_error",
    "compute_invoice_hash",
    "generate_csr",
    "submit_invoice"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: create_invoice, validate_invoice, decode_qr, explain_error, compute_invoice_hash, generate_csr, submit_invoice.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T10:23:22.227114288Z"
}
