Koskamo

SRI Ecuador MCP

A community MCP server for Ecuador's SRI electronic invoicing. It generates access keys, validates RUC/cédula, creates XML invoices with IVA, signs with XAdES-BES, and queries authorization status. It offers a public Cloudflare Workers endpoint for non-destructive tools and supports local deployment for signing.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

SRI Ecuador MCP logo, by RafaGallardo7Community listingStreamable HTTPNo sign-inEndpoint checked 2026-12-02Published by RafaGallardo7
MCP endpoint (Streamable HTTP)
https://mcp.oneprotech.com/sri/mcp
Vendor documentation

What its tools do

5 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

5 of 5 have a description · 5 of 5 declare behavior hints · 0 of 5 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Generate electronic invoice XML with IVA calculations
  • Validate Ecuadorian RUC or cédula identification
  • Query SRI authorization status by access key
  • Sign and submit electronic invoices via SRI web service

Source and maintenance

Community listingRegistry 0.4.1
Maintenance checked

Protocol and capabilities

Server
mcp-sri-ecuador 0.4.1
MCP protocol negotiated in check
2025-11-25
Tools
5 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

5 advertised

sri_generar_clave_acceso — Generar clave de acceso
Advertised by the server during the last successful anonymous check.
Advertised read-only

Genera la clave de acceso de 49 dígitos (con dígito verificador módulo 11) de un comprobante electrónico del SRI.

sri_generar_clave_acceso input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "fechaEmision",
    "ruc",
    "secuencial"
  ],
  "properties": {
    "ruc": {
      "type": "string",
      "maxLength": 13,
      "description": "RUC del emisor (13 dígitos)"
    },
    "ambiente": {
      "enum": [
        "pruebas",
        "produccion"
      ],
      "type": "string",
      "description": "Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'."
    },
    "secuencial": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 9
        },
        {
          "type": "integer",
          "maximum": 999999999,
          "minimum": 0
        }
      ],
      "description": "Secuencial del comprobante, hasta 9 dígitos"
    },
    "fechaEmision": {
      "type": "string",
      "maxLength": 10,
      "description": "Fecha de emisión en formato aaaa-mm-dd o dd/mm/aaaa"
    },
    "puntoEmision": {
      "type": "string",
      "default": "001",
      "maxLength": 3
    },
    "codigoNumerico": {
      "type": "string",
      "maxLength": 8,
      "description": "8 dígitos; si se omite se genera al azar"
    },
    "establecimiento": {
      "type": "string",
      "default": "001",
      "maxLength": 3
    },
    "tipoComprobante": {
      "enum": [
        "factura",
        "liquidacionCompra",
        "notaCredito",
        "notaDebito",
        "guiaRemision",
        "comprobanteRetencion"
      ],
      "type": "string",
      "default": "factura"
    }
  }
}
sri_generar_clave_acceso annotations
{
  "readOnlyHint": true
}
sri_validar_clave_acceso — Validar clave de acceso
Advertised by the server during the last successful anonymous check.
Advertised read-only

Verifica el dígito verificador de una clave de acceso y la desglosa en sus campos.

sri_validar_clave_acceso input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "claveAcceso"
  ],
  "properties": {
    "claveAcceso": {
      "type": "string",
      "maxLength": 49
    }
  }
}
sri_validar_clave_acceso annotations
{
  "readOnlyHint": true
}
sri_validar_identificacion — Validar cédula o RUC
Advertised by the server during the last successful anonymous check.
Advertised read-only

Valida una cédula (10 dígitos) o RUC (13 dígitos) ecuatoriano con los algoritmos módulo 10/11 e indica el tipo de contribuyente.

sri_validar_identificacion input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "identificacion"
  ],
  "properties": {
    "identificacion": {
      "type": "string",
      "maxLength": 20
    }
  }
}
sri_validar_identificacion annotations
{
  "readOnlyHint": true
}
sri_generar_factura_xml — Generar XML de factura
Advertised by the server during the last successful anonymous check.
Advertised read-only

Construye el XML de una factura electrónica (versión 1.1.0) con totales e IVA calculados, sin firmar ni enviar. Útil para revisar antes de emitir.

