Bring Electronic Invoicing
to Mastra AI
Create your Vinkius account to connect Focus Admin to Mastra AI and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Focus Admin MCP Server?
Connect Focus Admin to any AI agent and access advanced fiscal management tools — send Correction Letters (CC-e), inutilize NF-e numbering, distribute DF-e documents, download XMLs and DANFEs, and list all invoices by period through natural conversation.
What you can do
- Send CC-e — Issue Correction Letters for authorized NF-e with minor errors
- Cancel CC-e — Cancel previously sent Correction Letters
- Inutilize Numbering — Mark damaged or lost NF-e numbering ranges as unused
- Download XML & DANFE — Retrieve authorized NF-e XML documents and DANFE PDFs
- Distribute DF-e — Query available DF-e documents for your CNPJ by NSU
- List by Period — Retrieve all NF-e or NFS-e issued or received within a date range
- Download Event XML — Get XML for specific NF-e events (manifestations, CC-e, etc.)
How it works
- Subscribe to this server
- Enter your Focus NFe API Token and Base URL
- Start managing advanced fiscal operations from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Fiscal Analysts — Handle CC-e and inutilization without accessing the fiscal panel
- Accounting Teams — Download XML/DANFE in bulk and list documents by period
- Compliance Officers — Distribute DF-e and verify all received invoices
Built-in capabilities (10)
Cancel a previously sent CC-e
Distribute DF-e documents (consult NSU)
Download XML for a specific NF-e event
Download NF-e DANFE PDF
Download NF-e XML document
Inutilize a range of NF-e numbering
List NF-e documents by period
List NFS-e emitted by the company
List NFS-e received (tomadas) by the company
Send a Correction Letter (CC-e) for NF-e
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Focus Admin tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Focus Admin without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Focus Admin tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Focus Admin in Mastra AI
Why run Focus Admin with Vinkius?
The Focus Admin connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Focus Admin using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Focus Admin and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Focus Admin to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Focus Admin for Mastra AI
Every request between Mastra AI and Focus Admin is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
What is a CC-e (Carta de Correção)?
CC-e is a Correction Letter used to fix minor errors in an authorized NF-e, such as typos in the buyer's address or product descriptions. It cannot be used to change values, quantities, or tax rates.
When should I use Inutilização?
Use Inutilização when a range of NF-e numbering has been damaged, lost, or will not be used. This tells the tax authority that those numbers are intentionally skipped.
What is DF-e Distribution?
DF-e Distribution allows you to query all fiscal documents (NF-e, CT-e, etc.) issued against your CNPJ. Use it with the last NSU to retrieve only new documents.
Can I automate my accounting department with this?
Yes! The 'List by Period' and 'Download XML & DANFE' tools allow your AI agent to fetch all invoices from a specific month, download the XMLs, and seamlessly integrate them into accounting workflows.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Mews
12 toolsManage hotel reservations, guests, rooms, billing, housekeeping, and services for your Mews property through natural conversation.

Merge (Unified Integration API)
8 toolsManage unified B2B data via Merge — list HRIS employees, ATS candidates, CRM contacts, and support tickets.

Deterministic Math Expression Evaluator
1 toolsEquip your AI with flawless algebraic parsing. Safely evaluate complex mathematical string expressions without using vulnerable `eval()` execution.

Tuputech Moderation
10 toolsBring Tuputech's Advanced Anti-Spam and AI Evaluation endpoints to your server. Scan text, images, and audio automatically via AI.
