Sponsored by Deepsite.site

Keycae Mcp

Created By
AMKR19 days ago
Argentine electronic invoicing (facturación electrónica) MCP Server for ARCA/AFIP. Emit invoices, manage credentials, check delegations, and look up taxpayers — all directly from your AI agent. 🔥 10 tools ready: emit_invoice, get_invoice, list_invoices, list_credentials, create_credential, check_delegation, request_delegation, lookup_taxpayer, get_billing_status, keycae_health. ⚡ Zero setup: npx keycae-mcp and your agent can issue legal invoices in Argentina with CAE, PDF, and QR code.
Content

keycae-mcp 🔌

npm version npm downloads License: MIT AMKRS3/keycae-mcp MCP server

MCP Server for KeyCAE.arArgentine electronic invoicing (facturación electrónica) with ARCA/AFIP.

Let AI agents emit invoices, manage credentials, and handle delegations directly.

⚡ Quick Start

npx keycae-mcp

That's it. Your AI agent now has 12 tools for Argentine invoicing.

☁️ Remote MCP Server (no installation required)

KeyCAE also exposes a native remote MCP server over SSE — no npx, no local setup. Connect directly from any cloud-based AI agent or MCP client that supports remote servers.

Endpoint: https://keycae.ar/v1/mcp/sse

Authentication: Get your API key at keycae.ar/dashboard

Claude Desktop (remote)

{
  "mcpServers": {
    "keycae-remote": {
      "url": "https://keycae.ar/v1/mcp/sse",
      "headers": {
        "Authorization": "Bearer sk_live_..."
      }
    }
  }
}

Cursor / Windsurf (remote)

{
  "mcpServers": {
    "keycae-remote": {
      "url": "https://keycae.ar/v1/mcp/sse?apiKey=sk_live_..."
    }
  }
}

💡 The remote connector is listed on Glama — browse it there to connect with one click from supported clients.

⚠️ Requisito: Delegación en ARCA

ANTES de facturar, debés delegar la facturación electrónica al representante de KeyCAE en ARCA:

  1. Ingresá a ARCA Clave Fiscal
  2. Buscá el servicio "Facturación Electrónica" (ws://wsfe)
  3. Delegá al CUIT representante: 20254459306 (Amilcar Waldemar Serra)
  4. Aceptá la relación de representación

Sin esta delegación, no podés emitir facturas. El MCP server te permite verificar el estado con check_delegation y solicitarla con request_delegation.

🔧 Configuration (local via npx)

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "keycae": {
      "command": "npx",
      "args": ["-y", "keycae-mcp"],
      "env": {
        "KEYCAE_API_KEY": "sk_live_..."
      }
    }
  }
}

Cursor / Windsurf

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "keycae": {
      "command": "npx",
      "args": ["-y", "keycae-mcp"],
      "env": {
        "KEYCAE_API_KEY": "sk_live_..."
      }
    }
  }
}

🛠️ Available Tools

ToolDescription
emit_invoiceEmit an Argentine electronic invoice (A, B, C, M, E)
get_invoiceGet details of a previously emitted invoice
list_invoicesList recent invoices
list_credentialsList digital certificates for the CUIT
create_credentialGenerate RSA keypair + CSR for ARCA
check_delegationCheck ARCA delegation status
request_delegationRequest ARCA delegation for invoicing
lookup_taxpayerLook up taxpayer by CUIT
get_billing_statusCheck billing plan and usage
keycae_healthHealth check
list_puntos_de_ventaList available sales points for the CUIT
check_emission_capabilityCheck if the CUIT can emit a given invoice type

💡 Example Usage

1. Check if ready to invoice

User: ¿Puedo facturar con el CUIT 20254459306?

Agent calls check_delegation → confirms delegation is active, then list_credentials → confirms certificate is valid.

2. Request delegation (if not done)

User: Necesito delegar mi facturación a KeyCAE

Agent calls request_delegation → starts the delegation process.

3. Emit a Factura B

User: Emití una factura B al CUIT 20333444555 por $15.000 ARS por "Servicios de consulting"

Agent calls emit_invoice:

{
  "cuit_emisor": "20254459306",
  "punto_de_venta": 3,
  "tipo_comprobante": "B",
  "receptor": { "tipo_doc": "CUIT", "nro_doc": "20333444555" },
  "conceptos": [{ "descripcion": "Servicios de consulting", "precio": 15000 }]
}

📋 Invoice Types

TypeDescriptionWhen to use
AIVA discriminadoRI → RI
BIVA incluidoRI → Consumidor Final
CExentoNo genera IVA
MMonotributoMonotributo emitter
EExportaciónInternational clients

📄 License

MIT

Server Config

{
  "mcpServers": {
    "keycae": {
      "command": "npx",
      "args": [
        "-y",
        "keycae-mcp"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Playwright McpPlaywright MCP server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.