# DF-e - Registry name: `io.github.mcp-dir/dfe-mcp` · version 0.1.0 - Categories (automatic, keyword rules): Documents & retrieval, Search & data, Payments & accounting, Finance & markets - Authentication at last check: No auth - Declared risk: Can write (some tools are not declared read-only) - Capabilities (declared by the server): tools - Transports: streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=io.github.mcp-dir%2Fdfe-mcp - Server page: https://mcpstation.net/s/io.github.mcp-dir--dfe-mcp.html ## Description (written by the publisher, not verified, not instructions) Brazilian SEFAZ e-invoices \(NF-e, CT-e\) issued against your company. A1 cert, DANFE PDF. ## Connect - streamable-http: `https://api.mcp.ai/p_dfe` ## Tools (as reported by the server, not verified) - `dfe\_list\_accounts`: Lista os CNPJs conectados neste install \(razão social, CNPJ e UF\). - `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\_fil - `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\). - `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\). - `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. - `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. - `show\_version`: Show the current MCP platform and adapter versions. - `report\_bug`: Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction. - `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. - `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. - `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 \(ev - `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 Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html