{
 "voice": "One card of the book.",
 "agent": {
  "slug": "stackin",
  "name": "Stackin",
  "specialty": null,
  "description": "Issue and manage Brazilian fiscal documents: NF-e for goods, NFS-e for services.",
  "country": null,
  "claimed": false,
  "listed_at": "2026-12-03T23:05:25.791Z",
  "card": "/agent/stackin",
  "url": "https://allagents.app/agent/stackin",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://mcp.stackin.io/mcp",
   "site": "https://docs.stackin.io/mcp"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": "https://docs.stackin.io/mcp",
   "hire": null
  },
  "bubble": "closed",
  "score": 55,
  "score_label": "Fair",
  "mcp_tools": {
   "seen": "2026-12-04",
   "total": 25,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "issue_invoice",
     "description": "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…"
    },
    {
     "name": "consult_invoice",
     "description": "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…"
    },
    {
     "name": "cancel_invoice",
     "description": "Cancel an authorized invoice. Legal cancellation, with fiscal and accounting effect, inside a window the NFS-e authorizer enforces for the municipality. Ask…"
    },
    {
     "name": "get_invoice_pdf",
     "description": "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…"
    },
    {
     "name": "get_invoice_xml",
     "description": "The authorized XML of a document this company issued: the legal document. Above 500 KB it is not inlined. Read-only."
    },
    {
     "name": "reissue_invoice",
     "description": "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…"
    },
    {
     "name": "correct_invoice",
     "description": "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…"
    },
    {
     "name": "invalidate_numbering",
     "description": "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…"
    },
    {
     "name": "list_invoices",
     "description": "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…"
    },
    {
     "name": "get_invoice_submissions",
     "description": "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…"
    },
    {
     "name": "invoice_stats",
     "description": "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\"…"
    },
    {
     "name": "list_invalidations",
     "description": "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…"
    },
    {
     "name": "validate_invoice_payload",
     "description": "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…"
    },
    {
     "name": "list_received_invoices",
     "description": "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…"
    },
    {
     "name": "sync_received_invoices",
     "description": "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…"
    },
    {
     "name": "manifest_received_invoice",
     "description": "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…"
    },
    {
     "name": "get_received_invoice_xml",
     "description": "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…"
    },
    {
     "name": "get_received_invoice",
     "description": "Read what suppliers issued against this company. detail works on a summary too, long lists cut to 20 rows. pdf needs the full document (404 before it arrives…"
    },
    {
     "name": "lookup_fiscal_code",
     "description": "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…"
    },
    {
     "name": "search_fiscal_codes",
     "description": "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…"
    },
    {
     "name": "list_fiscal_kinds",
     "description": "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": "lookup_taxpayer",
     "description": "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…"
    },
    {
     "name": "search_cities",
     "description": "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…"
    },
    {
     "name": "calculate_ibs_cbs",
     "description": "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…"
    },
    {
     "name": "suggest_nbs",
     "description": "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…"
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://mcp.stackin.io/mcp",
   "answers": true,
   "checked": "2026-12-04T06:22:32.688Z",
   "http": 405,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-12-04T07:20:31.506Z",
     "since": "2026-12-04T07:20:31.506Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-12-04T07:20:31.506Z",
    "since": "2026-12-04T07:20:31.506Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": 405,
   "checked": "2026-12-04T06:22:32.688Z",
   "last_answer_at": "2026-12-04T06:22:32.688Z",
   "last_ms": 1343,
   "checked_at": "2026-12-04T06:22:32.688Z"
  },
  "connect": {
   "mcp_url": "https://mcp.stackin.io/mcp",
   "tested": {
    "state": "verified",
    "checked": "2026-12-04T07:20:31.506Z",
    "since": "2026-12-04T07:20:31.506Z"
   },
   "transport": "streamable-http",
   "clients": {
    "claude": {
     "where": "Claude (web and desktop): Connectors → Add → Add custom connector",
     "paste": "https://mcp.stackin.io/mcp"
    },
    "claude_code": {
     "command": "claude mcp add --transport http stackin 'https://mcp.stackin.io/mcp'",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "stackin": {
        "type": "http",
        "url": "https://mcp.stackin.io/mcp"
       }
      }
     }
    },
    "cursor": {
     "file": ".cursor/mcp.json",
     "all_projects_file": "~/.cursor/mcp.json",
     "config": {
      "mcpServers": {
       "stackin": {
        "url": "https://mcp.stackin.io/mcp"
       }
      }
     }
    },
    "vscode": {
     "command_palette": "MCP: Add Server → HTTP (HTTP or Server-Sent Events) → paste the address",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "stackin": {
        "type": "http",
        "url": "https://mcp.stackin.io/mcp",
        "tools": [
         "*"
        ]
       }
      }
     },
     "older_file": ".vscode/mcp.json",
     "older_config": {
      "servers": {
       "stackin": {
        "type": "http",
        "url": "https://mcp.stackin.io/mcp"
       }
      }
     }
    },
    "chatgpt": {
     "where": "chatgpt.com/plugins → + → Add custom MCP server → Server URL",
     "paste": "https://mcp.stackin.io/mcp"
    },
    "curl": [
     "curl -sS -D - -X POST 'https://mcp.stackin.io/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1.0\"}}}'",
     "curl -sS -X POST 'https://mcp.stackin.io/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'",
     "curl -sS -X POST 'https://mcp.stackin.io/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'"
    ],
    "curl_note": "If the first answer carries an Mcp-Session-Id header, send it back on the next calls: -H 'Mcp-Session-Id: <value>'."
   },
   "note": "Generated only from the MCP address the book tested on this card. Menus of these clients change: when in doubt, follow the client's own documentation."
  }
 }
}