mcp-cfdi-mx
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mx__get_supported_scopeA | Return the CFDI document types, complementos, and sealing modes this package supports. Reflects Phase 1 scope: CFDI 4.0 Ingreso + Egreso + Complemento de Pagos
2.0, PAC-agnostic sealing. Build ( Returns:
A |
| mx__build_cfdiA | Build a well-formed, unsealed CFDI 4.0
The output XML omits For Returns a dict with:
|
| mx__build_pagoA | Build a well-formed, unsealed Complemento de Pagos 2.0 CFDI. Composes the fixed single-
The output XML omits Returns a dict with:
|
| mx__validate_cfdiA | Validate a CFDI 4.0 document against the official SAT XSD schemas. Always validates the root This is XSD-only — business-rule checks from SAT's Matriz de errores
( Returns a dict with:
|
| mx__seal_cfdiA | Seal (or deliberately not seal) a CFDI 4.0 Comprobante, PAC-agnostic.
CSD key material is always a file path, never accepted as plaintext key content in a tool argument. Returns a dict with:
|
| mx__verify_tfdA | Parse a Timbre Fiscal Digital 1.1 stamp and, optionally, verify SelloSAT. Always returns the TFD's own attributes ( Returns a dict with:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a distinct pipeline stage: build (cfdi/pago), seal, validate, verify, and scope introspection. The only adjacent pair, build_cfdi and build_pago, is explicitly differentiated by document type (Ingreso/Egreso vs Complemento de Pagos). No overlapping purposes remain.
All tools use a consistent namespace prefix (mx__) plus a snake_case verb_noun pattern: build_cfdi, seal_cfdi, validate_cfdi, build_pago, verify_tfd, get_supported_scope. No mixing of conventions.
Six tools cleanly cover the described Phase-1 CFDI lifecycle without redundancy. Each tool earns its place and the count is well within the 3-15 ideal range.
The surface covers building (both document types), sealing, XSD validation, and TFD verification, which is a coherent end-to-end flow for the stated scope. PAC submission transport and later-phase complementos are deliberately absent, a minor gap agents must work around externally.