cd /news/ai-agents/issue-brazilian-invoices-from-claude… · home › topics › ai-agents › article
[ARTICLE · art-166511] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Issue Brazilian invoices from Claude with an MCP server (and a human approval step)

SendNF released an MCP server that exposes Brazilian invoice issuance (NFS-e, NFC-e and NF-e) to AI agents through 44 tools, including CNPJ lookup, service-code search, DPS validation and document previews and issuance. By default, any key used over MCP requires human approval: drafts are left as pending_approval with a PDF preview and nothing reaches the tax authority until a person signs off in the dashboard or via an approver link, with a 7-day expiry and an audit log recording approver, time and IP. The server uses Streamable HTTP without sessions and returns 401 without a key; the manifest and examples are public on GitHub while the product code is private.

by read1 min views1 publishedNov 9, 2026

Brazilian service invoices (NFS-e) are issued per city or through a national system, and every field is checked by tax authorities. SendNF exposes this as an API and as an MCP server, so an AI agent can look up a company by CNPJ, preview an invoice and issue it.

What you need

nt_test_ are sandbox keys (no tax value). nt_live_ keys issue real invoices. Configure

{
  "mcpServers": {
    "sendnf": {
      "type": "http",
      "url": "https://api.sendnf.com/mcp",
      "headers": { "Authorization": "Bearer nt_test_YOUR_KEY" }
    }
  }
}

The server uses Streamable HTTP, with no session. Without a key it answers 401.

What the agent can do (44 tools)

lookup_cnpj (public data from the tax authority, and which city system applies), search_service_codes (national service list, LC 116, with NBS), check_readiness (what is still missing for a company), validate_dps (checks a DPS XML against the official layout; it does not guarantee acceptance by the city).preview_nfse, preview_nfce, preview_nfe. issue_nfse, issue_nfce, issue_nfe, and cancel_document. The human approval step

By default, any key used through MCP requires approval. create_note_draft builds the invoice, validates it and leaves it as pending_approval with a PDF preview. Nothing goes to the tax authority until a person approves in the dashboard or through the approver link. Approval expires in 7 days, and the audit log records who approved, when and from which IP.

Limits

The repository https://github.com/sendnf/sendnf-mcp has the manifest, examples and tool list; the product code is private. SendNF issues NFS-e, NFC-e and NF-e (model 55) for MEI and Simples Nacional; it does not issue CT-e or MDF-e. Docs: https://sendnf.com/mcp/ . Plans and prices: https://sendnf.com/precos/ .

── more in #ai-agents 4 stories · sorted by recency
── more on @sendnf 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/issue-brazilian-invo…] indexed:0 read:1min 2026-11-09 · —