Focus Nfe MCP Server

Focus NFe uses Basic Auth with the API token as username and empty password. br. Set FOCUS_NFE_SANDBOX=true to use it. Its 19 documented tools cover nfe, nfse, nfce, cte.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

One of 127 MCP servers published from codespar/mcp-dev-latam. Stars and repository activity are shared across all of them. See all 127 →

VERIFIED ACTIVE

LAST COMMIT 2026-08-12 · VERIFIED 2026-08-25

MIT · JavaScript servers · how we verify → /methodology

01 · Install Focus Nfe

before you install - you'll need

Set FOCUS_NFE_TOKEN, FOCUS_NFE_SANDBOX before connecting.

Claude Code

claude mcp add codespar-mcp-dev-latam-packages-fiscal-f -- npx -y @codespar/mcp-focus-nfe

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "codespar-mcp-dev-latam-packages-fiscal-f": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-focus-nfe"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @codespar/mcp-focus-nfe - published under the repo owner's npm scope (@codespar)

registry namespace io.github.codespar is GitHub-verified and matches the repo owner

03 · What Focus Nfe can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can create and emit an NFe (nota fiscal eletronica), cancel an authorized NFe (within 24h of emission), send a correction letter (Carta de Correcao / CCe) for an authorized NFe, and create and emit an NFSe (nota fiscal de servico).

Capability map

Tools grouped from the project's README - what Focus Nfe lets an agent do.

Nfe

4 tools - e.g. Create and emit an NFe (nota fiscal eletronica); Get NFe details and status by reference; Cancel an authorized NFe (within 24h of emission)

create_nfe · get_nfe · cancel_nfe · get_nfe_pdf

Nfse

3 tools - e.g. Create and emit an NFSe (nota fiscal de servico); Get NFSe details and status by reference; Cancel an authorized NFSe

create_nfse · get_nfse · cancel_nfse

Nfce

3 tools - e.g. Create and emit an NFCe (nota fiscal do consumidor eletronica); Get NFCe details and status by reference; Cancel an authorized NFCe

create_nfce · get_nfce · cancel_nfce

Cte

3 tools - e.g. Create and emit a CTe (conhecimento de transporte eletronico) for cargo transport; Get CTe details and status by reference; Cancel an authorized CTe

create_cte · get_cte · cancel_cte

run & execute

1 tool - e.g. Send a correction letter (Carta de Correcao / CCe) for an authorized NFe

send_correction_letter

create & write

1 tool - e.g. Create and emit an MDFe (manifesto eletronico de documentos fiscais) for cargo transport manifest

create_mdfe

Close

1 tool - e.g. Close/finalize an MDFe (encerramento) after trip completion

close_mdfe

Register

1 tool - e.g. Register a webhook trigger (gatilho) that notifies your URL when fiscal document events occur

register_webhook

04 · Who maintains Focus Nfe

mcp-focus-nfe is maintained by codespar. We track 127 MCP servers from codespar - 127 actively maintained, 269 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from codespar.

  1. mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 269
  2. mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 269
  3. mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 269
  4. mcp-evolution-api MCP server for Evolution API - WhatsApp messaging, instances, contacts ★ 269
  5. mcp-stripe-acp Stripe ACP - AI agent checkout, payment delegation, products, invoices ★ 269
  6. mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 269

05 · Facts

category
other - actively maintained as of 2026-08-25.
registry
io.github.codespar/mcp-focus-nfe (active, first published 2026-04-12 · 3 versions)
packages
npm:@codespar/mcp-focus-nfe

06 · Focus Nfe FAQ

Is Focus Nfe still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-12. We re-verify nightly.

What can Focus Nfe do?

With this server connected, an agent can create and emit an NFe (nota fiscal eletronica), cancel an authorized NFe (within 24h of emission), send a correction letter (Carta de Correcao / CCe) for an authorized NFe, and create and emit an NFSe (nota fiscal de servico).

How do I install Focus Nfe?

Run `npx -y @codespar/mcp-focus-nfe`. The README documents 2 environment variables (FOCUS_NFE_TOKEN, FOCUS_NFE_SANDBOX) to set first. Set FOCUS_NFE_TOKEN, FOCUS_NFE_SANDBOX before connecting. You can also paste the ready-made client config above.

Does Focus Nfe run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Focus Nfe

More MCP servers to compare · Nfe Io · Nuvem Fiscal · Clearsale · Konduto · Legiti