Scan your whole stack
From OX Research Newsroom
Latest version: v1.8.0
Stackin was last scanned on 24 Nov 2026 at version 1.8.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.8.0 LATEST | 24 Nov 2026 | No rules fired |
| 1.7.0 | 24 Nov 2026 | No rules fired |
| 1.6.0 | 23 Nov 2026 | No rules fired |
| 1.5.0 | 22 Nov 2026 | Not shown |
| 1.4.0 | 21 Nov 2026 | Not shown |
Findings for v1.8.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.8.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
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.
Forty-three tools, fourteen skills, one hosted server. No SDK to install, no XML to sign, no certificate to juggle in the client.
| 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 |
Every snippet below takes the same URL. Where a snippet sends a header, the key comes from an
environment variable called STACKIN_API_KEY; leave the header out and a client that speaks
MCP OAuth logs you in instead (see Authentication). Each
client spells environment interpolation its own way, so copy the snippet for yours.
The repository is its own marketplace, so the plugin installs straight from GitHub:
claude plugin marketplace add stackin-io/stackin-mcp-plugin
claude plugin install stackin@stackin
The plugin brings the fourteen 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.
Prefer a static key? Add the server by hand instead of installing the plugin (no skills then):
claude mcp add --transport http stackin https://mcp.stackin.io/mcp \
--header "Authorization: Bearer ${STACKIN_API_KEY}"
Customize → Connectors → + Add → Add custom connector. Name Stackin, URL
https://mcp.stackin.io/mcp, then sign in when asked: the connector registers itself, so the
OAuth client fields stay empty. On Team and Enterprise, an Owner adds it under Organization
settings → Connectors. A connector added on claude.ai is available in Claude Desktop too.
Stackin is published as a ChatGPT app. To add it yourself in developer mode: chatgpt.com →
Plugins → + → Add custom MCP server, Server URL https://mcp.stackin.io/mcp, authentication
OAuth, then create it as a plugin and install it. ChatGPT has no custom-header option, so
OAuth is the only way in. The walkthrough, with video, is at
docs.stackin.io/mcp.
codex mcp add stackin --url https://mcp.stackin.io/mcp
Codex runs the OAuth login when the server asks for it. With an API key instead, in
~/.codex/config.toml:
[mcp_servers.stackin]
url = "https://mcp.stackin.io/mcp"
bearer_token_env_var = "STACKIN_API_KEY"
The plugin (.codex-plugin/ + .app.json) also installs in Codex from
.agents/plugins/marketplace.json, with the skills.
Install link (GitHub does not render custom-scheme links as clickable, so paste it in a browser or put it behind a button on your own page):
cursor://anysphere.cursor-deeplink/mcp/install?name=stackin&config=eyJ1cmwiOiJodHRwczovL21jcC5zdGFja2luLmlvL21jcCJ9
config is the base64 of {"url":"https://mcp.stackin.io/mcp"}. By hand, in
.cursor/mcp.json (project) or ~/.cursor/mcp.json (global) — Cursor wants ${env:VAR}:
{
"mcpServers": {
"stackin": {
"url": "https://mcp.stackin.io/mcp",
"headers": { "Authorization": "Bearer ${env:STACKIN_API_KEY}" }
}
}
}
The repository is also a Cursor plugin (.cursor-plugin/plugin.json), with the skills.
Install link (Insiders: replace vscode: with vscode-insiders:):
vscode:mcp/install?%7B%22name%22%3A%22stackin%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.stackin.io%2Fmcp%22%7D
From a terminal:
code --add-mcp '{"name":"stackin","type":"http","url":"https://mcp.stackin.io/mcp"}'
With an API key, in .vscode/mcp.json — VS Code prompts for it and keeps it out of the file:
{
"inputs": [
{ "type": "promptString", "id": "stackin-key", "description": "Stackin API key", "password": true }
],
"servers": {
"stackin": {
"type": "http",
"url": "https://mcp.stackin.io/mcp",
"headers": { "Authorization": "Bearer ${input:stackin-key}" }
}
}
}
In Windsurf's mcp_config.json (open it from Cascade → MCP servers → View raw config).
The key is serverUrl, not url:
{
"mcpServers": {
"stackin": {
"serverUrl": "https://mcp.stackin.io/mcp",
"headers": { "Authorization": "Bearer ${env:STACKIN_API_KEY}" }
}
}
}
In settings.json. Leave headers out and Zed runs the OAuth flow:
{
"context_servers": {
"stackin": {
"url": "https://mcp.stackin.io/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}
The repository is a Gemini CLI extension (gemini-extension.json), with the skills:
gemini extensions install https://github.com/stackin-io/stackin-mcp-plugin
Or only the server:
gemini mcp add --transport http stackin https://mcp.stackin.io/mcp
In settings.json, httpUrl is streamable HTTP (url would mean SSE):
{
"mcpServers": {
"stackin": {
"httpUrl": "https://mcp.stackin.io/mcp",
"headers": { "Authorization": "Bearer $STACKIN_API_KEY" }
}
}
}
Install link:
goose://extension?url=https%3A%2F%2Fmcp.stackin.io%2Fmcp&type=streamable_http&id=stackin&name=Stackin&description=Brazilian%20fiscal%20documents%20%28NF-e%20and%20NFS-e%29
Or goose configure → Add Extension → Remote Extension (Streamable HTTP) → URL
https://mcp.stackin.io/mcp.
These APIs call a remote MCP server on your behalf; send the key as a bearer token.
xAI (POST https://api.x.ai/v1/responses), in tools:
{
"type": "mcp",
"server_label": "stackin",
"server_url": "https://mcp.stackin.io/mcp",
"authorization": "<your API key>"
}
OpenAI Responses API, in tools (authorization is not stored; send it every request):
{
"type": "mcp",
"server_label": "stackin",
"server_url": "https://mcp.stackin.io/mcp",
"authorization": "<your API key>",
"require_approval": "always"
}
Anthropic Messages API (MCP connector), with the header
anthropic-beta: mcp-client-2025-11-20:
{
"mcp_servers": [
{
"type": "url",
"url": "https://mcp.stackin.io/mcp",
"name": "stackin",
"authorization_token": "<your API key>"
}
],
"tools": [{ "type": "mcp_toolset", "mcp_server_name": "stackin" }]
}
Issuing is irreversible and legally binding: keep a human approval step in front of
issue_invoice and cancel_invoice when an API drives the calls.
Open WebUI (0.6.31 or later): **Admin Settings → Integrations → External Tool Servers →
https://mcp.stackin.io/mcp, auth
Bearer with your key.LM Studio, in mcp.json:
{
"mcpServers": {
"stackin": {
"url": "https://mcp.stackin.io/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}
LibreChat, in librechat.yaml — {{STACKIN_API_KEY}} is asked of each user:
mcpServers:
stackin:
type: streamable-http
url: https://mcp.stackin.io/mcp
headers:
Authorization: "Bearer {{STACKIN_API_KEY}}"
customUserVars:
STACKIN_API_KEY:
title: Stackin API key
description: Generate one at app.stackin.io
sensitive: true
AnythingLLM, in <storage>/plugins/anythingllm_mcp_servers.json. type is required:
without it AnythingLLM assumes SSE.
{
"mcpServers": {
"stackin": {
"type": "streamable",
"url": "https://mcp.stackin.io/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}
Jan documents only local (command) servers: use the mcp-remote bridge below as the
command.
A client that only launches local servers reaches the hosted one through
mcp-remote. Keep the header argument free of spaces
— some clients split arguments on them — and put the space inside the variable:
{
"mcpServers": {
"stackin": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.stackin.io/mcp", "--header", "Authorization:${AUTH}"],
"env": { "AUTH": "Bearer <your API key>" }
}
}
}
Without --header, mcp-remote runs the OAuth flow in a browser itself.
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.
The browser leg has been completed from ChatGPT and from Claude Code (the plugin's
.mcp.json carries no header, so every call it makes runs on an OAuth token). If a client
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, checking the company is ready, looking the recipient up in the client registry and each line in the catalog, and validating before issuing |
first-invoice |
From "not ready" to the first real document: readiness once, completing the company with update_company, a test in homologation, then production |
consult-invoice |
Finding a document, which identifier each operation takes, settling an OUTCOME_UNKNOWN NFS-e by its DPS id, and counting with invoice_stats |
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, explain_rejection, 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 |
Checking what was already declared, then declaring an NF-e range reserved and never used |
received-invoices |
Reading documents other companies issued against this one, downloading their full XML, and answering them |
fiscal-lookup |
Resolving an NCM, CFOP or CEST before issuing, and treating a classify_item suggestion as one, and simulating IBS/CBS with calculate_ibs_cbs |
taxpayer-lookup |
Confirming who a tax id belongs to, and why a 404 is not an invalid CNPJ |
manage-clients |
Finding, saving and fixing the company's saved clients, and why a duplicate is refused |
manage-items |
Finding, saving and fixing the company's catalog of products and services, and issuing from it with item_id |
select-company |
Choosing which company a call acts for when one connection covers several |
manage-webhooks |
Registering an endpoint once, never echoing its secret, removing one, and reading its deliveries |
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.
What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
This server advertises the tools below. A tool list is an inventory of what the server can do — it is not a finding, and it is not part of the score.
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 when they quote the line; both must agree. nfse is a service invoice, one line per document (more is 422 NFSE_SINGLE_ITEM): the address is optional and service_code (LC 116/2003 item.subitem) falls back to the company's fiscal profile. The nfse group fills
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 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 reaches the tax authority verbatim and must be at least 15 characters. Pass idempotency_key to make a retry safe: repeating the same key with the same access key and reason replays the first answer instead of cancelling a second time. Reuse the key only when retry
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 document. A PDF above 2 MB is not inlined: the answer says to download it from the API instead. A 502 from here means the authorizer is unavailable, not that the invoice is wrong.
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 same reason issue_invoice does. An authorized invoice is corrected or cancelled, never reissued.
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 values, taxes, the recipient or the products — those still require cancelling and issuing again, and telling the user a CC-e will fix an amount is wrong in a way they only discover at an audit. Each letter supersedes the previous one and the SEFAZ keeps at most
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 be used. Only for numbers that were never authorized. An authorized document is cancelled, never invalidated. Confirm the range with the user and read it back before calling: the range is inclusive, and one digit wrong burns numbers the company still needs.
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 find a document whose access key the user does not have at hand. Read-only. An authorized document is stored as issued, which is the value the rows carry; authorized is accepted as a synonym and asks for the same thing. Every row carries both identifiers the
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 they went over the wire. Read-only. It takes the invoice_id, like reissue_invoice — a rejected document has no access key to look it up by. Get the id from list_invoices. The rows are attempts, not documents: a reissued invoice has more than one, oldest fi
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 and the amount for the last `days` beside the `days` before them, and one row per day. In the connection's environment only. Read-only.
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 the series, the inclusive range, the reason, the SEFAZ status and its protocol. Read-only.
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 first, without the API. It does not replace issuing: the authorizer can still reject what passes (recipient registration, a number already used).
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 authority; collection runs every six hours and sync_received_invoices asks now. Each row carries the issuer, the amount, has_full_document and, once one was filed, the manifestation; final_answer_due means only an awareness was filed. Before a manifestation the aut
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_at, the same instant list_received_invoices reports in sync). Never retry in a loop, and never ask before that instant: asking early renews the block.
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 being filed. Denying a document (210220) or declaring the operation did not happen (210240) is an accusation against whoever issued it. Never pick either because the user sounds unsure — ask. 210200 confirms the operation happened, 210210 acknowledges the do
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: the answer says to download it from the API instead.
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 not there answers 404. That means the code is wrong, not that the lookup failed; do not retry it. `metadata` differs per kind and is passed through as published: utrib on an NCM, ncm_code on a CEST, tax_type on a CST, and nothing at all on an ISS service.
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 a lookup. Leaving `kind` unset searches every classification of that country at once, which is the most expensive call here. Set it whenever the question already names one. Rows come back ordered by kind then code; there is no sort argument, and asking for
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.
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 not be: the registry holds the names and addresses of real people. A 404 does not mean the company does not exist. The registry reloads monthly from the RFB's dump, so a recently registered CNPJ is simply not in it yet. Say that to the user rather than repo
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 with its code, name and state; ask the user which one when more than one fits. Read-only.
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.
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 belong in the item's ibs_cbs group only when the user also confirms them. Empty when the annex lists none.
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 (CNPJ or CPF) the other tools accept as company_id or company_tax_id, and the permissions granted there. One connection may cover several companies; when it covers only one, the other tools need no company at all. Read-only.
The plan's allowances, what is used and the credit left. Read it before saying an action is free. Read-only.
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 it per nfe and nfse, each blocker with the fields at fault and each warning a default being declared; fix_url is the dashboard screen for the first blocker. What to do with it: - address: offer to fill it in here. Read the company's own registry row with l
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 write, and call only after they confirm it. Never invent or guess a field; leave out what neither the registry nor the user gave. The state cannot change here. The registry row keeps street_type, street, number and neighborhood under metadata.address and the CEP
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. Read-only.
Read one saved client, with its full address. Read-only.
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 update it instead. Confirm the data with the user when any of it was inferred.
Hide a saved client; reactivate_client brings it back.
Bring a deactivated client back to the registry.
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 first. Read-only.
Read one catalog item with its fiscal fields. Read-only.
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 NF-e still needs ncm and cfop when issued. It issues nothing. Confirm the data with the user when any of it was inferred.
Hide a catalog item; reactivate_item brings it back.
Bring a deactivated item back into the company's catalog.
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 it, the field at fault and, when there is one, a suggested value. Quote the code and the message to the user; they are what they will search for. A suggested value is confirmed with the user before reissue_invoice, never applied on its own. transient means th
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 owed, and a plausible wrong one is authorized by the SEFAZ and only caught at an audit. Show the primary candidate, its confidence and the alternatives, say it is a suggestion, and put a code on an item only after the user confirms it — whatever the confidence.
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.
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), is then sent there, signed with the secret. Confirm the URL with the user before calling: it is where their fiscal data goes. The API refuses a URL that is not HTTPS or points at a private network. Needs webhook:manage. Calling it twice registers two endpo
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 does not have is refused (404). Needs webhook:manage.
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 tried again. Needs webhook:manage. Read-only.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.