MCP-Server

HiveCloud CT-e / MDF-e

io.github.mcp-dir/hivecloud-mcp
Business & Betrieb Recht & Compliance Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Manages Brazilian electronic freight and transport fiscal documents, including CT-e and MDF-e creation, querying, issuance, cancellation, correction, export, and trip reporting.

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.
Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'token': {'type': 'string'}}}
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
hivecloud_cte_averbar
Averba (registra o seguro de carga) um ou mais CT-e (por id). Exige allow_writes.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_cte_cancelar
ATO FISCAL REAL: cancela um ou mais CT-e autorizados (por id) junto à SEFAZ. Irreversível. Exige allow_writes.
Destruktiv
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_cte_carta_correcao
ATO FISCAL REAL: emite uma carta de correção (CC-e) para um CT-e autorizado. `correcoes` é um objeto só com os campos a corrigir (ex.: {caracteristicaAdicionalTransporte, tipoServico, finalidadeEmissao, localEmissao, remetente, destinatario, ...}). Exige allow_writes. Bulk support: accepts cte_ids, empresa_ids for batched execution.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['cte_id', 'correcoes'], 'properties': {'cte_id': {'type': 'string'}, 'account': {'type': 'string'}, 'cte_ids': {'type': 'array', 'items': {'type': 'string'}}, 'correcoes': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'empresa_id': {'type': 'string'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_cte_criar_de_nfe
Cria um RASCUNHO de CT-e a partir de uma ou mais chaves de NF-e (mesmo remetente e destinatário). Importa os dados da nota, usa o último CT-e autorizado da empresa como base de imposto/CFOP/local de emissão e preenche carga, valores e envolvidos. NÃO transmite à SEFAZ: o documento fica em digitação pra revisão e emissão. Exige allow_writes na conexão. Bulk support: accepts template_cte_ids, empresa_ids for batched execution.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nfe_chaves', 'valor_frete'], 'properties': {'account': {'type': 'string'}, 'tomador': {'enum': ['remetente', 'destinatario'], 'type': 'string'}, 'empresa_id': {'type': 'string'}, 'nfe_chaves': {'type': 'array', 'items': {'type': 'string'}}, 'observacao': {'type': 'string'}, 'cfop_codigo': {'type': 'string'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}, 'valor_frete': {'type': 'number'}, 'cfop_natureza': {'type': 'string'}, 'template_cte_id': {'type': 'string'}, 'template_cte_ids': {'type': 'array', 'items': {'type': 'string'}}, 'responsavel_frete': {'enum': ['REMETENTE', 'DESTINATARIO', 'EXPEDIDOR', 'RECEBEDOR', 'TERCEIROS'], 'type': 'string'}, 'produto_predominante': {'type': 'string'}}}
hivecloud_cte_dacte
Gera o PDF do DACTE de um ou mais CT-e autorizados e devolve a URL de download (temporária). Mesma ação do botão Imprimir DACTe do emissor, não altera o documento.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_cte_emitir
ATO FISCAL REAL: transmite um ou mais CT-e à SEFAZ (por id). Opera sobre documentos já criados/em digitação. Exige allow_writes habilitado na conexão.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_cte_excluir
Exclui um ou mais CT-e (rascunhos/rejeitados, por id). Irreversível. Exige allow_writes.
Destruktiv
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_cte_xml
Exporta o XML de um ou mais CT-e (zip) e devolve a URL de download (temporária). Mesma ação do botão Exportar XML do emissor, não altera o documento.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_get_cte
Detalha um CT-e específico pelo id. Bulk support: accepts ids, empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string'}, 'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_get_mdfe
Detalha um MDF-e pelo id: placa do veículo (dadosVeiculo), condutores (nome/CPF), CIOT, documentos vinculados (chaves de CT-e/NF-e), UFs, valor e peso da carga, status e protocolos. A listagem não traz esses campos, só o detalhe. Exige mdfe_tenant_id na conexão. Bulk support: accepts ids, empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string'}, 'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_list_accounts
Lista as contas HiveCloud conectadas a este install (cada usuário+ambiente = uma conta).
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
hivecloud_list_ctes
Lista os CT-e (Conhecimento de Transporte eletrônico) da empresa, paginado, com filtro por data de emissão. Retorna número, série, UF inicial/final, valor do frete, remetente/destinatário, status, datas e status de averbação. Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'pageSize': {'type': 'number'}, 'data_final': {'type': 'string'}, 'empresa_id': {'type': 'string'}, 'pageNumber': {'type': 'number'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}, 'data_inicial': {'type': 'string'}}}
hivecloud_list_dces
Lista as DC-e (Declaração de Conteúdo eletrônica) da empresa, paginado. Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'pageSize': {'type': 'number'}, 'empresa_id': {'type': 'string'}, 'pageNumber': {'type': 'number'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_list_empresas
Lista as empresas emitentes do ambiente (id, nome, cnpj). O `id` é o `empresa_id` exigido nas demais tools (passo de seleção da empresa).
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
hivecloud_list_inutilizacoes
Lista as inutilizações de numeração de CT-e da empresa, paginado. Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'pageSize': {'type': 'number'}, 'empresa_id': {'type': 'string'}, 'pageNumber': {'type': 'number'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_list_mdfes
Lista os MDF-e (Manifesto Eletrônico de Documentos Fiscais) da empresa, paginado (número, série, dataEmissao, statusMdfe, UF de carregamento/descarregamento, CIOT). Exige mdfe_tenant_id na conexão (ambiente do MDF-e, distinto do CT-e). Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'pageSize': {'type': 'number'}, 'data_final': {'type': 'string'}, 'empresa_id': {'type': 'string'}, 'pageNumber': {'type': 'number'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}, 'data_inicial': {'type': 'string'}}}
hivecloud_list_motoristas
Lista os motoristas/condutores cadastrados (nome, cpf, cnh), usados no MDF-e, paginado. Exige mdfe_tenant_id na conexão. Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'pageSize': {'type': 'number'}, 'empresa_id': {'type': 'string'}, 'pageNumber': {'type': 'number'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_list_veiculos
Lista os veículos cadastrados (placa, motorista, reboque, tara), usados no MDF-e, paginado. Exige mdfe_tenant_id na conexão. Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'pageSize': {'type': 'number'}, 'empresa_id': {'type': 'string'}, 'pageNumber': {'type': 'number'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_mdfe_cancelar
ATO FISCAL REAL: cancela um ou mais MDF-e (por id) junto à SEFAZ. Irreversível. Exige allow_writes + mdfe_tenant_id.
Destruktiv
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_mdfe_damdfe
Gera o PDF do DAMDFE de um ou mais MDF-e e devolve a URL de download (temporária). Mesma ação do botão de impressão do emissor, não altera o documento. Exige mdfe_tenant_id na conexão.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_mdfe_emitir
ATO FISCAL REAL: transmite um ou mais MDF-e à SEFAZ (por id). Exige allow_writes + mdfe_tenant_id.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_mdfe_empresas
Lista as empresas emitentes do ambiente de MDF-e (o MDF-e tem ambiente e empresas PRÓPRIOS, distintos do CT-e). O `id` é o `empresa_id` das tools de MDF-e. Exige mdfe_tenant_id na conexão.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
hivecloud_mdfe_encerrar
ATO FISCAL REAL: encerra um ou mais MDF-e (por id) após o fim da viagem. Exige allow_writes + mdfe_tenant_id.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_mdfe_xml
Exporta o XML de um ou mais MDF-e (zip) e devolve a URL de download (temporária). Não altera o documento. Exige mdfe_tenant_id na conexão.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string'}}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}}}
hivecloud_nfe_info
Consulta os dados de uma NF-e pela chave de acesso (44 dígitos) via emissor: remetente e destinatário (já resolvidos no cadastro), valor da carga, pesos, volumes e produto predominante. É o passo antes de criar o CT-e. A consulta conta na franquia de consultas de NF-e do plano do emissor. Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['chave'], 'properties': {'chave': {'type': 'string'}, 'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
hivecloud_relatorio_viagens
Relatório consolidado de viagens (MDF-e) por período: contagem por mês, ranking por placa e por motorista, com filtros por placa e/ou motorista (CPF ou nome) e faturamento opcional (soma do valorTotalFrete dos CT-e vinculados a cada MDF-e). Consolida N empresas numa chamada (empresa_ids; omitido = todas). Resolve tudo server-side (lista o período e detalha cada MDF-e). Cancelados ficam fora por padrão. Exige mdfe_tenant_id na conexão. Responde perguntas como: quantas cargas a placa X fez no trimestre e quanto faturou.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'placa': {'type': 'string'}, 'account': {'type': 'string'}, 'motorista': {'type': 'string'}, 'data_final': {'type': 'string'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}, 'data_inicial': {'type': 'string'}, 'incluir_cancelados': {'type': 'boolean'}, 'incluir_faturamento': {'type': 'boolean'}}}
hivecloud_sefaz_status
Status do serviço da SEFAZ para a empresa (se o servidor da Fazenda está em operação). Bulk support: accepts empresa_ids for batched execution.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'empresa_id': {'type': 'string'}, 'empresa_ids': {'type': 'array', 'items': {'type': 'string'}}}}
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; 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.
Externer Zugriff
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'default': 10}, 'query': {'type': 'string', 'default': ''}, 'action': {'enum': ['search', 'describe', 'install', 'uninstall', 'subscribe', 'cancel', 'resume', 'report_bug', 'request_mcp', 'list_tools', 'invoke', 'search_prompts', 'get_prompt', 'publish_prompt'], 'type': 'string', 'default': 'search'}, 'mcp_id': {'type': 'string', 'default': ''}, 'message': {'type': 'string', 'default': ''}, 'tool_id': {'type': 'string', 'default': ''}, 'arguments': {'type': 'string', 'default': '{}'}, 'immediate': {'type': 'boolean', 'default': False}, 'tier_slug': {'type': 'string', 'default': ''}, 'prompt_body': {'type': 'string', 'default': ''}, 'prompt_slug': {'type': 'string', 'default': ''}, 'prompt_tool': {'type': 'string', 'default': ''}, 'prompt_vars': {'type': 'string', 'default': '{}'}, 'conversation': {'type': 'string', 'default': '[]'}, 'prompt_title': {'type': 'string', 'default': ''}, 'request_name': {'type': 'string', 'default': ''}, 'cancel_reason': {'enum': ['too_expensive', 'missing_features', 'switched_service', 'unused', 'customer_service', 'too_complex', 'low_quality', 'other'], 'type': 'string'}, 'cancel_comment': {'type': 'string', 'default': ''}, 'prompt_targets': {'type': 'array', 'items': {'enum': ['claude', 'chatgpt', 'cursor', 'lovable'], 'type': 'string'}, 'default': []}, 'report_context': {'type': 'string', 'default': ''}, 'prompt_category': {'type': 'string', 'default': ''}, 'request_details': {'type': 'string', 'default': ''}, 'prompt_description': {'type': 'string', 'default': ''}}}
report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['message'], 'properties': {'context': {'type': 'string', 'default': ''}, 'message': {'type': 'string'}, 'conversation': {'type': 'string', 'default': '[]'}}}
show_version
Show the current MCP platform and adapter versions.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
Hinzugefügt
authenticate
17. September 2026 12:44
Hinzugefügt
marketplace
17. September 2026 12:44
Hinzugefügt
toolkit_info
17. September 2026 12:44
Hinzugefügt
connect
17. September 2026 12:44
Hinzugefügt
report_bug
17. September 2026 12:44
Hinzugefügt
show_version
17. September 2026 12:44
Hinzugefügt
hivecloud_mdfe_cancelar
17. September 2026 12:44
Hinzugefügt
hivecloud_mdfe_encerrar
17. September 2026 12:44
Hinzugefügt
hivecloud_mdfe_emitir
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_carta_correcao
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_averbar
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_excluir
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_cancelar
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_emitir
17. September 2026 12:44
Hinzugefügt
hivecloud_list_motoristas
17. September 2026 12:44
Hinzugefügt
hivecloud_list_veiculos
17. September 2026 12:44
Hinzugefügt
hivecloud_relatorio_viagens
17. September 2026 12:44
Hinzugefügt
hivecloud_mdfe_xml
17. September 2026 12:44
Hinzugefügt
hivecloud_mdfe_damdfe
17. September 2026 12:44
Hinzugefügt
hivecloud_get_mdfe
17. September 2026 12:44
Hinzugefügt
hivecloud_list_mdfes
17. September 2026 12:44
Hinzugefügt
hivecloud_mdfe_empresas
17. September 2026 12:44
Hinzugefügt
hivecloud_sefaz_status
17. September 2026 12:44
Hinzugefügt
hivecloud_list_inutilizacoes
17. September 2026 12:44
Hinzugefügt
hivecloud_list_dces
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_criar_de_nfe
17. September 2026 12:44
Hinzugefügt
hivecloud_nfe_info
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_xml
17. September 2026 12:44
Hinzugefügt
hivecloud_cte_dacte
17. September 2026 12:44
Hinzugefügt
hivecloud_get_cte
17. September 2026 12:44