# CIGAM — MCP server on mcp.ai > CIGAM ERP (management for industry, retail and franchises) via session capture with your authorization. Since CIGAM has no public API, you provide your access key, user and password and the platform logs into your account to read your own data, on the same API the CIGAM portal uses. Read-only: sales, invoices, accounts payable and receivable, cash register closings, financial entries and suppliers. By: mcp.ai · official Page: https://new.mcp.ai/cigam ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_cigam?ms=1796396580000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_cigam ### Claude 1. Copy the CIGAM link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name CIGAM, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When CIGAM needs your account, the AI sends you a link to connect it: have Instance, Access key, User, Password, API URL (advanced) and Label at hand. Your CIGAM instance name, the part of the address before .cigamgestor.com.br. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the CIGAM link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name CIGAM, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with CIGAM. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When CIGAM needs your account, the AI sends you a link to connect it: have Instance, Access key, User, Password, API URL (advanced) and Label at hand. Your CIGAM instance name, the part of the address before .cigamgestor.com.br. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the CIGAM link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When CIGAM needs your account, the AI sends you a link to connect it: have Instance, Access key, User, Password, API URL (advanced) and Label at hand. Your CIGAM instance name, the part of the address before .cigamgestor.com.br. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the CIGAM link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When CIGAM needs your account, the AI sends you a link to connect it: have Instance, Access key, User, Password, API URL (advanced) and Label at hand. Your CIGAM instance name, the part of the address before .cigamgestor.com.br. 5. Done: just ask in the chat. ### Manus 1. Copy the CIGAM link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When CIGAM needs your account, the AI sends you a link to connect it: have Instance, Access key, User, Password, API URL (advanced) and Label at hand. Your CIGAM instance name, the part of the address before .cigamgestor.com.br. 5. Done: just ask in the chat. ### Agents 1. Copy the CIGAM link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When CIGAM needs your account, the AI sends you a link to connect it: have Instance, Access key, User, Password, API URL (advanced) and Label at hand. Your CIGAM instance name, the part of the address before .cigamgestor.com.br. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/cigam/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/cigam/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/cigam/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/cigam/skill.md Postman collection (v2.1): https://new.mcp.ai/cigam/postman.json ## Tools - cigam_caixa(loja: string, data_inicial?: string, data_final?: string, numero_caixa?: string, situacao?: string, page?: integer, limit?: integer, account?: string) — Lista fechamentos de caixa por período. Entradas, saídas, fundo de caixa, vendas líquidas/do dia, saldo. - cigam_compras(loja: string, data_inicial?: string, data_final?: string, page?: integer, limit?: integer, account?: string) — 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. - cigam_consulta(guid: string, params?: string, account?: string) — 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`. - cigam_contas_pagar(loja: string, data_inicial?: string, data_final?: string, numero_nf?: string, duplicata?: string, cod_fornecedor?: string, cod_plano_contas?: string, situacao?: string, tipo_data?: string, page?: integer, limit?: integer, account?: string) — Lista contas a pagar por período. Fornecedor, vencimento, plano de contas, nota fiscal/duplicata, valores, juros. - cigam_contas_receber(loja?: string, data_inicial?: string, data_final?: string, cod_cliente?: string, situacao?: string, tipo_data?: string, page?: integer, limit?: integer, account?: string) — Lista contas a receber por período. Cliente, vencimento, forma de pagamento, valores, parcelas, NSU/autorização de cartão. - cigam_devolucoes(loja: string, data_inicial?: string, data_final?: string, page?: integer, limit?: integer, account?: string) — 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. - cigam_estoque(codigo_barra?: string, limit?: integer, aguardar_segundos?: integer, account?: string) — 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 - cigam_fluxo_caixa(loja: string, data_inicial?: string, data_final?: string, account?: string) — 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. - cigam_formas_pagamento(loja?: string, data_inicial?: string, data_final?: string, account?: string) — 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. - cigam_fornecedores(cnpj?: string, page?: integer, limit?: integer, account?: string) — Lista/pesquisa fornecedores cadastrados. Razão social, nome fantasia, CNPJ, endereço, contato, situação. - cigam_inadimplencia(loja: string, data_inicial?: string, data_final?: string, page?: integer, limit?: integer, account?: string) — 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 - cigam_job(job_id: string, aguardar_segundos?: integer, account?: string, job_ids?: string[]) — 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'. - cigam_lancamentos(loja: string, data_inicial?: string, data_final?: string, cod_plano_contas?: string, tipo_conta?: string, tipo_data?: string, page?: integer, limit?: integer, account?: string) — Lista lançamentos financeiros por período. Competência, plano de contas, histórico, valor, forma de pagamento, tipo (débito/crédito). - cigam_list_accounts(account?: string) — Lista as contas CIGAM conectadas a este install — id, label (instância/usuário). - cigam_listar_lojas(account?: string) — Lista as lojas/empresas que a conta enxerga (código, nome, CNPJ). Use o `loja` retornado nos demais filtros. - cigam_notas_fiscais(loja: string, data_inicial?: string, data_final?: string, numero_nf?: integer, referencia?: string, status?: integer[], page?: integer, limit?: integer, account?: string) — Lista notas fiscais de uma loja por período. Retorna número, série, destinatário, valor, status, chave NF-e, etc. - cigam_ranking_clientes(loja: string, data_inicial?: string, data_final?: string, top?: integer, account?: string) — Ranking de clientes por valor vendido no período (agrupa as vendas por destinatário/CNPJ-CPF). Retorna os maiores compradores ordenados por valor. - cigam_relatorio(report_id: string, filtros?: string, aguardar_segundos?: integer, account?: string, report_ids?: string[]) — 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 re - cigam_resultado(loja: string, data_inicial?: string, data_final?: string, account?: string) — 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 - cigam_vendas(loja: string, data_inicial?: string, data_final?: string, page?: integer, limit?: integer, account?: string) — 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. - cigam_vendas_por_dia(loja: string, data_inicial?: string, data_final?: string, account?: string) — Série de vendas por dia no período (quantidade e valor por data) + resumo com total e ticket médio. - cigam_vendas_resumo(loja: string, data_inicial?: string, data_final?: string, account?: string) — 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. ## Example prompts - "How much did store Z136 sell this month?" - "Which accounts payable are due in the next 7 days?" - "Show last week's cash register closings" ## Links Docs: https://mcp.ai/docs/mcps/cigam Website: https://mcp.ai/mcps/cigam