Serveur MCP

Microvix

io.github.mcp-dir/microvix-mcp

Ce que fait ce MCP

Accesses Microvix retail ERP data for stores, products, inventory, sales and fiscal movements, customers, suppliers, orders, and vendors.

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
Schéma d’entrée
{'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.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
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.
Accès externe
Schéma d’entrée
{'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': ''}}}
microvix_clientes_fornec
Cadastro de clientes e fornecedores (LinxClientesFornec). Filtre por data_inicial/fim, doc_cliente e cnpj_emp.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'cnpj_emp': {'type': 'string'}, 'data_fim': {'type': 'string'}, 'doc_cliente': {'type': 'string'}, 'data_inicial': {'type': 'string'}}}
microvix_grupo_lojas
Lista os CNPJs das lojas de um grupo (LinxGrupoLojas). Use pra descobrir os cnpj_emp antes de iterar.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'grupo': {'type': 'string'}, 'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}}}
microvix_list_accounts
Lista os portais Microvix conectados a este install — id, label.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
microvix_lojas
Dados das lojas/empresas do portal (LinxLojas): CNPJ, endereço, regime tributário.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'cnpj_emp': {'type': 'string'}}}
microvix_movimento
Movimento de vendas/fiscal (LinxMovimento): transações, chave da NF, impostos (ICMS/PIS/COFINS/IPI), formas de pagamento. Filtre por data_inicial/fim e cnpj_emp — a janela filtra por data_lancamento, não por data_documento. É a base do faturamento. É item a item (uma linha por produto de cada transação, 116 colunas), e o Microvix devolve no máximo 5.000 linhas por chamada: um mês de uma loja passa de 15 MB E não cabe numa chamada só. Por isso o DEFAULT é formato:"resumo" — ele VARRE a janela inteira (várias chamadas ao Microvix, deduplicadas) e devolve totais determinísticos por operação/tipo/cancelado/excluído e por dia, cada número sendo a soma da coluna crua de mesmo nome. Confira sempre `truncado_pelo_provedor` e `cobertura_data_lancamento`: se vier truncado, os números são PARCIAIS e você deve refazer em pedaços menores. Para fechamento mensal, faça uma chamada por (cnpj_emp, período) em "resumo" — pode levar ~20s por loja. Use formato:"linhas" só quando precisar do item a item; aí é UMA chamada, paginada por limit/offset e sujeita ao teto de 5.000.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'formato': {'enum': ['resumo', 'linhas'], 'type': 'string'}, 'cnpj_emp': {'type': 'string'}, 'data_fim': {'type': 'string'}, 'data_inicial': {'type': 'string'}}}
microvix_pedidos_venda
Pedidos de venda (LinxPedidosVenda). Filtre por data_inicial/fim, doc_cliente e cnpj_emp.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'cnpj_emp': {'type': 'string'}, 'data_fim': {'type': 'string'}, 'doc_cliente': {'type': 'string'}, 'data_inicial': {'type': 'string'}}}
microvix_produtos
Cadastro de produtos (LinxProdutos): nome, NCM, CEST, referência, cor/tamanho, marca/linha/setor. Filtre por janela de atualização (dt_update_inicio/fim) e cnpj_emp.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'cnpj_emp': {'type': 'string'}, 'referencia': {'type': 'string'}, 'cod_produto': {'type': 'string'}, 'dt_update_fim': {'type': 'string'}, 'dt_update_inicio': {'type': 'string'}}}
microvix_produtos_detalhes
Detalhe de produto por loja (LinxProdutosDetalhes): código de barras, quantidade, preco_custo, preco_venda, custo_medio. Filtre por data_mov_ini/fim e cnpj_emp.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'cnpj_emp': {'type': 'string'}, 'referencia': {'type': 'string'}, 'cod_produto': {'type': 'string'}, 'data_mov_fim': {'type': 'string'}, 'data_mov_ini': {'type': 'string'}}}
microvix_produtos_inventario
Inventário/saldo de estoque por código de barras (LinxProdutosInventario). Informe data_inventario e cnpj_emp.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'cnpj_emp': {'type': 'string'}, 'data_inventario': {'type': 'string'}}}
microvix_vendedores
Cadastro de vendedores (LinxVendedores). Filtre por data_upd_inicial/fim, cod_vendedor e cnpj_emp.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number'}, 'offset': {'type': 'number'}, 'account': {'type': 'string'}, 'cnpj_emp': {'type': 'string'}, 'cod_vendedor': {'type': 'string'}, 'data_upd_fim': {'type': 'string'}, 'data_upd_inicial': {'type': 'string'}}}
report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
Idempotent
Schéma d’entrée
{'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.
Lecture seule Idempotent
Schéma d’entrée
{'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.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
Ajouté
authenticate
17 September 2026 12:44
Ajouté
marketplace
17 September 2026 12:44
Ajouté
toolkit_info
17 September 2026 12:44
Ajouté
connect
17 September 2026 12:44
Ajouté
report_bug
17 September 2026 12:44
Ajouté
show_version
17 September 2026 12:44
Ajouté
microvix_vendedores
17 September 2026 12:44
Ajouté
microvix_pedidos_venda
17 September 2026 12:44
Ajouté
microvix_movimento
17 September 2026 12:44
Ajouté
microvix_clientes_fornec
17 September 2026 12:44
Ajouté
microvix_produtos_inventario
17 September 2026 12:44
Ajouté
microvix_produtos_detalhes
17 September 2026 12:44
Ajouté
microvix_produtos
17 September 2026 12:44
Ajouté
microvix_lojas
17 September 2026 12:44
Ajouté
microvix_grupo_lojas
17 September 2026 12:44
Ajouté
microvix_list_accounts
17 September 2026 12:44