{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.cmendezs/mcp-facturacion-electronica-es",
  "slug": "io.github.cmendezs.mcp-facturacion-electronica-es",
  "title": "mcp-facturacion-electronica-es",
  "summary": "Spanish e-invoicing MCP server: VERI*FACTU, Facturae/FACe, SII, Crea y Crece B2B.",
  "version": "0.11.0",
  "serverKey": "mcp-facturacion-electronica-es",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.cmendezs.mcp-facturacion-electronica-es",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.cmendezs.mcp-facturacion-electronica-es/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T16:28:24.312356109Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "mcp-facturacion-electronica-es==0.11.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-facturacion-electronica-es -e 'AEAT_ENV=<AEAT_ENV>' -- uvx mcp-facturacion-electronica-es==0.11.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-facturacion-electronica-es\": {\n      \"args\": [\n        \"mcp-facturacion-electronica-es==0.11.0\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"AEAT_ENV\": \"<AEAT_ENV>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-facturacion-electronica-es\": {\n      \"args\": [\n        \"mcp-facturacion-electronica-es==0.11.0\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"AEAT_ENV\": \"<AEAT_ENV>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"AEAT_ENV\",\n      \"id\": \"aeat-env\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-facturacion-electronica-es\": {\n      \"args\": [\n        \"mcp-facturacion-electronica-es==0.11.0\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"AEAT_ENV\": \"${input:aeat-env}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-facturacion-electronica-es]\ncommand = \"uvx\"\nargs = [\"mcp-facturacion-electronica-es==0.11.0\"]\nenv = { \"AEAT_ENV\" = \"<AEAT_ENV>\" }"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "AEAT_ENV",
      "required": true,
      "secret": false,
      "description": "Target environment for AEAT endpoints: 'sandbox' or 'production'.",
      "help": "Target environment for AEAT endpoints: 'sandbox' or 'production'.",
      "placeholder": "<AEAT_ENV>"
    },
    {
      "name": "AEAT_CERTIFICATE_PATH",
      "required": false,
      "secret": false,
      "description": "Filesystem path to the FNMT-RCM PKCS#12 certificate (.p12 / .pfx) used for MTLS submission to AEAT (VERI*FACTU and SII) and for JWS-signed FACe submission.",
      "help": "Filesystem path to the FNMT-RCM PKCS#12 certificate (.p12 / .pfx) used for MTLS submission to AEAT (VERI*FACTU and SII) and for JWS-signed FACe submission.",
      "placeholder": "<AEAT_CERTIFICATE_PATH>"
    },
    {
      "name": "AEAT_CERTIFICATE_PASSWORD",
      "required": false,
      "secret": false,
      "description": "Passphrase for the PKCS#12 certificate at AEAT_CERTIFICATE_PATH.",
      "help": "Passphrase for the PKCS#12 certificate at AEAT_CERTIFICATE_PATH.",
      "placeholder": "<AEAT_CERTIFICATE_PASSWORD>"
    },
    {
      "name": "AEAT_NIF",
      "required": false,
      "secret": false,
      "description": "Taxpayer NIF used as the default submitter identity for AEAT submissions.",
      "help": "Taxpayer NIF used as the default submitter identity for AEAT submissions.",
      "placeholder": "<AEAT_NIF>"
    },
    {
      "name": "FACE_ENV",
      "required": false,
      "secret": false,
      "description": "Target environment for FACe API: 'sandbox' or 'production'.",
      "help": "Target environment for FACe API: 'sandbox' or 'production'.",
      "placeholder": "<FACE_ENV>"
    },
    {
      "name": "LOG_LEVEL",
      "required": false,
      "secret": false,
      "description": "Logging level inherited from mcp-einvoicing-core: DEBUG, INFO (default), WARNING, or ERROR.",
      "help": "Logging level inherited from mcp-einvoicing-core: DEBUG, INFO (default), WARNING, or ERROR.",
      "placeholder": "<LOG_LEVEL>"
    }
  ],
  "expectedTools": [
    "es__generate_verifactu_record",
    "es__validate_verifactu_record",
    "es__submit_verifactu_to_aeat",
    "es__query_verifactu_status",
    "es__generate_qr_verifactu",
    "es__cancel_verifactu_record",
    "es__generate_facturae_xml",
    "es__sign_facturae_xades",
    "es__submit_to_face",
    "es__get_face_invoice_status",
    "es__validate_facturae_schema",
    "es__build_sii_invoice_record",
    "es__submit_sii_batch",
    "es__query_sii_status",
    "es__generate_sii_correction",
    "es__generate_b2b_einvoice_es",
    "es__check_b2b_mandate_applicability",
    "es__detect_regional_regime",
    "es__get_compliance_status",
    "es__parse_aeat_response"
  ],
  "agentSteps": [
    "Ask the user for: AEAT_ENV. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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: es__generate_verifactu_record, es__validate_verifactu_record, es__submit_verifactu_to_aeat, es__query_verifactu_status, es__generate_qr_verifactu, es__cancel_verifactu_record, es__generate_facturae_xml, es__sign_facturae_xades, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T16:28:24.312356109Z"
}
