MCP server

DF-e

io.github.mcp-dir/dfe-mcp

MCP server OK 12 tools

Get a review See pricing

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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.mcp-dir/dfe-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp)
HTML
<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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.mcp-dir/dfe-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp)
HTML
<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

DateResultResponseTools
28 Nov 2026, 15:08OK570 ms12

Exposed tools (12, from tools/list, 28 Nov 2026)

dfe_list_accounts

Lista os CNPJs conectados neste install (razão social, CNPJ e UF).

ParameterTypeRequiredDescription
accountstringno

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).

ParameterTypeRequiredDescription
ult_nsustringno
forcar_nsubooleanno
accountstringno

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).

ParameterTypeRequiredDescription
nsustringyes
accountstringno

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).

ParameterTypeRequiredDescription
chavestringyes
accountstringno

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.

ParameterTypeRequiredDescription
xmlstringno
chavestringno
nsustringno
accountstringno

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.

ParameterTypeRequiredDescription
accountstringno

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.

ParameterTypeRequiredDescription
messagestringyes
contextstringno
conversationstringno

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…

ParameterTypeRequiredDescription
actionenum: "search" | "describe" | "install" | "uninstall" | "subscribe" | "cancel" | "resume" | "report_bug" …no
querystringno
mcp_idstringno
limitnumberno
tier_slugstringno
immediatebooleanno
cancel_reasonenum: "too_expensive" | "missing_features" | "switched_service" | "unused" | "customer_service" | "too_complex" | "low_quality" | "other"no
cancel_commentstringno
messagestringno
report_contextstringno
conversationstringno
request_namestringno
request_detailsstringno
tool_idstringno
argumentsstringno
prompt_slugstringno
prompt_varsstringno
prompt_categorystringno
prompt_toolstringno
prompt_titlestringno
prompt_descriptionstringno
prompt_bodystringno
prompt_targetsarray<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.

ParameterTypeRequiredDescription
tokenstringno

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.mcp.ai/p_dfe. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http dfe-mcp https://api.mcp.ai/p_dfe
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : dfe-mcp ; URL : https://api.mcp.ai/p_dfe
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : dfe-mcp ; Server URL : https://api.mcp.ai/p_dfe ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "dfe-mcp": {
      "url": "https://api.mcp.ai/p_dfe"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "dfe-mcp": {
      "type": "http",
      "url": "https://api.mcp.ai/p_dfe",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "dfe-mcp": {
      "url": "https://api.mcp.ai/p_dfe"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "dfe-mcp": {
      "httpUrl": "https://api.mcp.ai/p_dfe"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[DF-e — L’Atlas](https://latlas.dev/en/mcp/io.github.mcp-dir/dfe-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.