Focus NFe MCP. Automate Brazilian Fiscal Document Workflow
Focus NFe is your connection to Brazilian fiscal documentation management. It lets your AI agent handle the entire invoice lifecycle for both services (NFS-e) and products (NF-e). You can issue new invoices, check their official status, cancel them with proper justifications, and download the final XML files—all through natural conversation.
Give Claude and any AI agent real-world access
The MCP issues a new service invoice (NFS-e) instantly when prompted with the required details.
It creates product invoices (NF-e), handling complex details for multiple items and services in a single transaction.
You can confirm if an invoice is authorized, currently processing, or if it was cancelled at any point in time.
The MCP cancels existing invoices and requires you to provide a specific justification reason for compliance records.
It retrieves the authorized, final XML file necessary for accounting departments and long-term storage.
Ask an AI about this
Waiting for input…
What AI agents can do with Focus NFe: 5 Tools for Fiscal Invoicing
These tools let your agent interact directly with the Focus NFe API to manage every stage of Brazilian fiscal documentation—from initial creation to final archival.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using Focus NFe MCPConsult Document
Checks and returns the current status and detailed information of any specified invoice document.
Emit Nfse
Generates and submits a Service Invoice (NFS-e) for professional services rendered.
Cancel Document
Cancels an authorized invoice and requires a specific justification reason for the...
Download Xml
Retrieves the final, authorized XML file for a given invoice number ready for...
Emit Nfe
Creates and issues a new Product Invoice (NF-e) with full item details required by...
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on each call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Focus NFe, then connect any of our 5,200+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,200+ others, all in one place
- Add new capabilities to your AI anytime you want
- Connections are secured and governed automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog weekly
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Focus NFe. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS CLOUD
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on each call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
The headache of Brazilian tax paperwork
Right now, managing compliance feels like a scavenger hunt. You open the client portal to check status, then switch tabs to the ERP system to get itemized details, and finally jump into an accounting spreadsheet just to find the XML file needed for audit records. It's repetitive clicking, copying reference IDs, and cross-referencing multiple systems.
With this MCP, you tell your agent what needs doing once. You simply ask it to check the status of a document or to cancel an invoice. The system handles all the necessary API calls and compliance checks behind the scenes. What you get is a single, definitive answer in plain text.
Focus NFe: Full control over your fiscal documents
The manual process forces you to execute separate steps for every action: one sequence for `emit_nfe`, another for checking status using `consult_document`, and a third, entirely different flow just to get the final XML via `download_xml`. You're chained to a rigid, multi-system workflow.
Now, your agent manages that entire lifecycle conversationally. The process flows naturally from emission to consultation to cancellation or download. It’s not about running separate scripts; it’s about controlling the whole document journey with one prompt.
What Focus NFe MCP does for your AI
This MCP connects your AI client directly to Brazil's required fiscal APIs. It automates handling service invoices (NFS-e) and product invoices (NF-e), managing everything from creation to archival. You don't need to know API codes or navigate complex government portals; you just tell your agent what needs doing in plain English.
For instance, instead of manually logging into a portal to check if an invoice is ready, you simply ask the agent for the status, and it retrieves the authorized details instantly. If the client requests a change, the agent can use its tools to cancel the document correctly, ensuring the right justification reason is attached.
The process also handles retrieving the final XML documents needed by accounting teams. By connecting Focus NFe through Vinkius, you give your AI agent reliable access to critical tax compliance functions, making complex Brazilian fiscal workflows manageable from any chat interface.
019d759d-0785-700a-89d7-bc2c3eb67353 How to set up Focus NFe MCP
The bottom line is you get to manage all Brazilian fiscal compliance tasks through conversational chat, without ever touching an API key or dashboard.
First, subscribe to this MCP and provide your Focus NFe API Token and Base URL.
Next, configure your AI client using those credentials within the Vinkius Marketplace.
Finally, start giving instructions—whether it's 'Issue a service invoice for X' or 'What is the status of Y?'—to your agent.
Who uses Focus NFe MCP
This MCP targets businesses and professionals operating within the complex world of Brazilian tax law. It’s for anyone who gets frustrated by manual portal logins and copy-pasting document details, especially accountants managing high volumes of invoicing.
You automate bulk invoice generation and retrieval of XML files needed for month-end closing or auditing.
You integrate mandatory Brazilian fiscal capabilities into your application's backend, allowing users to generate compliant invoices directly within your platform.
You handle the day-to-day management of client invoicing, ensuring documents are issued or cancelled correctly with auditable reasons.
Benefits of connecting Focus NFe MCP
Handling cancellations is easy. Instead of manually finding the right form and attaching a justification, you just ask the agent to cancel_document with the reason in chat.
You cut down on compliance errors by centralizing document handling. Whether it's generating an NF-e or NFS-e, your agent manages the process end-to-end using the correct tools.
Forget logging into five different portals to check status. You ask the agent to consult_document, and you get a real-time, single source of truth about the invoice's lifecycle.
The final output is always ready for accounting. With one command, you can use download_xml to pull the authorized file directly into your workflow.
It handles both service and product invoicing equally well. You can ask it to emit_nfse or emit_nfe, and it knows exactly which fiscal rules apply.
Focus NFe MCP use cases
The monthly cleanup of old invoices
An accountant needs to find all outstanding documents for a client, check their status using consult_document, and then download the necessary XML files via download_xml before month-end closing. The agent handles this entire audit trail in three conversational steps.
Client cancels an order after invoicing
A service was invoiced, but the client backed out. Instead of emailing a cancellation request and waiting for manual processing, the manager tells the agent to cancel_document immediately, providing the mandatory reason code.
Launching a new product line
A SaaS developer needs to integrate compliance features. By connecting Focus NFe MCP, they can expose both emit_nfe and emit_nfse to their platform, making the billing process fully automated within their code.
Emergency invoice generation
A small business owner just finished a consulting gig. They don't have time to navigate complex forms; they simply tell the agent to emit_nfse, and it generates the service invoice instantly.
Focus NFe MCP tradeoffs
What to watch out for, and the recommended way to handle each one.
Treating compliance as a series of manual steps
The user logs into the fiscal portal, finds the client's invoice number, manually copies the reference ID, submits it to their agent, and then waits for the agent to run a separate status check.
Don't copy and paste. Just tell your agent to consult_document with the client's name and date range. The MCP finds the document and reports the status in one step.
Using generic API wrappers
A developer writes a basic wrapper that only handles emissions but fails when the invoice needs to be canceled or updated, leading to compliance gaps.
Use this MCP. It exposes specific tools like cancel_document and download_xml, ensuring you have full control over the entire document lifecycle within your code.
Assuming status checks are enough
The user asks for a document status using consult_document, but then forgets to download the final XML, causing accounting delays.
Always pair up status checks. If you confirm authorization with consult_document and everything looks good, immediately follow up by asking the agent to download_xml.
When to use Focus NFe MCP
Use this MCP if your primary pain point is managing Brazilian fiscal documentation (NF-e or NFS-e) through automation. You need a single source of truth that lets you initiate, check status, modify, and archive documents using natural language commands.
Don't use this if: A) Your business operates outside Brazil; the compliance logic is specific to Brazilian tax law. B) You only need to generate documents without needing subsequent actions like cancellation or XML retrieval (use a dedicated document generation tool instead). C) You are trying to manage other types of records, like employee data or inventory counts—this MCP focuses exclusively on fiscal invoices.
Frequently asked questions about Focus NFe MCP
Does it support both NFS-e and NF-e? +
Yes! The tools allow emitting and managing both Service Invoices (nfse) and Product Invoices (nfe) seamlessly.
How do I get my API Token? +
Log in to the Focus NFe portal and navigate to the API section to generate your token.
Can I download the authorized XML? +
Yes, use the download_xml tool with the document reference to retrieve the full XML content.
Is it homologated for all Brazilian cities? +
Focus NFe covers thousands of cities for NFS-e emission. You can check their API documentation for the complete list of supported IBGE city codes.