NF-e/NFS-e emission as a service — no cert installation, no XML assembly. Companies, webhooks, and CC-e (Carta de Correção) included. Full doc URL access for DANFE, PDFs, and XMLs.
NFe.io gives your agent 24 tools it calls directly — pick the ones it needs, in Claude, Cursor, or any MCP client.
create_nfe — Create a NF-e (nota fiscal eletrônica)get_nfe — Get NF-e details by IDcancel_nfe — Cancel a NF-e// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_nfe", { /* ... */ });$ npm install @codespar/mcp-nfe-ioAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"nfe-io": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-nfe-io"
],
"env": {
"NFE_IO_API_KEY": "<your_nfe_io_api_key>"
}
}
}
}After restart, your agent can call any of the 24 tools below — try create_nfe first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
NFE_IO_API_KEYAPI key for NFe.io
Each tool is independent — your agent loads only what it needs to reduce context and response time.
create_nfeget_nfecancel_nfecreate_nfseget_nfsecancel_nfsecreate_nfceconsult_cnpjMCP is a protocol — any framework that speaks it can mount this server.