CIGAM
CIGAM ERP (management for industry, retail and franchises) via session capture with your authorizati
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (6)
- LOWin cigam_fluxo_caixa
- LOWin cigam_ranking_clientes
- LOWin cigam_inadimplencia
- LOWin cigam_resultado
- LOWin cigam_formas_pagamento
- LOWin connect
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"cigam-mcp": {
"url": "https://api.mcp.ai/p_cigam"
}
}
}Remote-Endpunkte
https://api.mcp.ai/p_cigamstreamable-httpWas es kann
Tool-Inventar
Tools (28)
🟢cigam_list_accounts(account)
Lista as contas CIGAM conectadas a este install — id, label (instância/usuário).
Eingabe-Schema
{
"type": "object",
"properties": {
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_listar_lojas(account)
Lista as lojas/empresas que a conta enxerga (código, nome, CNPJ). Use o `loja` retornado nos demais filtros.
Eingabe-Schema
{
"type": "object",
"properties": {
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_notas_fiscais(loja, data_inicial, data_final, numero_nf, referencia, ...)
Lista notas fiscais de uma loja por período. Retorna número, série, destinatário, valor, status, chave NF-e, etc.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"numero_nf": {
"type": "number"
},
"referencia": {
"type": "string"
},
"status": {
"type": "array",
"items": {
"type": "number"
}
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_vendas(loja, data_inicial, data_final, page, limit, ...)
Vendas de uma loja por período (notas fiscais de saída do tipo Venda). Retorna as NFs de venda (data, destinatário, valor) + `resumo` com quantidade e valor total do período.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_compras(loja, data_inicial, data_final, page, limit, ...)
Compras de uma loja por período (notas fiscais de entrada do tipo Compra). Retorna as NFs de compra + `resumo` com quantidade e valor total.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_devolucoes(loja, data_inicial, data_final, page, limit, ...)
Devoluções de uma loja por período (notas fiscais com movimento de devolução, entrada e saída). Retorna as NFs + `resumo` com quantidade e valor total.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_vendas_resumo(loja, data_inicial, data_final, account)
Panorama do período numa loja: totais de vendas, compras e devoluções (quantidade e valor de cada). Um único resumo, sem listar as notas.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_fluxo_caixa(loja, data_inicial, data_final, account)
Fluxo de caixa projetado de uma loja por período: total a receber (contas a receber em aberto) vs total a pagar (contas a pagar), e o saldo projetado. Janela máxima de 60 dias.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_ranking_clientes(loja, data_inicial, data_final, top, account)
Ranking de clientes por valor vendido no período (agrupa as vendas por destinatário/CNPJ-CPF). Retorna os maiores compradores ordenados por valor.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"top": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_vendas_por_dia(loja, data_inicial, data_final, account)
Série de vendas por dia no período (quantidade e valor por data) + resumo com total e ticket médio.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_inadimplencia(loja, data_inicial, data_final, page, limit, ...)
Contas a receber vencidas e ainda em aberto (inadimplência). Cada item traz dias de atraso e valor em aberto, ordenados do mais atrasado. Default: vencimentos dos últimos 60 dias (janela máxima de 60 dias por consulta).
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_resultado(loja, data_inicial, data_final, account)
Resultado gerencial simplificado de uma loja por período: receita (vendas faturadas líquidas de devolução) menos despesas (lançamentos financeiros por plano de contas), com o detalhe das despesas por categoria.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_formas_pagamento(loja, data_inicial, data_final, account)
Mix de formas de recebimento de uma loja por período: total recebido por forma de pagamento, por bandeira de cartão e por adquirente (maquininha). Janela máxima de 60 dias.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_relatorio(report_id, filtros, aguardar_segundos, account, report_ids)
Gera um relatório do CIGAM (operação LENTA, ~2 min, produz um arquivo Excel). Espera inline até `aguardar_segundos`; se não ficar pronto, retorna um `job_id` (busque depois com cigam_job, sem ficar repetindo). Retorna `arquivo_url` (link temporário do Excel). Ex. de report_id: REL_201 (Vendas por Período), REL_610 (posição atual de estoque). Bulk support: accepts report_ids for batched execution.
Eingabe-Schema
{
"type": "object",
"properties": {
"report_id": {
"type": "string"
},
"filtros": {
"type": "string"
},
"aguardar_segundos": {
"type": "number"
},
"account": {
"type": "string"
},
"report_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"report_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_job(job_id, aguardar_segundos, account, job_ids)
Busca o resultado de um job assíncrono (ex.: relatório) pelo `job_id` retornado por outra tool. Espera inline até `aguardar_segundos`. Sem polling: só chame de novo se voltar status 'running'. Bulk support: accepts job_ids for batched execution.
Eingabe-Schema
{
"type": "object",
"properties": {
"job_id": {
"type": "string"
},
"aguardar_segundos": {
"type": "number"
},
"account": {
"type": "string"
},
"job_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"job_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_estoque(codigo_barra, limit, aguardar_segundos, account)
Posição atual de estoque (saldo por código de barras). Operação LENTA (gera um relatório, ~1 min); espera até `aguardar_segundos`, senão retorna um job_id (busque com cigam_job). Informe `codigo_barra` para o saldo de um produto específico, ou nada para um resumo (total de SKUs, SKUs com saldo, unidades) + amostra dos itens com saldo. Obs.: traz só o código de barras, sem nome de produto.
Eingabe-Schema
{
"type": "object",
"properties": {
"codigo_barra": {
"type": "string"
},
"limit": {
"type": "number"
},
"aguardar_segundos": {
"type": "number"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_contas_receber(loja, data_inicial, data_final, cod_cliente, situacao, ...)
Lista contas a receber por período. Cliente, vencimento, forma de pagamento, valores, parcelas, NSU/autorização de cartão.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"cod_cliente": {
"type": "string"
},
"situacao": {
"type": "string"
},
"tipo_data": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_contas_pagar(loja, data_inicial, data_final, numero_nf, duplicata, ...)
Lista contas a pagar por período. Fornecedor, vencimento, plano de contas, nota fiscal/duplicata, valores, juros.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"numero_nf": {
"type": "string"
},
"duplicata": {
"type": "string"
},
"cod_fornecedor": {
"type": "string"
},
"cod_plano_contas": {
"type": "string"
},
"situacao": {
"type": "string"
},
"tipo_data": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_caixa(loja, data_inicial, data_final, numero_caixa, situacao, ...)
Lista fechamentos de caixa por período. Entradas, saídas, fundo de caixa, vendas líquidas/do dia, saldo.
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"numero_caixa": {
"type": "string"
},
"situacao": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_lancamentos(loja, data_inicial, data_final, cod_plano_contas, tipo_conta, ...)
Lista lançamentos financeiros por período. Competência, plano de contas, histórico, valor, forma de pagamento, tipo (débito/crédito).
Eingabe-Schema
{
"type": "object",
"properties": {
"loja": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"data_final": {
"type": "string"
},
"cod_plano_contas": {
"type": "string"
},
"tipo_conta": {
"type": "string"
},
"tipo_data": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"loja"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_fornecedores(cnpj, page, limit, account)
Lista/pesquisa fornecedores cadastrados. Razão social, nome fantasia, CNPJ, endereço, contato, situação.
Eingabe-Schema
{
"type": "object",
"properties": {
"cnpj": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢cigam_consulta(guid, params, account)
Consulta genérica ao gateway do CIGAM (ObterCarga) para listas auxiliares (planos de conta, formas de pagamento, marcas, etc.). Informe o `guid` e os `params`.
Eingabe-Schema
{
"type": "object",
"properties": {
"guid": {
"type": "string"
},
"params": {
"type": "string"
},
"account": {
"type": "string"
}
},
"required": [
"guid"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢show_version
Show the current MCP platform and adapter versions.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis