DF-e
io.github.mcp-dir/dfe-mcp
MCP server OK 12 tools
Brazilian SEFAZ e-invoices (NF-e, CT-e) issued against your company. A1 cert, DANFE PDF.
Technical sheet
- Author
- mcp-dir (registry namespace)
- Repository
- github.com/mcp-dir/dfe-mcp
- Site
- —
- Version
- 0.1.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://api.mcp.ai/p_dfe Streamable HTTP
- Tools
- 12
- Categories
- Productivity and documents
- Comparisons
- MCP servers for PDF
- Last updated
- 30 Aug 2026
- Published
- 30 Aug 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp)<a href="https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.mcp-dir/dfe-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp)<a href="https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp"><img src="https://latlas.dev/badge/fiche/io.github.mcp-dir/dfe-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://api.mcp.ai/p_dfe
- Last result
- OK 28 Nov 2026, 15:08
- Response time
- 570 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- mcp-ai 0.9.518
- Tools
- 12
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 15:08 | OK | 570 ms | 12 |
Exposed tools (12, from tools/list, 28 Nov 2026)
dfe_list_accounts
Lista os CNPJs conectados neste install (razão social, CNPJ e UF).
| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | no |
dfe_sincronizar
Puxa os documentos fiscais NOVOS emitidos contra este CNPJ (nota de fornecedor, evento, CT-e) — NFeDistribuicaoDFe. COMO USAR: chame com `ult_nsu: "0"` na primeira vez. A resposta traz `proximo_nsu` — passe ELE na chamada seguinte, sem alterar. Repita até `fim_da_fila: true`. PARE quando `fim_da_fila` for true. Continuar consultando depois disso é o que a SEFAZ pune com bloqueio de 1 hora no CNPJ. Cada documento vem com `completo`: true = XML íntegro da nota (dá para auditar em auditor_fiscal_auditar_nota); false = apenas RESUMO (chave, emitente, valor), que é o que a SEFAZ entrega enquanto o destinatário não fizer a manifestação. ATENÇÃO: este serviço NÃO devolve as notas que VOCÊ emitiu — só as recebidas. Para auditar a própria emissão, pegue o XML no seu ERP (ex.: omie_get_invoice_xml).
| Parameter | Type | Required | Description |
|---|---|---|---|
| ult_nsu | string | no | |
| forcar_nsu | boolean | no | |
| account | string | no |
dfe_consultar_nsu
Busca UM documento específico pelo NSU. Serve para recuperar um item que falhou na descompactação durante a sincronização — não para varrer a fila (isso é dfe_sincronizar).
| Parameter | Type | Required | Description |
|---|---|---|---|
| nsu | string | yes | |
| account | string | no |
dfe_consultar_chave
Busca um documento pela chave de acesso de 44 dígitos. LIMITES: só documentos que chegaram ao Ambiente Nacional nos ÚLTIMOS 90 DIAS, e nunca a nota em que este CNPJ é o EMITENTE (a SEFAZ não devolve a própria emissão).
| Parameter | Type | Required | Description |
|---|---|---|---|
| chave | string | yes | |
| account | string | no |
dfe_gerar_danfe
Gera o DANFE (o PDF da nota) a partir do XML. A SEFAZ distribui XML, não PDF, então esta é a representação gráfica para imprimir, anexar ou mandar pro cliente. COMO USAR: passe em `xml` o conteúdo do documento que veio em dfe_sincronizar (campo `documentos[].xml`). Assim NÃO gasta consulta na SEFAZ. Se não tiver o XML em mãos, use `chave` ou `nsu` — mas aí gasta uma das consultas da hora. SÓ FUNCIONA com documento `completo: true`. Documento `resumo` não tem os itens, e sem itens não existe DANFE: o XML completo só sai depois da manifestação do destinatário. A resposta traz um link de download em `files[]`, entregue ele ao usuário. Não tente ler o conteúdo do arquivo, é binário.
| Parameter | Type | Required | Description |
|---|---|---|---|
| xml | string | no | |
| chave | string | no | |
| nsu | string | no | |
| account | string | no |
dfe_orcamento
Quantas consultas ainda cabem nesta hora para este CNPJ, e se ele está bloqueado. Não consome consulta. Chame isto antes de uma carga grande — o limite da SEFAZ é por CNPJ e conta também o que outros sistemas do cliente consultarem.
| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | no |
show_version
Show the current MCP platform and adapter versions.
No parameters.
report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
| Parameter | Type | Required | Description |
|---|---|---|---|
| message | string | yes | |
| context | string | no | |
| conversation | string | no |
connect
Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
No parameters.
toolkit_info
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
No parameters.
marketplace
The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a…
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "search" | "describe" | "install" | "uninstall" | "subscribe" | "cancel" | "resume" | "report_bug" … | no | |
| query | string | no | |
| mcp_id | string | no | |
| limit | number | no | |
| tier_slug | string | no | |
| immediate | boolean | no | |
| cancel_reason | enum: "too_expensive" | "missing_features" | "switched_service" | "unused" | "customer_service" | "too_complex" | "low_quality" | "other" | no | |
| cancel_comment | string | no | |
| message | string | no | |
| report_context | string | no | |
| conversation | string | no | |
| request_name | string | no | |
| request_details | string | no | |
| tool_id | string | no | |
| arguments | string | no | |
| prompt_slug | string | no | |
| prompt_vars | string | no | |
| prompt_category | string | no | |
| prompt_tool | string | no | |
| prompt_title | string | no | |
| prompt_description | string | no | |
| prompt_body | string | no | |
| prompt_targets | array<enum: "claude" | "chatgpt" | "cursor" | "lovable"> | no |
authenticate
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer ` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: " " } after the user pastes, or with no args to get the link.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | no |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api.mcp.ai/p_dfe. Formats taken from each client’s documentation.
claude mcp add --transport http dfe-mcp https://api.mcp.ai/p_dfeCustomize > Connectors > + Add > Add custom connector ; Name : dfe-mcp ; URL : https://api.mcp.ai/p_dfechatgpt.com/plugins > + > Add custom MCP server ; Name : dfe-mcp ; Server URL : https://api.mcp.ai/p_dfe ; Create as a plugin{
"mcpServers": {
"dfe-mcp": {
"url": "https://api.mcp.ai/p_dfe"
}
}
}{
"mcpServers": {
"dfe-mcp": {
"type": "http",
"url": "https://api.mcp.ai/p_dfe",
"tools": ["*"]
}
}
}{
"mcpServers": {
"dfe-mcp": {
"url": "https://api.mcp.ai/p_dfe"
}
}
}{
"mcpServers": {
"dfe-mcp": {
"httpUrl": "https://api.mcp.ai/p_dfe"
}
}
}[mcp_servers.dfe-mcp]
url = "https://api.mcp.ai/p_dfe"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
DF-e · L’Atlas · Tested on
[DF-e — L’Atlas](https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.