sri_generar_factura_xml input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "fechaEmision",
    "secuencial",
    "emisor",
    "comprador",
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "codigoPrincipal",
          "descripcion",
          "cantidad",
          "precioUnitario"
        ],
        "properties": {
          "cantidad": {
            "type": "number",
            "maximum": 1000000000,
            "exclusiveMinimum": 0
          },
          "descuento": {
            "type": "number",
            "maximum": 1000000000,
            "minimum": 0
          },
          "tarifaIva": {
            "enum": [
              "0",
              "5",
              "12",
              "13",
              "14",
              "15",
              "noObjeto",
              "exento"
            ],
            "type": "string",
            "default": "15",
            "description": "Tarifa de IVA: '15' (general), '0', '5', 'exento', 'noObjeto'…"
          },
          "descripcion": {
            "type": "string",
            "maxLength": 300
          },
          "codigoAuxiliar": {
            "type": "string",
            "maxLength": 25
          },
          "precioUnitario": {
            "type": "number",
            "maximum": 1000000000,
            "minimum": 0
          },
          "codigoPrincipal": {
            "type": "string",
            "maxLength": 25
          }
        }
      },
      "maxItems": 500,
      "minItems": 1
    },
    "pagos": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "formaPago"
        ],
        "properties": {
          "plazo": {
            "type": "number",
            "maximum": 1000000000
          },
          "total": {
            "type": "number",
            "maximum": 1000000000
          },
          "formaPago": {
            "enum": [
              "sinSistemaFinanciero",
              "compensacionDeudas",
              "tarjetaDebito",
              "dineroElectronico",
              "tarjetaPrepago",
              "tarjetaCredito",
              "otrosConSistemaFinanciero",
              "endosoTitulos"
            ],
            "type": "string"
          },
          "unidadTiempo": {
            "type": "string",
            "maxLength": 10
          }
        }
      },
      "maxItems": 20
    },
    "emisor": {
      "type": "object",
      "required": [
        "ruc",
        "razonSocial",
        "dirMatriz"
      ],
      "properties": {
        "ruc": {
          "type": "string",
          "maxLength": 13
        },
        "dirMatriz": {
          "type": "string",
          "maxLength": 300
        },
        "razonSocial": {
          "type": "string",
          "maxLength": 300
        },
        "agenteRetencion": {
          "type": "string",
          "maxLength": 8
        },
        "nombreComercial": {
          "type": "string",
          "maxLength": 300
        },
        "contribuyenteRimpe": {
          "type": "string",
          "maxLength": 50
        },
        "dirEstablecimiento": {
          "type": "string",
          "maxLength": 300
        },
        "obligadoContabilidad": {
          "type": "boolean"
        },
        "contribuyenteEspecial": {
          "type": "string",
          "maxLength": 13
        }
      }
    },
    "propina": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
    },
    "ambiente": {
      "enum": [
        "pruebas",
        "produccion"
      ],
      "type": "string",
      "description": "Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'."
    },
    "comprador": {
      "type": "object",
      "required": [
        "tipoIdentificacion",
        "identificacion",
        "razonSocial"
      ],
      "properties": {
        "direccion": {
          "type": "string",
          "maxLength": 300
        },
        "razonSocial": {
          "type": "string",
          "maxLength": 300
        },
        "identificacion": {
          "type": "string",
          "maxLength": 20
        },
        "tipoIdentificacion": {
          "enum": [
            "ruc",
            "cedula",
            "pasaporte",
            "consumidorFinal",
            "exterior"
          ],
          "type": "string"
        }
      }
    },
    "secuencial": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 9
        },
        {
          "type": "integer",
          "maximum": 999999999,
          "minimum": 0
        }
      ]
    },
    "fechaEmision": {
      "type": "string",
      "maxLength": 10,
      "description": "aaaa-mm-dd o dd/mm/aaaa"
    },
    "puntoEmision": {
      "type": "string",
      "default": "001",
      "maxLength": 3
    },
    "infoAdicional": {
      "type": "object",
      "description": "Campos adicionales (máx. 15), p. ej. { Email: '...' }",
      "propertyNames": {
        "type": "string",
        "maxLength": 300
      },
      "additionalProperties": {
        "type": "string",
        "maxLength": 300
      }
    },
    "codigoNumerico": {
      "type": "string",
      "maxLength": 8
    },
    "establecimiento": {
      "type": "string",
      "default": "001",
      "maxLength": 3
    }
  }
}
sri_generar_factura_xml annotations
{
  "readOnlyHint": true
}
sri_consultar_autorizacion — Consultar autorización
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Consulta en el SRI el estado de autorización de un comprobante por su clave de acceso.

sri_consultar_autorizacion input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "claveAcceso"
  ],
  "properties": {
    "ambiente": {
      "enum": [
        "pruebas",
        "produccion"
      ],
      "type": "string",
      "description": "Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'."
    },
    "claveAcceso": {
      "type": "string",
      "pattern": "^\\d+$",
      "maxLength": 49,
      "minLength": 49
    }
  }
}
sri_consultar_autorizacion annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

Too few checks for a percentage yet (2 of 2 answered).

  1. 2026-12-02: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
579 ms
95th percentile latency
579 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 579 ms · metadata changed · 5 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http sri-ecuador-mcp https://mcp.oneprotech.com/sri/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add sri-ecuador-mcp --url https://mcp.oneprotech.com/sri/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable sri-ecuador-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "sri-ecuador-mcp": {
      "url": "https://mcp.oneprotech.com/sri/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "sri-ecuador-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.oneprotech.com/sri/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start sri-ecuador-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "sri-ecuador-mcp": {
      "type": "http",
      "url": "https://mcp.oneprotech.com/sri/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http sri-ecuador-mcp https://mcp.oneprotech.com/sri/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.oneprotech.com/sri/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "sri-ecuador-mcp": {
      "serverUrl": "https://mcp.oneprotech.com/sri/mcp"
    }
  }
}

Let your agent find its tools

Find servers like SRI Ecuador MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.