L'Agora
MCPResponds

Stackin

io.github.stackin-io/stackin

Issue and manage Brazilian fiscal documents: NF-e for goods, NFS-e for services.

Repository
github.com/stackin-io/stackin-mcp-plugin
Website
docs.stackin.io/mcp
Server address
https://mcp.stackin.io/mcp (streamable-http)
Version
1.9.0
Author
stackin-io (namespace verified by the registry)
Source
Official MCP registry (updated Nov 25, 2026)

How to install it

Claude Code

In a terminal:

claude mcp add --transport http stackin https://mcp.stackin.io/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://mcp.stackin.io/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://mcp.stackin.io/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "stackin": {
      "url": "https://mcp.stackin.io/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "stackin": {
      "type": "http",
      "url": "https://mcp.stackin.io/mcp"
    }
  }
}

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 11:30 (test run by L’Atlas)
Response time
3,589 ms (whole test)
Tools found
43
Announced name
stackin 0.21.0
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (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, amount
  • consult_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 reache
  • get_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 doc
  • reissue_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 sa
  • correct_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 value
  • invalidate_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 never
  • list_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 fi
  • get_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 as
  • invoice_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 counts
  • list_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 has
  • validate_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 fi
  • list_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 authori
  • sync_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_sync
  • manifest_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 b
  • get_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 inlined
  • lookup_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 n
  • search_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 than
  • list_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 will
  • search_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 wi
  • calculate_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 bel
  • list_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 (C
  • get_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 has
  • update_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 writ
  • list_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 s
  • get_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 updat
  • deactivate_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 used
  • get_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; an
  • deactivate_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 i
  • classify_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 owe
  • list_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 do
  • list_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

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.stackin-io/stackin on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.stackin-io/stackin on L’Agora](https://lagora.dev/badge/io.github.stackin-io/stackin.svg?lang=en)](https://lagora.dev/en/entry/io.github.stackin-io/stackin)

HTML

<a href="https://lagora.dev/en/entry/io.github.stackin-io/stackin"><img src="https://lagora.dev/badge/io.github.stackin-io/stackin.svg?lang=en" alt="io.github.stackin-io/stackin on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry