Nota Fiscal
Issue and manage Brazilian service invoices (NFS-e) by chatting with your agent, platform-hosted, no
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen connect
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"notafiscal-mcp": {
"url": "https://api.mcp.ai/p_notafiscal"
}
}
}Puntos de conexión remotos
https://api.mcp.ai/p_notafiscalstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪notafiscal_emitir_nfse(company, nfse, external_id, external_ids)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"company": {
"type": "string"
},
"nfse": {
"type": "string"
},
"external_id": {
"type": "string"
},
"external_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"nfse"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢notafiscal_consultar_nfse(company, invoice_id, invoice_ids)
Consulta o status/detalhe de uma NFS-e emitida, por invoice_id. Bulk support: accepts invoice_ids for batched execution.
Esquema de entrada
{
"type": "object",
"properties": {
"company": {
"type": "string"
},
"invoice_id": {
"type": "string"
},
"invoice_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"invoice_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢notafiscal_listar_nfse(company, page_count, page_index)
Lista as NFS-e emitidas por uma empresa (paginado).
Esquema de entrada
{
"type": "object",
"properties": {
"company": {
"type": "string"
},
"page_count": {
"default": 50,
"type": "number"
},
"page_index": {
"default": 1,
"type": "number"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢notafiscal_baixar_nfse(company, invoice_id, invoice_ids)
Retorna os links de PDF (DANFSe) e XML de uma NFS-e emitida. Bulk support: accepts invoice_ids for batched execution.
Esquema de entrada
{
"type": "object",
"properties": {
"company": {
"type": "string"
},
"invoice_id": {
"type": "string"
},
"invoice_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"invoice_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴notafiscal_cancelar_nfse(company, invoice_id, invoice_ids)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"company": {
"type": "string"
},
"invoice_id": {
"type": "string"
},
"invoice_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"invoice_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢show_version
Show the current MCP platform and adapter versions.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡report_bug(message, context, conversation)
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
Esquema de entrada
{
"type": "object",
"properties": {
"message": {
"type": "string"
},
"context": {
"default": "",
"type": "string"
},
"conversation": {
"default": "[]",
"type": "string"
}
},
"required": [
"message"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢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.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢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.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡marketplace(action, query, mcp_id, limit, tier_slug, ...)
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; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
Esquema de entrada
{
"type": "object",
"properties": {
"action": {
"default": "search",
"type": "string",
"enum": [
"search",
"describe",
"install",
"uninstall",
"subscribe",
"cancel",
"resume",
"report_bug",
"request_mcp",
"list_tools",
"invoke",
"search_prompts",
"get_prompt",
"publish_prompt"
]
},
"query": {
"default": "",
"type": "string"
},
"mcp_id": {
"default": "",
"type": "string"
},
"limit": {
"default": 10,
"type": "number"
},
"tier_slug": {
"default": "",
"type": "string"
},
"immediate": {
"default": false,
"type": "boolean"
},
"cancel_reason": {
"type": "string",
"enum": [
"too_expensive",
"missing_features",
"switched_service",
"unused",
"customer_service",
"too_complex",
"low_quality",
"other"
]
},
"cancel_comment": {
"default": "",
"type": "string"
},
"message": {
"default": "",
"type": "string"
},
"report_context": {
"default": "",
"type": "string"
},
"conversation": {
"default": "[]",
"type": "string"
},
"request_name": {
"default": "",
"type": "string"
},
"request_details": {
"default": "",
"type": "string"
},
"tool_id": {
"default": "",
"type": "string"
},
"arguments": {
"default": "{}",
"type": "string"
},
"prompt_slug": {
"default": "",
"type": "string"
},
"prompt_vars": {
"default": "{}",
"type": "string"
},
"prompt_category": {
"default": "",
"type": "string"
},
"prompt_tool": {
"default": "",
"type": "string"
},
"prompt_title": {
"default": "",
"type": "string"
},
"prompt_description": {
"default": "",
"type": "string"
},
"prompt_body": {
"default": "",
"type": "string"
},
"prompt_targets": {
"default": [],
"type": "array",
"items": {
"type": "string",
"enum": [
"claude",
"chatgpt",
"cursor",
"lovable"
]
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡authenticate(token)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia