# 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: invoices, NFC-e, returns, products and stock balance, replenishment, suppliers and invoice history. By: mcp.ai · official Page: https://mcp.ai/cigam ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_cigam?ms=1781686020000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## 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://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/cigam/skill.md Postman collection (v2.1): https://mcp.ai/cigam/postman.json ## Tools - cigam_historico_nf(filtros?: string, account?: string) — Histórico de uma nota fiscal (retornarHistoricoNF). `filtros` (JSON) com o identificador da NF. - cigam_list_accounts(account?: string) — Lista as contas CIGAM conectadas a este install — id, label (instância/usuário). - cigam_obter_nfces(filtros?: string, account?: string) — Obtém NFC-e (obternfces). `filtros` (JSON) pra período/loja. - cigam_obter_notas_devolucao(filtros?: string, account?: string) — Obtém notas fiscais de devolução (obternotasfiscaisdevolucao). `filtros` (JSON). - cigam_obter_notas_fiscais(filtros?: string, account?: string) — Obtém notas fiscais (obternotasfiscais). Use `filtros` (JSON) pra período/loja quando souber. - cigam_obter_produto_estoque(filtros?: string, account?: string) — Consulta produto + saldo de estoque (ObterProdutoEstoque). `filtros` (JSON) pra código/loja. - cigam_obter_produtos_reposicao(filtros?: string, account?: string) — Produtos para reposição de estoque (ObterProdutosParaReposicaoEstoque). `filtros` (JSON). - cigam_pesquisar_fornecedor(filtros?: string, account?: string) — Pesquisa fornecedores (fornecedor/pesquisar). `filtros` (JSON) com o termo/critério de busca. ## Example prompts - "List recent invoices" - "Check the stock balance of a product" - "Which products need replenishment?" ## Links Docs: https://mcp.ai/docs/mcps/cigam Website: https://mcp.ai/mcps/cigam