Stackin
io.github.stackin-io/stackin
Issue and manage Brazilian fiscal documents: NF-e for goods, NFS-e for services.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/stackin-io/stackin-mcp-plugin
- Site
- docs.stackin.io/mcp
- Adresse du serveur
https://mcp.stackin.io/mcp(streamable-http)- Version
- 1.9.0
- Auteur
- stackin-io (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 25 nov. 2026)
Comment l’installer
Claude Code
Dans un terminal :
claude mcp add --transport http stackin https://mcp.stackin.io/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://mcp.stackin.io/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://mcp.stackin.io/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"stackin": {
"url": "https://mcp.stackin.io/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"stackin": {
"type": "http",
"url": "https://mcp.stackin.io/mcp"
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 11:30 (test fait par L’Atlas)
- Temps de réponse
- 3 589 ms (test complet)
- Outils trouvés
- 43
- Nom annoncé
- stackin 0.21.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (43)
issue_invoice
Issue a Brazilian fiscal document: NFS-e or NF-e. This produces a legal fiscal document. Confirm the data with the user before calling when you inferred any field. Send unit_price with quantity when the user quotes a price per unit, amountconsult_invoice
Look up an invoice's current status. Read-only. After an OUTCOME_UNKNOWN issuance, consult its document_id: the dps_id of an nfse, the access_key of an nfe. A 404 on a dps_id means nothing was issued.cancel_invoice
Cancel an authorized invoice. Legal cancellation, with fiscal and accounting effect, inside a window the NFS-e authorizer enforces for the municipality. Ask the human to confirm before calling; never call it speculatively. The reason reacheget_invoice_pdf
Return the printable rendering of a document, as a PDF. Works for both types — a DANFE for nfe, a DANFSe for nfse. The PDF comes back base64-encoded in content_base64, with its size in size_bytes; the XML, not this, is the legally valid docreissue_invoice
Retry a rejected invoice after the data that caused the rejection was fixed. Takes the local invoice_id, not the access key: a rejected document never got one. Consumes a credit like a new issuance, so it takes an idempotency_key for the sacorrect_invoice
File an electronic correction letter (CC-e) against an NF-e. NF-e only: there is no correction letter for an NFS-e, where a wrong document is cancelled and issued again. It corrects wording and non-fiscal fields only. It cannot change valueinvalidate_numbering
Declare an NF-e numbering range reserved but never used. NF-e numbering has to be continuous, so a gap left by a failed issuance is explained to the SEFAZ with this — not with a new document. Irreversible: a number declared unused can neverlist_invoices
List the invoices this company issued, newest first. One document type at a time: pass nfse for services or nfe for goods. A company that issues both has to be asked twice. Use it for "my last invoices", "what was rejected today", and to figet_invoice_submissions
Show every attempt made for one invoice and what came back. This is the tool that answers "why was it rejected". consult_invoice gives the status; this gives the tax authority's own code, its message, and the request and response exactly asinvoice_stats
Count this company's documents, and compare recent days. The answer to "how many invoices this month", "how much did I bill" and "is rejection going up": totals by document type and by status over everything, then issued and rejected countslist_invalidations
List the NF-e numbering ranges this company already declared unused, newest first. Read it before invalidate_numbering: a range reported twice is refused, and one that overlaps a past report means the gap was already explained. Each row hasvalidate_invoice_payload
Dry-run issue_invoice: the API runs issuance's pre-authority checks (company blockers; NCM, CEST, IBS/CBS and presumed-credit tables; layout and cross-field rules). Nothing is sent, numbered, stored or charged. Malformed fields come back filist_received_invoices
List NF-e documents other companies issued against this one. The mirror of list_invoices: that one shows what this company issued, this one what it received. Read-only. It reads what the API already collected and never calls the tax authorisync_received_invoices
Ask the tax authority now for NF-e issued against this company. Collection already runs every six hours. After a read that finds nothing more the authority imposes a one-hour wait; inside it this is refused with the time to retry (next_syncmanifest_received_invoice
Declare this company's position on a document issued against it. Legally binding and irreversible once the tax authority accepts it — ask the human to confirm before calling, and read back which document and which of the four positions is bget_received_invoice_xml
Return the full XML (procNFe) of an NF-e issued against this company. Read-only and never charged. Only when list_received_invoices shows has_full_document; for a summary the answer says to manifest first. An XML above 500 KB is not inlinedlookup_fiscal_code
Resolve one code of one classification, when you know both. Use this to confirm a code before putting it on a document — an NCM that does not exist is rejected by the tax authority after issuing, which costs a cancellation. A code that is nsearch_fiscal_codes
Find a code from a description, or page through a table. This is the tool for "what NCM is a keyboard" — the one the user actually asks. Prefer it over guessing a code from memory: the tables change, and a plausible wrong code is worse thanlist_fiscal_kinds
Which classifications this country has data for, right now. Ask this before assuming a classification exists. The answer grows as the source data does, so a name absent here is absent today rather than absent forever.lookup_taxpayer
Look up one taxpayer by exact tax id, to confirm who it is. Use it to check a recipient's name before issuing against them. It takes the id exactly — punctuation is fine, but there is no search by name, by prefix or by state, and there willsearch_cities
Find a municipality's IBGE code from its name. Issuing resolves city_code from city and state by itself, so this is for the name that matches more than one city, or an address the API answered CITY_NOT_FOUND for. Returns at most 20, each wicalculate_ibs_cbs
Simulate IBS/CBS per item and in total. Issues nothing. Not a fiscal document: say so to the user. Rates left out use the official 2026 ones in 2026; outside 2026 they are required.suggest_nbs
List the NBS codes NFS-e Anexo VIII pairs with a service code. Suggestions, not a decision: show them to the user and put an nbs on the item only after they pick one. Each carries the cIndOp and cClassTrib Anexo VIII lists for it, which bellist_authorized_companies
List the companies this connection may act for, and what it may do on each. Call it before acting when the user has more than one company, or when a tool answered that it needs a company. Each row carries the company_id (UUID) and tax_id (Cget_usage
The plan's allowances, what is used and the credit left. Read it before saying an action is free. Read-only.get_company_readiness
Whether the company can issue right now, and if not, what to fix. Call it before a company's first document, and when issuing fails for a reason that is not the document's. ready is false with missing naming the cause; by_document_type hasupdate_company
Fill in or fix the company's own address and fiscal fields — what get_company_readiness reports missing. Before calling it: read the company's own registry row with lookup_taxpayer (its CNPJ), show the user the address you are about to writlist_clients
Find the company's saved clients. Look a recipient up here before typing one into issue_invoice: when it is already saved, pass its id as client_id and the name, document and address come from the registry. Most recently used first unless sget_client
Read one saved client, with its full address. Read-only.save_client
Save a client in the company's registry, or update a saved one. It records a recipient for later issuances; it issues nothing. A document already saved is refused with the existing client's id — call get_client or pass that id here to updatdeactivate_client
Hide a saved client; reactivate_client brings it back.reactivate_client
Bring a deactivated client back to the registry.list_items
Find the products and services in the company's catalog. Look a line up here before typing it into issue_invoice: when it is saved, pass its id as item_id and the description, price and fiscal codes come from the catalog. Most recently usedget_item
Read one catalog item with its fiscal fields. Read-only.save_item
Save a product or service in the catalog, or update a saved one. Without item_id it creates, or updates the item with the same external_reference (else the same code): sending it twice never makes two. Nothing fiscal is required to save; andeactivate_item
Hide a catalog item; reactivate_item brings it back.reactivate_item
Bring a deactivated item back into the company's catalog.explain_rejection
Explain why a rejected document was refused and what to change. get_invoice_submissions has the authority's reply as sent; this reads it for someone who does not speak SEFAZ: the code, the message verbatim, what it means, the steps to fix iclassify_item
Suggest an NCM, CFOP, CST/CSOSN, CEST or service code for one item. A suggestion to confirm with the user — never issue on it blindly. Every code in a candidate was read from the published tables, but the NCM and the CFOP decide the tax owelist_webhooks
List where this company's events are delivered. One row per endpoint: its id (what delete_webhook takes), URL, events and whether it is active. Secrets are never returned. Needs webhook:manage. Read-only.create_webhook
Register a URL to receive this company's document events. Every document authorized, rejected, cancelled or corrected, and every received NF-e first stored (received_invoice.stored) or whose full XML arrived (received_invoice.full_document)delete_webhook
Stop delivering events to one endpoint. The user's integration stops hearing about new documents from that moment, so confirm which endpoint with them first. What was already delivered stays in list_webhook_deliveries. An id this company dolist_webhook_deliveries
Show every delivery attempt, newest first. The answer to "is my webhook receiving": each row has the event, its status, how many attempts, what the endpoint answered (response_status), the last error and when it was delivered or will be tri
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.github.stackin-io/stackin)HTML
<a href="https://lagora.dev/fiche/io.github.stackin-io/stackin"><img src="https://lagora.dev/badge/io.github.stackin-io/stackin.svg" alt="io.github.stackin-io/stackin sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.