Skip to main content
FO

Focus NFe

v0.2.1API Key

Emisión de NF-e, NFS-e y NFC-e con validación automática en SEFAZ. Compliance fiscal simplificado para cualquier empresa brasileña.

19 herramientas1 env vars🇧🇷 Brasilestable en npm

Qué puede hacer tu agente

Focus NFe le da a tu agente 19 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_nfeCreate and emit an NFe (nota fiscal eletronica)
  • get_nfeGet NFe details and status by reference
  • cancel_nfeCancel an authorized NFe (within 24h of emission)
Ejemplo de llamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_nfe", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-focus-nfe

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "focus-nfe": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-focus-nfe"
      ],
      "env": {
        "FOCUS_NFE_TOKEN": "<your_focus_nfe_token>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 19 herramientas de abajo — probá create_nfe primero.

Variables de entorno · 1

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

FOCUS_NFE_TOKEN
obligatoriosecret

API key for focus-nfe

Herramientas disponibles · 19

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_nfe
Create and emit an NFe (nota fiscal eletronica)
READget_nfe
Get NFe details and status by reference
DELETEcancel_nfe
Cancel an authorized NFe (within 24h of emission)
READget_nfe_pdf
Get NFe PDF (DANFE) download URL
WRITEsend_correction_letter
Send a correction letter (Carta de Correcao / CCe) for an authorized NFe
WRITEcreate_nfse
Create and emit an NFSe (nota fiscal de servico)
READget_nfse
Get NFSe details and status by reference
DELETEcancel_nfse
Cancel an authorized NFSe

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-focus-nfe` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Focus NFe — MCP server · 19 tools | CodeSpar