
Mcp Focus Nfe
Emit and manage Brazilian NFe, NFSe, and NFCe through Focus NFe from your coding agent while building or operating a Brazil-facing product.
Overview
io.github.codespar/mcp-focus-nfe is a MCP server for the Build phase that connects coding agents to Focus NFe for NFe, NFSe, and NFCe emission and management in Brazil.
What is this MCP server?
- stdio MCP server @codespar/mcp-focus-nfe v0.1.2 over Focus NFe API
- Covers NFe, NFSe, and NFCe emission and lifecycle management
- Requires FOCUS_NFE_TOKEN secret env for API authentication
- Part of codespar mcp-dev-brasil fiscal package monorepo
- Agent-callable fiscal ops without hand-rolling REST for every document type
- Package version 0.1.2
- Single required secret: FOCUS_NFE_TOKEN
- Document types: NFe, NFSe, NFCe
Community signal: 252 GitHub stars.
What problem does it solve?
Brazilian founders waste hours switching between fiscal portals and brittle REST snippets when their agent could not safely issue or fix electronic invoices.
Who is it for?
Indie builders and small teams selling in Brazil who already use Focus NFe and want agent-assisted integration and document operations.
Skip if: Products with no Brazilian legal entity or no need for electronic invoicing—use a generic billing skill instead.
What do I get? / Deliverables
After install, your agent can call Focus NFe-backed tools with your token so invoice workflows stay in the repo and terminal instead of scattered dashboards.
- Registered stdio MCP server pointing at Focus NFe
- Agent-invokable fiscal emission and management operations
- Integration scaffolding aligned to Focus NFe REST patterns
Recommended MCP Servers
Journey fit
Fiscal APIs are wired during product build as backend integrations, which is the canonical shelf for MCP payment and compliance connectors. Focus NFe is an external API bridge—exactly the integrations subphase where indie builders connect third-party services to their app or ops scripts.
How it compares
MCP fiscal API integration, not a tax advisory agent skill or spreadsheet template.
Common Questions / FAQ
Who is io.github.codespar/mcp-focus-nfe for?
It is for solo builders and devs on Claude Code, Cursor, or Codex who use Focus NFe and want MCP tools for NFe, NFSe, and NFCe from the editor.
When should I use io.github.codespar/mcp-focus-nfe?
Use it while building checkout or ERP integrations and when operating live stores that must emit or adjust Brazilian fiscal documents through Focus NFe.
How do I add io.github.codespar/mcp-focus-nfe to my agent?
Install @codespar/mcp-focus-nfe from npm, configure stdio transport in your MCP client, and set the required FOCUS_NFE_TOKEN environment variable before restarting the agent.