mcp-brazil-erp
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_cnpjA | Check a CNPJ's check digits and format it (accepts masked, digits-only and the new alphanumeric format). Offline. |
| validate_cpfA | Check a CPF's check digits and format it. Offline; does not query any registry. |
| lookup_cnpjB | Public registry data of a company (legal name, status, main activity, address) via BrasilAPI. |
| parse_boletoA | Decode a boleto linha digitável: 47 digits (bank) or 48 digits starting with 8 (utilities/taxes). Returns bank, amount, due date (handles the 2025 due-factor reset) and check-digit results. |
| parse_nfe_keyA | Decode a 44-position NF-e/NFC-e access key: UF, year/month, issuer CNPJ, model, series, number, emission type, check digit. |
| lookup_cepB | Address for a Brazilian postal code (CEP) via BrasilAPI. |
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 targets a distinct artifact and action: validate_* performs offline check-digit verification, lookup_* queries a remote registry, and parse_* decodes a fixed-length Brazilian payment/fiscal string. The validate_cnpj vs. lookup_cnpj pair is explicitly separated by the 'Offline'/'via BrasilAPI' language, and parse_boleto vs. parse_nfe_key differ by input format (47/48 vs. 44 digits).
All six tools follow a strict verb_noun snake_case pattern with a small, reused verb vocabulary (validate_, lookup_, parse_). No casing or style deviations.
Six tools is well within the ideal range and each one maps to a concrete Brazilian ERP validation/lookup/parsing need. Nothing looks redundant or filler.
CNPJ has both validation and registry lookup, CPF is validated, boletos and NF-e keys are decoded, and CEP resolves to an address — covering the common ERP intake paths. Gaps include no offline CEP format validation, no inscrição estadual (state registration) handling, and no boleto/NF-e emission or encoding counterparts, though agents can work around these.