
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@codespar/mcp-focus-nfe
Advanced tools
MCP server for Focus NFe — NFe, NFSe, NFCe, CTe, MDFe emission, correction letters, and webhooks
MCP server for Focus NFe — NFe, NFSe, and NFCe fiscal document emission
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"focus-nfe": {
"command": "npx",
"args": ["-y", "@codespar/mcp-focus-nfe"],
"env": {
"FOCUS_NFE_TOKEN": "your-token",
"FOCUS_NFE_SANDBOX": "true"
}
}
}
}
claude mcp add focus-nfe -- npx @codespar/mcp-focus-nfe
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"servers": {
"focus-nfe": {
"command": "npx",
"args": ["-y", "@codespar/mcp-focus-nfe"],
"env": {
"FOCUS_NFE_TOKEN": "your-token",
"FOCUS_NFE_SANDBOX": "true"
}
}
}
}
| Tool | Description |
|---|---|
create_nfe | Create and emit an NFe (nota fiscal eletronica) |
get_nfe | Get NFe details and status by reference |
cancel_nfe | Cancel an authorized NFe |
create_nfse | Create and emit an NFSe (nota fiscal de servico) |
get_nfse | Get NFSe details and status by reference |
cancel_nfse | Cancel an authorized NFSe |
get_nfe_pdf | Get NFe PDF (DANFE) download URL |
create_nfce | Create and emit an NFCe (nota fiscal do consumidor eletronica) |
Focus NFe uses Basic Auth with the API token as username and empty password.
Focus NFe provides a homologation environment at homologacao.focusnfe.com.br. Set FOCUS_NFE_SANDBOX=true to use it.
FOCUS_NFE_TOKEN environment variable| Variable | Required | Description |
|---|---|---|
FOCUS_NFE_TOKEN | Yes | API token from Focus NFe |
FOCUS_NFE_SANDBOX | No | Set to "true" for homologation mode |
create_cte — Create a CT-e (electronic transport document)get_cte — Get CT-e details by IDcorrection_letter — Issue a correction letter for an NF-emanifest_recipient — Manifest recipient awareness of an NF-eget_nfse_pdf — Get PDF for a service invoice (NFS-e)batch_nfe — Create multiple NF-e in a single requestbatch_nfse — Create multiple NFS-e in a single requestWant to contribute? Open a PR or request a tool.
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
MIT
FAQs
MCP server for Focus NFe — NFe, NFSe, NFCe, CTe, MDFe emission, correction letters, and webhooks
We found that @codespar/mcp-focus-nfe demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.