SRI Ecuador — Facturación electrónica

v0.6.2
io.github.RafaGallardo7/mcp-sri-ecuador Checked 17 hours ago Published 1 day ago

Facturación electrónica del SRI (Ecuador): factura, nota de crédito, retención, firma, envío y RIDE.

Values you need

VariableWhat it is
SRI_AMBIENTEoptional Ambiente del SRI: pruebas o produccion. Default: pruebas
SRI_P12_PATHoptional Ruta a la firma electrónica .p12/.pfx. Solo se necesita para firmar y emitir.
SRI_P12_PASSWORDoptional secret Clave de la firma electrónica .p12. Nunca pasa por el modelo.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-sri-ecuador -- npx -y mcp-sri-ecuador@0.6.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-sri-ecuador": {
      "args": [
        "-y",
        "mcp-sri-ecuador@0.6.2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-sri-ecuador": {
      "args": [
        "-y",
        "mcp-sri-ecuador@0.6.2"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-sri-ecuador": {
      "args": [
        "-y",
        "mcp-sri-ecuador@0.6.2"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-sri-ecuador]
command = "npx"
args = ["-y", "mcp-sri-ecuador@0.6.2"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-sri-ecuador https://mcp.oneprotech.com/sri/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-sri-ecuador": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.oneprotech.com/sri/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-sri-ecuador": {
      "url": "https://mcp.oneprotech.com/sri/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-sri-ecuador": {
      "type": "http",
      "url": "https://mcp.oneprotech.com/sri/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-sri-ecuador]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.oneprotech.com/sri/mcp"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: sri_generar_clave_acceso, sri_validar_clave_acceso, sri_validar_identificacion, sri_generar_factura_xml, sri_generar_nota_credito_xml, sri_generar_retencion_xml, sri_consultar_autorizacion, sri_generar_ride, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json