io.github.mcp-dir/notafiscal-mcp

Nota Fiscal

Issue and manage Brazilian service invoices (NFS-e) by chatting with your agent, platform-hosted, no

0.1.1
Version
remote
Transport
12
Tools

Security review

Review passed

Reviewed 23h ago.

  • tools: 12 tools scanned
  • metadata: scanned

No findings.

Tools (12)

  • notafiscal_empresas

    Lista as empresas (CNPJs) conectadas a este install e a situação de cada uma (company_id, razão social, município, validade do certificado, situacao_fiscal e pode_emitir). CHAME ANTES DE EMITIR: só empresa com pode_emitir=true (situacao_fiscal=Active) consegue emitir NFS-e; 'aviso' explica o bloqueio quando houver.

  • notafiscal_emitir_nfse

    Emite uma NFS-e (nota fiscal de serviço) para uma empresa conectada. Cria um DOCUMENTO FISCAL REAL — confirme os dados antes de chamar. - 'nfse': corpo da nota no schema da nfe.io (JSON string), com ao menos: cityServiceCode, description, servicesAmount, e borrower:{ federalTaxNumber, name, email?, address? }. - 'external_id' (opcional): chave de idempotência — reuse a mesma para não duplicar a nota numa re-tentativa. Retorna o id da nota e o status de processamento. Se a resposta disser que a empresa NÃO está habilitada para emitir (município sem emissão homologada, cadastro em homologação), o problema não é o payload: não re-tente — confira notafiscal_empresas e oriente o usuário. Bulk support: accepts external_ids for batched execution.

  • notafiscal_consultar_nfse

    Consulta o status/detalhe de uma NFS-e emitida, por invoice_id. Bulk support: accepts invoice_ids for batched execution.

  • notafiscal_listar_nfse

    Lista as NFS-e emitidas por uma empresa (paginado).

  • notafiscal_baixar_nfse

    Retorna os links de PDF (DANFSe) e XML de uma NFS-e emitida. Bulk support: accepts invoice_ids for batched execution.

  • notafiscal_cancelar_nfse

    Cancela uma NFS-e emitida (IRREVERSÍVEL, sujeito ao prazo de cancelamento do município). Confirme antes de chamar. Bulk support: accepts invoice_ids for batched execution.

  • show_version

    Show the current MCP platform and adapter versions.

  • report_bug

    Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

  • connect

    Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

  • toolkit_info

    Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.

  • marketplace

    The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing;

  • authenticate

    MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.