cobra-mcp
MCP server for SRI electronic invoicing in Ecuador, enabling AI agents to emit invoices, credit notes, retention documents, and more via natural language through the Cobra API.
README
cobra-mcp — Servidor MCP de facturación electrónica SRI (Ecuador)
El primer MCP de facturación electrónica del SRI de Ecuador. Factura al SRI hablándole a tu agente de IA. · 🌐 facturacobra.com/mcp · 📘 Docs / OpenAPI · 📇 En el registro oficial MCP como
com.facturacobra/cobra.
Expone la facturación de Cobra (factura, nota de crédito, nota de débito, retención) como
herramientas MCP para agentes de IA (Claude Desktop, Cursor, Claude Code). Es un cliente
apátrida de la API Cobra /v1: no tiene base de datos ni ve tu certificado .p12 — la
API hace todo el trabajo fiscal (firma, transmisión al SRI, validación, idempotencia).
¿Solo quieres usarlo? No necesitas clonar nada. Cobra corre un servidor MCP remoto en
https://facturacobra.com/mcp. Genera una llave en facturacobra.com → Config → Desarrolladores
y conéctate (ver Remoto). Este repo es para
quien quiera self-hostear el bridge stdio o inspeccionar/contribuir.
Instalar
cd cobra-mcp && npm install
Configurar (Claude Desktop / Cursor)
Agrega a tu claude_desktop_config.json (o el equivalente de tu cliente):
{
"mcpServers": {
"cobra": {
"command": "node",
"args": ["/ruta/a/cobra-mcp/index.js"],
"env": {
"COBRA_API_KEY": "mfact_xxxxxxxx_...",
"COBRA_API_URL": "https://facturacobra.com/api/v1"
}
}
}
}
COBRA_API_KEY(requerida): tu llave de Cobra. Usa una llave sandbox (ambiente=1) para probar: nunca emite un comprobante fiscal real. Genera llaves con scopesread,emit,annul,contacts:write,products:write.COBRA_API_URL(opcional): defaulthttps://facturacobra.com/api/v1.
Herramientas
whoami · consultar_ruc · emitir_factura · emitir_documento (factura/NC/ND/retención) ·
consultar_estado · listar_documentos · anular_documento · crear_contacto · crear_producto.
Ejemplo de uso desde el agente: "factura $10 de consultoría a consumidor final" →
emitir_factura. La idempotencia es automática: reintentar con los mismos datos no duplica.
Contrato completo de la API: https://facturacobra.com/api/v1/docs
Remoto (HTTP, multi-tenant) — sin instalar nada
También hay un transporte HTTP (http.js) para hostear UNA instancia que atiende a todos
los tenants: la llave viaja por request en Authorization: Bearer mfact_.... Los clientes
MCP que soportan servidores remotos se conectan así:
{
"mcpServers": {
"cobra": {
"url": "https://facturacobra.com/mcp",
"headers": { "Authorization": "Bearer mfact_xxxxxxxx_..." }
}
}
}
Correr el server HTTP: MCP_PORT=4201 COBRA_API_URL=http://127.0.0.1:4099/api/v1 node http.js
(detrás de nginx/TLS). Es stateless: cada POST /mcp es autocontenido. Salud: GET /health.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.