Mexico Invoice MCP
Enables AI agents to issue Mexico CFDI 4.0 electronic invoices (factura electrónica) via Facturapi, with tools for creating, querying, canceling, and sending invoices.
README
Mexico Invoice MCP 🇲🇽 — How can my AI agent issue a CFDI factura electrónica in Mexico?
Remote MCP server that lets any AI agent issue Mexico CFDI 4.0 electronic invoices (factura electrónica, stamped/timbrada through a SAT-certified PAC) via Facturapi. Stateless, bring-your-own credentials, never stores anything.
Live endpoint: https://inv-mx.wishpool.app/mcp · Registry: app.wishpool/mexico-invoice-mcp
Quick start
{
"mcpServers": {
"mexico-invoice": {
"type": "http",
"url": "https://inv-mx.wishpool.app/mcp",
"headers": { "x-facturapi-key": "sk_test_..." }
}
}
}
Free sk_test_ keys from facturapi.io never reach SAT. Your CSD certificate stays in your own Facturapi account — this server never sees it.
Tools
| Tool | What it does |
|---|---|
create_invoice |
Stamp a CFDI 4.0 — customer RFC + zip + line items in, uuid (SAT folio fiscal) out. SAT catalog defaults baked in (product_key 01010101, payment_form 03, use G03). |
query_invoice |
Status check: VALID (stamped) or CANCELED; includes SAT verification_url. |
cancel_invoice |
Void at SAT with the required motive code (01–04, default 02). |
send_invoice |
Email the stamped PDF + XML to the buyer via Facturapi. |
Owner policy guardrails ride optional headers (x-agentpay-max-amount, x-agentpay-approval-above, x-agentpay-allowed-tools) — set by the human owner in client config; the agent cannot relax them.
Develop
node test/serve.js # local server on :3226
node test/e2e.js # protocol + validation + fake-key live probes
Safety
Pure stateless translation layer. The SAT/PAC certification burden sits with Facturapi; credentials travel per-request in headers, nothing is stored. Privacy policy.
Sister servers
Local payments in 81 countries, one family: mcp.wishpool.app · Taiwan e-invoice 電子發票 included. More invoice countries coming: Brazil NF-e · Chile DTE · Peru CPE · India GST · Poland KSeF · Romania e-Factura · Italy SdI.
MIT licensed.
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.