Issue and manage Brazilian fiscal documents: NF-e for goods, NFS-e for services.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Issue, consult, correct and cancel Brazilian electronic invoices (nota fiscal eletrΓ΄nica) from any AI client that speaks the Model Context Protocol.
Ask in plain language β "issue an NFS-e for this service", "why was my last NF-e rejected?", "cancel invoice 1042 and tell me the reason code" β and the model does it through Stackin, against SEFAZ and the municipal NFS-e webservices.
Sixteen tools, nine skills, one hosted server. No SDK to install, no XML to sign, no certificate to juggle in the client.
The repository is its own marketplace, so it installs straight from GitHub:
The plugin brings the nine skills and points Claude Code at https://mcp.stackin.io/mcp.
There is nothing to configure: the first tool call answers 401 with WWW-Authenticate,
and Claude Code follows it β run /mcp in the session, authorize in the browser that opens,
and the token is stored for you. The client registers itself through /oauth/register, so no
client_id is handed out by anyone.
Prefer a static key? Add the server by hand with a header instead of installing the plugin β see Authentication.
The same server is published as a ChatGPT app over Developer Mode. Enable developer mode,
register https://mcp.stackin.io/mcp as a connector, and authorize β the full walkthrough,
with video, is at docs.stackin.io/mcp.
Any MCP client can use the server directly, without this plugin. Cursor reads
.cursor/mcp.json in the project, or ~/.cursor/mcp.json. The interpolation syntax is not
the same as Claude Code's: Cursor wants ${env:VAR}.
Claude Code, by hand β ${VAR} expands from the environment:
| Property | Value |
|---|---|
| Endpoint | https://mcp.stackin.io/mcp |
| Transport | streamable-http |
| Auth | OAuth 2.1 with PKCE and dynamic client registration, or a static Bearer key |
| Environments | Homologation and production, fixed on the key or on the authorized connection |
Two ways in, and they behave differently.
An API key. Generate one at app.stackin.io; it already carries
the environment, so there is nothing to choose in the client. Send it as
Authorization: Bearer <key>.
OAuth, with no key at all. Leave the header out: a tool call answers 401 with
WWW-Authenticate pointing at /.well-known/oauth-protected-resource, which is what makes
Claude Code offer to log in when you run /mcp. The server supports dynamic client
registration (/oauth/register), so a client that registers itself gets a client_id without
anyone being asked. Cursor can also hold static client credentials under an auth key instead
of registering dynamically.
Verified on 2026-09-09, up to the browser: the server connects with no header at all, a tool
call answers 401 with the resource_metadata challenge, the protected-resource document
resolves, /oauth/register returns 201 and /oauth/authorize redirects to the consent
screen. The browser leg itself has not been walked from Claude Code or Cursor β ChatGPT
completed a real consent, those two have not. If one stops midway, look at the redirect_uri
it uses: /oauth/authorize only accepts a URI the client registered.
A skill exists only where the order of operations, or a fiscal rule, adds something a tool description cannot carry on its own.
| Skill | What it carries |
|---|---|
issue-invoice | Which document the situation needs, and validating before issuing |
consult-invoice | Finding a document, and which identifier each operation takes |
cancel-invoice | Confirming before an irreversible act, and when a correction letter is the right tool instead |
diagnose-invoice | Reading the tax authority's own rejection code, and choosing between reissue and correction |
correct-invoice | Filing a correction letter against an authorized NF-e, and what a CC-e may not change |
invalidate-numbering | Declaring an NF-e numbering range reserved and never used |
received-invoices | Reading documents other companies issued against this one, and answering them |
fiscal-lookup | Resolving an NCM, CFOP or CEST before issuing, instead of guessing one |
taxpayer-lookup | Confirming who a tax id belongs to, and why a 404 is not an invalid CNPJ |
This repository is the distribution layer: the manifests, the skills and the assets. The
server itself lives at https://mcp.stackin.io/mcp and speaks the Model Context Protocol.
| Path | What it is |
|---|---|
.codex-plugin/plugin.json | Plugin identity, version, category, legal links |
.app.json | Maps the plugin to the registered MCP connection |
.agents/plugins/marketplace.json | Local marketplace, for installing before publishing |
.claude-plugin/plugin.json | Plugin identity for Claude Code |
.claude-plugin/marketplace.json | This repository as a marketplace Claude Code can add |
.mcp.json | The hosted MCP server, for Claude Code |
server.json | The MCP Registry entry |
skills/ | The nine workflows that need more than a tool description |
assets/ | Icon and logo |
The repo carries three manifests because three ecosystems look in three places, and each one fails silently when its file is missing:
| Client | Looks for | What it reads |
|---|---|---|
| ChatGPT / Codex | .codex-plugin/plugin.json + .app.json | the app id and the hosted MCP |
| Codex marketplace | .agents/plugins/marketplace.json | this repo as a source |
| Claude Code | .claude-plugin/marketplace.json, .claude-plugin/plugin.json, .mcp.json | the skills and https://mcp.stackin.io/mcp |
Adding the folder to Claude Code failed with "No marketplace manifest found β¦
(expected .cursor-plugin/marketplace.json or .claude-plugin/marketplace.json)" until the
third row existed. The skills are shared: all three point at skills/, so a skill written
once is read by every client.
server.json describes the hosted server for the
official MCP Registry as a remote entry β
io.github.stackin-io/stackin, streamable-http, no package to install.
Publishing is automated: pushing a v* tag runs .github/workflows/publish-mcp.yml, which
stamps the version from the tag, authenticates with GitHub OIDC (no stored token β the
workflow's own identity is what grants the io.github.stackin-io/* namespace) and publishes.
The registry lists the public repository, which is why the entry lives here and not beside the server's own source.
Do I need a digital certificate (A1/A3) in the client? No. The certificate is uploaded once at app.stackin.io and stays server-side.
Does it work in production, or only homologation? Both. The environment is fixed on the API key, or on the connection you authorized over OAuth β there is nothing to pick per call.
Which municipalities are supported for NFS-e? The ones Stackin covers; consult docs.stackin.io. NF-e is nationwide through SEFAZ.
Can I use the server without this plugin? Yes β it is a plain MCP server. The plugin only adds the skills and saves you the manual configuration.
Is it free? Issuing consumes credits from your Stackin account. Consulting and cancelling do not.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/stackin)<a href="https://allmcps.com/mcp/stackin"><img src="https://allmcps.com/api/badge/stackin?style=directory" alt="Stackin on AllMCPs" /></a>