Stackin logo

Stackin

Issue, manage, validate, and monitor Brazilian NF-e and NFS-e documents through a hosted MCP endpoint.

Install Stackin

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.stackin.io/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · 2d agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 2d ago · Nov 27, 2026, 13:30 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://mcp.stackin.io/mcp

Overview

Stackin MCP server connects AI clients to Brazilian fiscal workflows for NF-e goods invoices and NFS-e service invoices. Its tools issue, consult, cancel, correct, reissue, validate, and render invoices, while also handling received documents, fiscal-code lookups, taxpayer checks, and client records. The hosted streamable-HTTP endpoint supports OAuth 2.1 or bearer API-key authentication. Reach for Stackin when an agent needs to create or manage Brazilian electronic fiscal documents while preserving the confirmation and identifier requirements of tax operations.

Use cases

  • Issue an NF-e for goods or an NFS-e for services
  • Diagnose why an invoice was rejected
  • Cancel or correct an eligible fiscal document
  • Find and manifest invoices received from other companies
  • Resolve Brazilian fiscal codes before issuing

Key features

  • NF-e and NFS-e issuance and lifecycle management
  • Invoice status, submission-history, and PDF retrieval
  • Received-invoice synchronization and manifestation
  • Fiscal-code and taxpayer lookup
  • Saved-client and multi-company management

Tools43

What Stackin lets your agent do. Expand a tool for its parameters.

Verified live~20.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 54d

What it can do

From the 43 tools this server returned when we ran it.

Can delete or modify data · 1Makes changes · 5Handles credentials · 2Makes network requests · 7Read-only tools · 37
Tool definitions changed on 2026-11-27. Review them if you approved this server earlier.

Observed 2026-11-27 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Tools exposed43Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Stackin works

What Stackin does

Stackin exposes Brazilian fiscal-document operations through the Model Context Protocol. It supports NF-e for goods and NFS-e for services, connecting requests to SEFAZ and municipal NFS-e services through the hosted endpoint https://mcp.stackin.io/mcp.

The server covers the document lifecycle: issuing, checking status, cancelling, retrying rejected submissions, downloading printable PDFs, and filing correction letters for NF-e. It can also explain rejected submissions using the tax authority's response code and message. Read-only tools list issued and received invoices, inspect submission attempts, report usage, and show which companies a connection can act for.

Additional tools support fiscal-code searches, exact taxpayer lookups, and a saved-client registry. Received NF-e workflows include synchronization, viewing documents issued against a company, and filing a manifestation.

How it works

The connection uses streamable HTTP. Clients can authenticate with OAuth 2.1 using PKCE and dynamic client registration, or send a static API key as a bearer token. A key created through Stackin carries its environment, while authorized connections can cover one or several companies. When several companies are available, the relevant company_id or tax identifier must be selected for the operation.

Invoice identifiers have different roles. Issued documents expose an access key for consultation, cancellation, and PDF retrieval. Rejected submissions have a local invoice ID but no access key; reissue and submission-history tools use that local ID instead.

Idempotency keys should be supplied for issuance, reissue, and cancellation when a retry could occur. Reusing the same key with the same request replays the original result rather than creating another fiscal action. The key is not generated by Stackin.

Setup and configuration

Connect an MCP client to:

text
https://mcp.stackin.io/mcp

For bearer authentication, send:

text
Authorization: Bearer <STACKIN_API_KEY>

API keys can be generated through app.stackin.io. OAuth clients may omit the authorization header initially and follow the server's authentication challenge. Claude Code can install the repository plugin, which points to the hosted server and includes workflow skills. ChatGPT and Codex can use the hosted app connection, while Cursor can configure the endpoint in its MCP settings.

Tools and capabilities

  • Issue NF-e or NFS-e documents after validating the required information.
  • Consult status, list issued or received invoices, and inspect submission attempts.
  • Cancel authorized invoices, retry rejected ones, or correct eligible NF-e fields with a CC-e.
  • Retrieve DANFE or DANFSe PDF output; PDFs are returned as base64 when small enough to inline.
  • Validate payload structure and search or resolve NCM, CFOP, CEST, CST, and ISS-related classifications.
  • Manage saved clients, taxpayer lookups, company selection, usage data, and received-invoice manifestations.

Limitations and notes

Issuing, cancelling, invalidating numbering, and manifesting received documents can have legal or accounting consequences. Confirm inferred data with the user before issuing, and obtain explicit confirmation before cancellation, numbering invalidation, or manifestation. NF-e requires NCM and CFOP for every item plus a complete recipient address; validation checks local field rules but does not replace the authorizer's fiscal checks.

Correction letters apply only to NF-e and cannot change amounts, taxes, recipients, or products. An NFS-e correction instead requires cancellation and a new issuance. A cancellation reason is sent verbatim and must contain at least 15 characters. Number invalidation is irreversible, and the inclusive range must contain only never-authorized numbers.

The legally valid document is the XML, not the rendered PDF. PDFs larger than 2 MB are not inlined. Received-invoice collection runs every six hours; an immediate synchronization can be rate-limited for one hour after an empty read. Fiscal-code and taxpayer lookup results should be treated according to their returned status rather than inferred from a missing match.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Stackin

Stackin is an MCP server that connects AI clients to Brazilian SEFAZ and municipal NFS-e services. Its main tools issue, consult, cancel, validate, correct, and reissue NF-e and NFS-e documents, while also supporting PDFs, received invoices, fiscal-code lookups, taxpayer checks, and saved clients.

Connect an MCP client to `https://mcp.stackin.io/mcp`. Claude Code can install the Stackin plugin from its GitHub marketplace, while other clients can configure the hosted streamable-HTTP endpoint directly with OAuth or a bearer API key.

Yes, Stackin works with Cursor through its MCP configuration. Add the hosted endpoint and provide either OAuth credentials or an `Authorization: Bearer` header containing `STACKIN_API_KEY`.

Yes, `reissue_invoice` retries a rejected submission after its data is corrected. It takes the local invoice ID because a rejected document has no access key, consumes a credit like a new issuance, and should receive an idempotency key when retries are possible.

No, correction letters apply only to NF-e. An incorrect NFS-e must be cancelled and issued again; a CC-e cannot change values, taxes, recipients, or products on an NF-e either.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewStackin AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/stackin?style=directory)](https://allmcps.com/mcp/stackin)
HTML Embed
<a href="https://allmcps.com/mcp/stackin"><img src="https://allmcps.com/api/badge/stackin?style=directory" alt="Stackin on AllMCPs" /></a>