keycae-mcp
Argentine electronic invoicing (facturación electrónica) MCP Server for ARCA/AFIP. Emit invoices, manage credentials, check delegations, and look up taxpayers. 10 tools.
README
keycae-mcp 🔌
MCP Server for KeyCAE.ar — Argentine 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 10 tools for Argentine invoicing.
⚠️ Requisito: Delegación en ARCA
ANTES de facturar, debés delegar la facturación electrónica al representante de KeyCAE en ARCA:
- Ingresá a ARCA Clave Fiscal
- Buscá el servicio "Facturación Electrónica" (ws://wsfe)
- Delegá al CUIT representante: 20254459306 (Amilcar Waldemar Serra)
- 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
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
| Tool | Description |
|---|---|
emit_invoice |
Emit an Argentine electronic invoice (A, B, C, M, E) |
get_invoice |
Get details of a previously emitted invoice |
list_invoices |
List recent invoices |
list_credentials |
List digital certificates for the CUIT |
create_credential |
Generate RSA keypair + CSR for ARCA |
check_delegation |
Check ARCA delegation status |
request_delegation |
Request ARCA delegation for invoicing |
lookup_taxpayer |
Look up taxpayer by CUIT |
get_billing_status |
Check billing plan and usage |
keycae_health |
Health check |
💡 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
| Type | Description | When to use |
|---|---|---|
| A | IVA discriminado | RI → RI |
| B | IVA incluido | RI → Consumidor Final |
| C | Exento | No genera IVA |
| M | Monotributo | Monotributo emitter |
| E | Exportación | International clients |
🔗 Links
- 🌐 keycae.ar — API & Dashboard
- 📖 docs.keycae.ar — Documentation
- 📄 llms.txt — AI Agent Reference
- 🔌 mcp.so — MCP Directory
- 🤖 glama.ai — Glama Directory
📦 Related Packages
keycae-ts— TypeScript SDKkeycae-cli— CLI tool
📄 License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。