World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Spanish e-invoicing MCP server: VERI*FACTU, Facturae/FACe, SII, Crea y Crece B2B.
作者提供的原文
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 7/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 19/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 MCP Facturacion Electronica Es。按照 https://mcp.popnx.com/i/cmendezs-mcp-facturacion-electronica-es.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月17日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server MCP Facturacion Electronica Es,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "facturacion-electronica-es": { "command": "uvx", "args": [ "mcp-facturacion-electronica-es" ], "env": { "AEAT_ENV": "your-value", "AEAT_CERTIFICATE_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) AEAT_CERTIFICATE_PASSWORD, AEAT_ENV 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Facturacion Electronica Es 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
AEAT_ENV AEAT 端点的目标环境:'sandbox' 或 'production'。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
SettingsDeveloperEdit Config
{
"mcpServers": {
"facturacion-electronica-es": {
"command": "uvx",
"args": [
"mcp-facturacion-electronica-es"
],
"env": {
"AEAT_ENV": "your-value",
"AEAT_CERTIFICATE_PASSWORD": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 MCP Facturacion Electronica Es 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 MCP Facturacion Electronica Es,或回答中出现 MCP Facturacion Electronica Es 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
AEAT_CERTIFICATE_PATH FNMT-RCM PKCS12 证书(.p12 / .pfx)的文件系统路径,用于向 AEAT 进行 MTLS 提交(VERIFACTU 和 SII),以及经 JWS 签名的 FACe 提交。 AEAT_NIF 纳税人 NIF,用作提交 AEAT 数据的默认提交人身份。 FACE_ENV FACe API 的目标环境:'sandbox' 或 'production'。 LOG_LEVEL 从 mcp-einvoicing-core 继承的日志级别:DEBUG、INFO(默认)、WARNING 或 ERROR 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 MCP Facturacion Electronica Es
MCP Facturacion Electronica Es 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 MCP Facturacion Electronica Es 的应用
B · 其他 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 MCP Facturacion Electronica Es 的密钥(在开发者网站创建) · 需要填写 1 项设置(AEAT_ENV) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server MCP Facturacion Electronica Es,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user facturacion-electronica-es --env AEAT_ENV=your-value --env AEAT_CERTIFICATE_PASSWORD=your-value -- uvx mcp-facturacion-electronica-es 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) AEAT_CERTIFICATE_PASSWORD, AEAT_ENV 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Facturacion Electronica Es 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
AEAT_ENV AEAT 端点的目标环境:'sandbox' 或 'production'。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user facturacion-electronica-es --env AEAT_ENV=your-value --env AEAT_CERTIFICATE_PASSWORD=your-value -- uvx mcp-facturacion-electronica-es按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 MCP Facturacion Electronica Es 在列表中并显示已连接
用 MCP Facturacion Electronica Es 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 MCP Facturacion Electronica Es,或回答中出现 MCP Facturacion Electronica Es 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
AEAT_CERTIFICATE_PATH FNMT-RCM PKCS12 证书(.p12 / .pfx)的文件系统路径,用于向 AEAT 进行 MTLS 提交(VERIFACTU 和 SII),以及经 JWS 签名的 FACe 提交。 AEAT_NIF 纳税人 NIF,用作提交 AEAT 数据的默认提交人身份。 FACE_ENV FACe API 的目标环境:'sandbox' 或 'production'。 LOG_LEVEL 从 mcp-einvoicing-core 继承的日志级别:DEBUG、INFO(默认)、WARNING 或 ERROR 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 MCP Facturacion Electronica Es 的密钥(在开发者网站创建) · 需要填写 1 项设置(AEAT_ENV) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server MCP Facturacion Electronica Es,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "facturacion-electronica-es": { "command": "uvx", "args": [ "mcp-facturacion-electronica-es" ], "env": { "AEAT_ENV": "your-value", "AEAT_CERTIFICATE_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) AEAT_CERTIFICATE_PASSWORD, AEAT_ENV 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Facturacion Electronica Es 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
AEAT_ENV AEAT 端点的目标环境:'sandbox' 或 'production'。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 MCP Facturacion Electronica Es 的设置中,AEAT_CERTIFICATE_PASSWORD, AEAT_ENV 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 MCP Facturacion Electronica Es 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 MCP Facturacion Electronica Es,或回答中出现 MCP Facturacion Electronica Es 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
AEAT_CERTIFICATE_PATH FNMT-RCM PKCS12 证书(.p12 / .pfx)的文件系统路径,用于向 AEAT 进行 MTLS 提交(VERIFACTU 和 SII),以及经 JWS 签名的 FACe 提交。 AEAT_NIF 纳税人 NIF,用作提交 AEAT 数据的默认提交人身份。 FACE_ENV FACe API 的目标环境:'sandbox' 或 'production'。 LOG_LEVEL 从 mcp-einvoicing-core 继承的日志级别:DEBUG、INFO(默认)、WARNING 或 ERROR 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 MCP Facturacion Electronica Es 的密钥(在开发者网站创建) · 需要填写 1 项设置(AEAT_ENV) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server MCP Facturacion Electronica Es,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "facturacion-electronica-es": { "type": "stdio", "command": "uvx", "args": [ "mcp-facturacion-electronica-es" ], "env": { "AEAT_ENV": "your-value", "AEAT_CERTIFICATE_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) AEAT_CERTIFICATE_PASSWORD, AEAT_ENV 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Facturacion Electronica Es 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
AEAT_ENV AEAT 端点的目标环境:'sandbox' 或 'production'。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 MCP Facturacion Electronica Es 的设置中,AEAT_CERTIFICATE_PASSWORD, AEAT_ENV 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 MCP Facturacion Electronica Es 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 MCP Facturacion Electronica Es,或回答中出现 MCP Facturacion Electronica Es 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
AEAT_CERTIFICATE_PATH FNMT-RCM PKCS12 证书(.p12 / .pfx)的文件系统路径,用于向 AEAT 进行 MTLS 提交(VERIFACTU 和 SII),以及经 JWS 签名的 FACe 提交。 AEAT_NIF 纳税人 NIF,用作提交 AEAT 数据的默认提交人身份。 FACE_ENV FACe API 的目标环境:'sandbox' 或 'production'。 LOG_LEVEL 从 mcp-einvoicing-core 继承的日志级别:DEBUG、INFO(默认)、WARNING 或 ERROR 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user facturacion-electronica-es --env AEAT_ENV=your-value --env AEAT_CERTIFICATE_PASSWORD=your-value -- uvx mcp-facturacion-electronica-esClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"facturacion-electronica-es": {
"command": "uvx",
"args": [
"mcp-facturacion-electronica-es"
],
"env": {
"AEAT_ENV": "your-value",
"AEAT_CERTIFICATE_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"facturacion-electronica-es": {
"command": "uvx",
"args": [
"mcp-facturacion-electronica-es"
],
"env": {
"AEAT_ENV": "your-value",
"AEAT_CERTIFICATE_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"facturacion-electronica-es": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-facturacion-electronica-es"
],
"env": {
"AEAT_ENV": "your-value",
"AEAT_CERTIFICATE_PASSWORD": "your-value"
}
}
}
}AEAT_ENV 必填 envAEAT_CERTIFICATE_PATH envAEAT_CERTIFICATE_PASSWORD 机密 必填 envAEAT_NIF envFACE_ENV envLOG_LEVEL env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日
注册名称已通过 GitHub 账户 cmendezs 验证,该账户拥有此仓库
代码最后更新于3天前
使用 Apache-2.0
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
尚未检查
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/cmendezs-mcp-facturacion-electronica-es)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:AEAT_CERTIFICATE_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于3天前,最新版本(0.10.2)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
Validate oh-my-posh configurations and segment snippets against the official schema.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
| 本项 MCP Facturacion Electronica Es | World Monitor | openstatus | Oh My Posh Validator | Strata | Jitsu | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 3/3 | 4/4 | 4/4 | 4/4 | 1/4 | 4/4 |
| 许可证 | Apache-2.0 | AGPL-3.0 | AGPL-3.0 | MIT | Apache-2.0 | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
mcp-facturacion-electronica-es is an MCP (Model Context Protocol) server specialized in Spanish e-invoicing. It provides tools to generate, validate, and submit electronic invoices under the six coexisting systems in Spain: VERI\*FACTU, Facturae/FACe, SII, TicketBAI (Basque Country), NaTicket (Navarre), and the B2B obligations of Ley 18/2022 "Crea y Crece". The server is built on mcp-einvoicing-core, the shared base library used by mcp-facture-electronique-fr (France, XP Z12-013) and mcp-einvoicing-be (Belgium, Peppol BIS 3.0), which provides common models, validation abstractions, XML utilities, and the exception hierarchy. mcp-einvoicing-core is installed automatically as a transitive dependency, no additional steps are required.
Spain operates one of the most complex e-invoicing landscapes in Europe, with six overlapping systems that apply depending on taxpayer size, sector, and region. VERI\*FACTU (Royal Decree 1007/2023, Order HAC/1177/2024) is the forthcoming mandatory real-time invoice registry for non-SII taxpayers, with hard deadlines in January and July 2027 (RD-ley 15/2025). SII (Suministro Inmediato de Informacion, Immediate Information Supply) already applies to large taxpayers (>6M EUR turnover). The Basque Country runs TicketBAI and Navarre runs NaTicket, both independent of the national AEAT framework. B2G invoicing via Facturae XML on the FACe portal has been mandatory since 2015 (Ley 25/2013).
pip install mcp-facturacion-electronica-es
Without prior installation, using uvx:
uvx mcp-facturacion-electronica-es
git clone https://github.com/cmendezs/mcp-facturacion-electronica-es.git
cd mcp-facturacion-electronica-es uv sync --all-extras
All configuration is done through environment variables or a .env file.
| Variable | Description | Required |
|---|---|---|
AEAT_ENV | sandbox or production | Yes |
AEAT_CERTIFICATE_PATH | Path to FNMT-RCM PKCS#12 certificate | For submission |
AEAT_CERTIFICATE_PASSWORD | Certificate password | For submission |
AEAT_NIF | Taxpayer NIF | For submission |
| Variable | Description | Required |
|---|---|---|
FACE_ENV | sandbox or production | Yes |
FACe authenticates via JWS using the same AEAT_CERTIFICATE_PATH / AEAT_CERTIFICATE_PASSWORD certificate as VERI\*FACTU/SII (see the AEAT section above); no separate FACe credentials are required.
| Variable | Description | Required |
|---|---|---|
TICKETBAI_ENV | sandbox or production | Yes |
TICKETBAI_CERTIFICATE_PATH | Provincial signing certificate path | Yes |
TICKETBAI_CERTIFICATE_PASSWORD | Certificate password | Yes |
mcp-einvoicing-core)| Variable | Description | Default |
|---|---|---|
LOG_LEVEL | DEBUG, INFO, WARNING, ERROR | INFO |
To use this server with Claude, add this configuration to your claude_desktop_config.json file:
{
"mcpServers": { "facturacion-es": { "command": "uvx", "args": ["mcp-facturacion-electronica-es"], "env": { "AEAT_ENV": "sandbox", "AEAT_CERTIFICATE_PATH": "/path/to/cert.p12", "AEAT_CERTIFICATE_PASSWORD": "certificate-password" } } } }
Cursor supports MCP servers via stdio. Add the configuration in:
~/.cursor/mcp.json.cursor/mcp.json{
"mcpServers": { "facturacion-es": { "command": "uvx", "args": ["mcp-facturacion-electronica-es"], "env": { "AEAT_ENV": "sandbox", "AEAT_CERTIFICATE_PATH": "/path/to/cert.p12", "AEAT_CERTIFICATE_PASSWORD": "certificate-password" } } } }
Reload the Cursor window (Ctrl+Shift+P then *Reload Window*) to apply the changes.
Kiro supports MCP servers via its dedicated configuration file. Two levels are available:
~/.kiro/settings/mcp.json.kiro/settings/mcp.json{
"mcpServers": { "facturacion-es": { "command": "uvx", "args": ["mcp-facturacion-electronica-es"], "env": { "AEAT_ENV": "sandbox", "AEAT_CERTIFICATE_PATH": "/path/to/cert.p12", "AEAT_CERTIFICATE_PASSWORD": "certificate-password" }, "disabled": false, "autoApprove": [] } } }
The file is automatically reloaded on save. You can also open the config via the command palette (Cmd+Shift+P / Ctrl+Shift+P) then *MCP*.
Kiro security tip: rather than writing secrets in plain text, use the syntax
"AEAT_CERTIFICATE_PASSWORD": "${AEAT_CERTIFICATE_PASSWORD}", Kiro resolves shell environment variables at startup.
es__generate_verifactu_recordGenerates a tamper-proof invoice record (Orden HAC/1177/2024) with SHA-256 Huella chaining that links it to the previous record.
| Parameter | Type | Required | Description |
|---|---|---|---|
invoice | InvoiceDocument | Yes | Core invoice model (seller, buyer, lines, VAT) |
previous_hash | string | No | SHA-256 Huella of the preceding record (null = first in chain) |
software_id | string | Yes | IDSistemaInformatico of the certified software |
software_nif | string | Yes | NIF of the software manufacturer |
invoice_type | string | Yes | F1, F2, R1-R5 or F3 |
{
"tool": "es__generate_verifactu_record", "arguments": { "invoice": { "date": "2025-03-15", "number": "2025-0042", "currency": "EUR", "seller": { "tax_id": { "country_code": "ES", "identifier": "B12345678" }, "name": "Empresa SL" }, "buyer": { "tax_id": { "country_code": "ES", "identifier": "A98765432" }, "name": "Cliente SA" }, "lines": [{ "line_number": 1, "description": "Servicios", "quantity": 10, "unit_price": 100.00, "vat_rate": 21.0 }] }, "previous_hash": "3C4A9B...", "software_id": "SW-001", "software_nif": "B87654321", "invoice_type": "F1" } }
The
Huellachaining algorithm (SHA-256 over the keyedcampo=valor&canonical string) is
confirmed byte-for-byte against AEAT's own huella specification and its worked examples
(
specs/verifactu/documentation/Veri-Factu_especificaciones_huella_hash_registros.pdf).
⚠️ Still pending: full XSD v1.0 validation against a live AEAT test-environment acknowledgement.
es__validate_verifactu_recordValidates a VERI\*FACTU XML record against the official XSD published with Orden HAC/1177/2024 (BOE-A-2024-22138).
| Parameter | Type | Required | Description |
|---|---|---|---|
xml | string | Yes | Raw VERI\*FACTU XML record |
schema_version | string | No | Schema version (default: "1.0") |
{ "tool": "es__validate_verifactu_record", "arguments": { "xml": "<RegistroFacturacion>...</RegistroFacturacion>" } }
Structural checks now branch correctly on
RegistroAltavs.RegistroAnulacion(a prior version
false-flagged valid
RegistroAnulaciondocuments as missingTipoFactura/CuotaTotal/ImporteTotal,
fields that only apply to
RegistroAlta). Full XSD-mode validation (SuministroLR.xsd, bundled
under
resources/verifactu/) requires network access at runtime — it imports the W3C xmldsig-core
schema by remote URL — and falls back to the structural checks above when that import can't
resolve.
es__submit_verifactu_to_aeatSubmits a signed VERI\*FACTU record to the AEAT real-time endpoint via MTLS (FNMT-RCM Class 1 certificate) or, if EINVOICING_SIGNER_SOCKET is configured, via the signer microservice. Respects AEAT_ENV=sandbox|production. The submission endpoint (.../SistemaFacturacion/VerifactuSOAP) is confirmed from the official AEAT WSDL and shared by both the alta/anulación submission and the es__query_verifactu_status query operation.
| Parameter | Type | Required | Description |
|---|---|---|---|
xml | string | Yes | Signed VERI\*FACTU XML |
nif | string | Yes | Sender NIF |
{ "tool": "es__submit_verifactu_to_aeat", "arguments": { "xml": "<RegistroFacturacion>...</RegistroFacturacion>", "nif": "B12345678" } }
The response includes a chain object implementing the accepted-only chain contract: chain.safe_to_chain_from (the submitted record's own emisor_nif/num_serie/fecha/huella) is populated only when AEAT's EstadoRegistro is Correcto or AceptadoConErrores — both mean the record was actually stored under that Huella. Otherwise safe_to_chain_from is null with an explicit warning not to use this record's Huella as the next record's previous_hash, or (for a deferred result) a note to call es__query_verifactu_status first.
es__generate_qr_verifactuGenerates the mandatory VERI\*FACTU QR code (HAC/1177/2024 Art. 10) as a base64-encoded PNG. Encodes the AEAT verification URL with the text "Factura verificable en la sede electronica de la AEAT". Candidate for promotion to mcp-einvoicing-core (QR generation). URL format (host, path, nif/numserie/fecha/importe query parameters, and per-parameter URL-encoding) is confirmed against the official AEAT QR specification (specs/verifactu/documentation/DetalleEspecificacTecnCodigoQRfactura.pdf); the URL switches between the sandbox and production ValidarQR host based on AEAT_ENV.
| Parameter | Type | Required | Description |
|---|---|---|---|
nif | string | Yes | Issuer NIF |
invoice_number | string | Yes | NumSerieFactura |
invoice_date | string | Yes | FechaExpedicionFactura (YYYY-MM-DD) |
total_amount | number | Yes | Invoice total including VAT |
size_px | integer | No | QR size in pixels (default: 200) |
{ "tool": "es__generate_qr_verifactu", "arguments": { "nif": "B12345678", "invoice_number": "2025-0042", "invoice_date": "2025-03-15", "total_amount": 1210.00 } }
es__cancel_verifactu_recordGenerates a VERI\*FACTU cancellation record (RegistroAnulacion, TipoHuella=01) chained to the current fingerprint sequence. Both the anulación Huella (SHA-256 over IDEmisorFacturaAnulada/NumSerieFacturaAnulada/FechaExpedicionFacturaAnulada/Huella/ FechaHoraHusoGenRegistro — a distinct field set from RegistroAlta's, not a reduced copy of it) and the top-level block's element names are confirmed against the official AEAT huella specification and SuministroInformacion.xsd.
| Parameter | Type | Required | Description |
|---|---|---|---|
original_invoice_number | string | Yes | NumSerieFactura to cancel |
original_invoice_date | string | Yes | FechaExpedicionFactura (YYYY-MM-DD) |
issuer_nif | string | Yes | Issuer NIF |
previous_hash | string | Yes | Huella of the last record in the chain |
{ "tool": "es__cancel_verifactu_record", "arguments": { "original_invoice_number": "2025-0042", "original_invoice_date": "2025-03-15", "issuer_nif": "B123