mcp-dir CIGAM MCP
An MCP server for CIGAM ERP that enables agents to read sales, invoices, financial accounts, and cash flow data by capturing session access, as CIGAM lacks a public API.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api.mcp.ai/p_cigamWhat its tools do
28 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (25)
cigam_list_accountscigam_listar_lojascigam_notas_fiscaiscigam_vendascigam_comprascigam_devolucoescigam_vendas_resumocigam_fluxo_caixacigam_ranking_clientescigam_vendas_por_diacigam_inadimplenciacigam_resultadocigam_formas_pagamentocigam_relatoriocigam_jobcigam_estoquecigam_contas_recebercigam_contas_pagarcigam_caixacigam_lancamentoscigam_fornecedorescigam_consultashow_versionconnecttoolkit_info
Can change data (3)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- List sales for a store within a specific period
- Check accounts payable due in the next 7 days
- Show cash flow closure for the last week
- List fiscal notes by period
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- mcp-ai 0.9.409
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 28 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
28 advertised
cigam_list_accounts
Lista as contas CIGAM conectadas a este install — id, label (instância/usuário).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"account": {
"type": "string"
}
}
}{
"title": "cigam_list_accounts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_listar_lojas
Lista as lojas/empresas que a conta enxerga (código, nome, CNPJ). Use o `loja` retornado nos demais filtros.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"account": {
"type": "string"
}
}
}{
"title": "cigam_listar_lojas",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_notas_fiscais
Lista notas fiscais de uma loja por período. Retorna número, série, destinatário, valor, status, chave NF-e, etc.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"status": {
"type": "array",
"items": {
"type": "number"
}
},
"account": {
"type": "string"
},
"numero_nf": {
"type": "number"
},
"data_final": {
"type": "string"
},
"referencia": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_notas_fiscais",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_vendas
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_vendas",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_compras
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_compras",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_devolucoes
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_devolucoes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_vendas_resumo
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_vendas_resumo",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_fluxo_caixa
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_fluxo_caixa",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_ranking_clientes
Ranking de clientes por valor vendido no período (agrupa as vendas por destinatário/CNPJ-CPF). Retorna os maiores compradores ordenados por valor.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"top": {
"type": "number"
},
"loja": {
"type": "string"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_ranking_clientes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_vendas_por_dia
Série de vendas por dia no período (quantidade e valor por data) + resumo com total e ticket médio.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_vendas_por_dia",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_inadimplencia
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).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_inadimplencia",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_resultado
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_resultado",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_formas_pagamento
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"loja": {
"type": "string"
},
"account": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_formas_pagamento",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_relatorio
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"report_id"
],
"properties": {
"account": {
"type": "string"
},
"filtros": {
"type": "string"
},
"report_id": {
"type": "string"
},
"report_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"aguardar_segundos": {
"type": "number"
}
}
}{
"title": "cigam_relatorio",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_job
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string"
},
"account": {
"type": "string"
},
"job_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"aguardar_segundos": {
"type": "number"
}
}
}{
"title": "cigam_job",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_estoque
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"codigo_barra": {
"type": "string"
},
"aguardar_segundos": {
"type": "number"
}
}
}{
"title": "cigam_estoque",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_contas_receber
Lista contas a receber por período. Cliente, vencimento, forma de pagamento, valores, parcelas, NSU/autorização de cartão.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"situacao": {
"type": "string"
},
"tipo_data": {
"type": "string"
},
"data_final": {
"type": "string"
},
"cod_cliente": {
"type": "string"
},
"data_inicial": {
"type": "string"
}
}
}{
"title": "cigam_contas_receber",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_contas_pagar
Lista contas a pagar por período. Fornecedor, vencimento, plano de contas, nota fiscal/duplicata, valores, juros.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"situacao": {
"type": "string"
},
"duplicata": {
"type": "string"
},
"numero_nf": {
"type": "string"
},
"tipo_data": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"cod_fornecedor": {
"type": "string"
},
"cod_plano_contas": {
"type": "string"
}
}
}{
"title": "cigam_contas_pagar",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_caixa
Lista fechamentos de caixa por período. Entradas, saídas, fundo de caixa, vendas líquidas/do dia, saldo.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"situacao": {
"type": "string"
},
"data_final": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"numero_caixa": {
"type": "string"
}
}
}{
"title": "cigam_caixa",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_lancamentos
Lista lançamentos financeiros por período. Competência, plano de contas, histórico, valor, forma de pagamento, tipo (débito/crédito).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loja"
],
"properties": {
"loja": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
},
"tipo_data": {
"type": "string"
},
"data_final": {
"type": "string"
},
"tipo_conta": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"cod_plano_contas": {
"type": "string"
}
}
}{
"title": "cigam_lancamentos",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_fornecedores
Lista/pesquisa fornecedores cadastrados. Razão social, nome fantasia, CNPJ, endereço, contato, situação.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cnpj": {
"type": "string"
},
"page": {
"type": "number"
},
"limit": {
"type": "number"
},
"account": {
"type": "string"
}
}
}{
"title": "cigam_fornecedores",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cigam_consulta
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`.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"guid"
],
"properties": {
"guid": {
"type": "string"
},
"params": {
"type": "string"
},
"account": {
"type": "string"
}
}
}{
"title": "cigam_consulta",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}show_version
Show the current MCP platform and adapter versions.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"title": "Show Version",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"message"
],
"properties": {
"context": {
"type": "string",
"default": ""
},
"message": {
"type": "string"
},
"conversation": {
"type": "string",
"default": "[]"
}
}
}{
"title": "Report Bug",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"title": "Connection Status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"title": "Toolkit Info",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"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": ""
}
}
}{
"title": "Marketplace",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"token": {
"type": "string"
}
}
}{
"title": "Authenticate",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 612 ms
- 95th percentile latency
- 612 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 612 ms · metadata changed · 28 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http cigam-mcp https://api.mcp.ai/p_cigamCodex
codex mcp add cigam-mcp --url https://api.mcp.ai/p_cigamCursor
{
"mcpServers": {
"cigam-mcp": {
"url": "https://api.mcp.ai/p_cigam"
}
}
}Cline
{
"mcpServers": {
"cigam-mcp": {
"type": "streamableHttp",
"url": "https://api.mcp.ai/p_cigam",
"disabled": false
}
}
}VS Code
{
"servers": {
"cigam-mcp": {
"type": "http",
"url": "https://api.mcp.ai/p_cigam"
}
}
}Gemini CLI
gemini mcp add --transport http cigam-mcp https://api.mcp.ai/p_cigamClaude Desktop
https://api.mcp.ai/p_cigamWindsurf
{
"mcpServers": {
"cigam-mcp": {
"serverUrl": "https://api.mcp.ai/p_cigam"
}
}
}Let your agent find its tools
Find servers like mcp-dir CIGAM MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.