# Stackin MCP server

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

## Facts

- Endpoint: https://mcp.stackin.io/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: A (97/100, scanned 2026-10-04) · report https://gateturbo.com/report/ca0bfe7c-9d70-4c97-b4f3-ce4488b81c9d
- Tools: 16
- Category: Productivity · source: registry
- Repository: https://github.com/stackin-io/stackin-mcp-plugin
- Last probed: 2026-09-16 · first listed: 2026-09-09
- Directory page: https://gateturbo.com/mcp/stackin · this document: https://gateturbo.com/mcp/stackin.md · JSON: https://gateturbo.com/api/directory/servers/stackin

## Tools (16)

- `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
- `consult_invoice`: Look up an invoice's current status by its access key. Read-only: it never changes the document. 
- `cancel_invoice`: Cancel an authorized invoice. Legal cancellation, with fiscal and accounting effect, inside a window the NFS-e authorizer enforces for the 
- `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 base6
- `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 doc
- `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 
- `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 explain
- `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 i
- `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 
- `validate_invoice_payload`: Check invoice data against the field rules without issuing anything. Nothing is sent to the tax authority and no document is created. The S
- `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
- `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 t
- `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 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. Pr
- `list_fiscal_kinds`: Which classifications this country has data for, right now. Ask this before assuming a classification exists. The answer grows as the sourc
- `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

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Stackin to your gate (https://gateturbo.com/login?next=/discovery?connect=stackin).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/stackin/claude · Claude Desktop → https://gateturbo.com/mcp/stackin/claude-desktop · ChatGPT → https://gateturbo.com/mcp/stackin/chatgpt · Codex → https://gateturbo.com/mcp/stackin/codex · Cursor → https://gateturbo.com/mcp/stackin/cursor · Windsurf → https://gateturbo.com/mcp/stackin/windsurf · VS Code → https://gateturbo.com/mcp/stackin/vscode · Gemini CLI → https://gateturbo.com/mcp/stackin/gemini-cli · OpenClaw → https://gateturbo.com/mcp/stackin/openclaw · n8n → https://gateturbo.com/mcp/stackin/n8n · A script or server → https://gateturbo.com/mcp/stackin/script

### Direct: Claude Code

Add Stackin to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http stackin https://mcp.stackin.io/mcp
```

### Direct: Cursor

Add Stackin to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "stackin": {
      "url": "https://mcp.stackin.io/mcp"
    }
  }
}
```

### Direct: VS Code

Add Stackin to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

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

### Direct: Codex

Add Stackin to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.stackin]
url = "https://mcp.stackin.io/mcp"
```

### Direct: Claude

Add Stackin as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Stackin" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://mcp.stackin.io/mcp
```

### Direct: ChatGPT

Add Stackin as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Stackin" with the URL below.
3. Set authentication to none.

```
https://mcp.stackin.io/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
