Conta Azul ERP MCP — sales, customers, finance and NF-e via OAuth 2.0. Read + write, 35 tools.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
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.
| Argument | Type | Description |
|---|---|---|
| token | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"token": {
"type": "string"
}
}
}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.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}CANCELA uma cobrança já emitida (boleto/pix/link deixa de ser pagável). Use quando a cobrança foi gerada errada e ainda não foi paga. Passe o `id` da cobrança (de contaazul_generate_charge ou contaazul_get_charge), NÃO o id da parcela. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Retorna o próximo número de contrato disponível.
| Argument | Type | Description |
|---|---|---|
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"account": {
"type": "string"
}
}
}Cria um contrato. `data` é o payload em JSON.
| Argument | Type | Description |
|---|---|---|
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Cria um orçamento. `data` é o JSON com id_cliente (obrigatório, UUID de uma pessoa com perfil Cliente), data_orcamento (obrigatório, YYYY-MM-DD), itens[] (cada item exige id do produto/serviço + tipo/quantidade/valor), data_validade, id_vendedor e composicao_de_valor (frete, desconto).
| Argument | Type | Description |
|---|---|---|
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Exclui orçamentos em lote por id. Operação destrutiva, confirme antes. `ids` é a lista de UUIDs de orçamento (a API v2 não tem exclusão por id única).
| Argument | Type | Description |
|---|---|---|
| ids* | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Remove um contrato por id. Operação destrutiva, confirme antes. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Estorna (remove) uma baixa por id. Operação destrutiva, confirme antes. `id` é o UUID da baixa. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Gera cobrança (boleto, pix ou link de pagamento) para uma ou mais PARCELAS de contas a receber. Aceita até 50 parcelas por chamada; cada uma é emitida separadamente e uma falha não aborta o lote. `tipo` (obrigatório) aceita EXATAMENTE: BOLETO, PIX_COBRANCA ou LINK_PAGAMENTO (cartão de crédito sai por LINK_PAGAMENTO); formas comuns como boleto/pix/cartão são normalizadas. `ids_parcelas` são UUIDs de PARCELA — pegue em contaazul_list_receivables (campo `id` de cada item) ou contaazul_get_installment, NÃO o id do evento financeiro. `conta_bancaria`, `descricao_fatura` e `data_vencimento` são exigidos pela API mas resolvidos automaticamente quando omitidos: a conta de cobranças ativa da empresa (passe `conta_bancaria` se houver mais de uma, via contaazul_list_financial_accounts com tipos=COBRANCAS_CONTA_AZUL) e a descrição/vencimento da própria parcela. Parcela que já tem cobrança ativa é PULADA (sai em `ignoradas`) — use forcar=true para emitir mesmo assim. `maximo_parcelas` só vale para LINK_PAGAMENTO. Retorna {solicitadas, emitidas:[{id_parcela,id,url,status}], ignoradas, erros} — `url` é o link da cobrança. Para consultar depois use contaazul_get_charge e para cancelar contaazul_cancel_charge. A API NÃO envia o e-mail de notificação da cobrança: isso só na tela do Conta Azul.
| Argument | Type | Description |
|---|---|---|
| data | string | |
| tipo* | string | |
| forcar | boolean | |
| account | string | |
| id_parcela | string | |
| ids_parcelas |
Saldo atual de uma conta financeira por id (banco/caixa/cartão). Pegue o id em contaazul_list_financial_accounts. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Detalhe de um orçamento por id (itens, cliente, composição de valor). Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Detalhe de uma cobrança emitida por id (o `id` devolvido em contaazul_generate_charge). Retorna {id, url, status} — status vai de AGUARDANDO_CONFIRMACAO/REGISTRADO até PAGO, CANCELADO, EXPIRADO ou FALHA_EMISSAO. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Dados da empresa Conta Azul ativa (CNPJ, razão social, regime tributário).
| Argument | Type | Description |
|---|---|---|
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"account": {
"type": "string"
}
}
}Detalhe de um contrato por id (cliente, termos, condição de pagamento, composição de valor). Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Saldos iniciais das contas financeiras por período. data_inicio e data_fim (YYYY-MM-DD ou ISO date-time; datas simples são normalizadas). Se omitidas, usa uma janela ampla.
| Argument | Type | Description |
|---|---|---|
| account | string | |
| data_fim | string | |
| data_inicio | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"account": {
"type": "string"
},
"data_fim": {
"type": "string"
},
"data_inicio": {
"type": "string"
}
}
}Detalhe de uma parcela por id. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Detalhe de uma NF-e por id. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Detalhe de uma pessoa por id. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Detalhe de uma venda por id. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Detalhe de uma baixa por id. `id` é o UUID da baixa. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Lista as empresas Conta Azul vinculadas a este install (company_id, label).
| Argument | Type | Description |
|---|---|---|
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"account": {
"type": "string"
}
}
}Lista orçamentos (cliente, número, total, situação, versão). Paginado.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| account | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista categorias financeiras (DRE).
| Argument | Type | Description |
|---|---|---|
| tipo | string | |
| pagina | number | |
| account | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"tipo": {
"type": "string"
},
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista os IDs de eventos financeiros alterados num período (para sync incremental / conciliação). data_inicio e data_fim (YYYY-MM-DD ou ISO date-time). Paginado. Retorna só os IDs; use contaazul_get_installment para o detalhe.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| account | string | |
| data_fim | string | |
| data_inicio | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"data_fim": {
"type": "string"
},
"data_inicio": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista contratos no intervalo de data de início (data_inicio/data_fim, YYYY-MM-DD — obrigatórios na API; se omitidos, usa janela ampla = listar todos). Filtros: pagina, tamanho_pagina (máx 50), cliente_id, busca_textual. A API v2 não tem GET contrato por id nem cancelar/excluir. Bulk support: accepts cliente_ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| account | string | |
| data_fim | string | |
| cliente_id | string | |
| cliente_ids | array | |
| data_inicio | string | |
| busca_textual | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"data_fim": {
"type": "string"
},
"cliente_id": {
"type": "string"
},
"cliente_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data_inicio": {
"type": "string"
},
"busca_textual": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista centros de custo.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| account | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista contas financeiras (banco, caixa, cartão). Filtre por `tipos`: APLICACAO, CAIXINHA, CONTA_CORRENTE, CARTAO_CREDITO, INVESTIMENTO, OUTROS, MEIOS_RECEBIMENTO, POUPANCA, COBRANCAS_CONTA_AZUL, RECEBA_FACIL_CARTAO. Para achar a conta que recebe cobranças (contaazul_generate_charge) use tipos=["COBRANCAS_CONTA_AZUL"].
| Argument | Type | Description |
|---|---|---|
| nome | string | |
| tipos | array | |
| pagina | number | |
| account | string | |
| apenas_ativo | boolean | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nome": {
"type": "string"
},
"tipos": {
"type": "array",
"items": {
"type": "string"
}
},
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"apenas_ativo": {
"type": "boolean"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista as parcelas de UM evento financeiro (passe `id_evento`). A API v2 não tem listagem chapada de todas as parcelas — pra varrer contas a receber/pagar use contaazul_list_receivables / contaazul_list_payables.
| Argument | Type | Description |
|---|---|---|
| account | string | |
| id_evento* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_evento"
],
"properties": {
"account": {
"type": "string"
},
"id_evento": {
"type": "string"
}
}
}Lista NF-e (notas fiscais de produto) EMITIDAS ou CORRIGIDAS COM SUCESSO (a API não filtra por status). data_inicial e data_final (AAAA-MM-DD) são OBRIGATÓRIAS na API e a janela máxima dela é de 15 dias: se omitidas, usamos os últimos 15 dias; se vier só uma, a outra fica a 15 dias de distância; janela maior (ex.: um mês) é consultada em partes de 15 dias e devolvida junta (todas as páginas, campo `janelas`). Outros filtros: documento_tomador (CPF/CNPJ), numero_nota, id_venda. Paginação (só em janela de até 15 dias): pagina + tamanho_pagina (10, 20, 50 ou 100).
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| account | string | |
| id_venda | string | |
| data_final | string | |
| numero_nota | string | |
| data_inicial | string | |
| tamanho_pagina | number | |
| data_emissao_fim | string | |
| documento_tomador |
Lista NFS-e (notas fiscais de serviço) por filtro. Exige data_competencia_de e data_competencia_ate (YYYY-MM-DD), com janela máxima de 15 dias (se omitidas, usa os últimos 15 dias; se vier só uma, a outra fica a 15 dias de distância). Outros filtros: id_cliente, numero_venda, status (PENDENTE, PRONTA_ENVIO, EMITIDA, CANCELADA…), tipo_negociacao (VENDA, CONTRATO), numero_nfse_inicial, numero_nfse_final, numero_rps_inicial, numero_rps_final.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| status | string | |
| account | string | |
| id_cliente | string | |
| numero_venda | string | |
| tamanho_pagina | number | |
| tipo_negociacao | string | |
| numero_rps_final | number | |
| numero_nfse_final | number | |
Lista contas a pagar (parcelas de despesa). Filtros: tamanho_pagina, pagina, data_vencimento_de, data_vencimento_ate (YYYY-MM-DD; se omitidas, lista todas), status (PERDIDO, RECEBIDO, EM_ABERTO, RENEGOCIADO, RECEBIDO_PARCIAL, ATRASADO). O Conta Azul usa os MESMOS status de contas a receber (RECEBIDO aqui = pago) e o mesmo formato de item — parecido com list_receivables, mas são despesas.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| status | string | |
| account | string | |
| tamanho_pagina | number | |
| data_vencimento_de | string | |
| data_vencimento_ate | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"status": {
"type": "string"
},
"account": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
},
"data_vencimento_de": {
"type": "string"
},
"data_vencimento_ate": {
"type": "string"
}
}
}Lista pessoas (clientes, fornecedores, vendedores, transportadores) cadastradas. Filtros via params: tamanho_pagina, pagina, busca (nome/documento), tipo_perfil, ativo.
| Argument | Type | Description |
|---|---|---|
| ativo | boolean | |
| busca | string | |
| pagina | number | |
| account | string | |
| tipo_perfil | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ativo": {
"type": "boolean"
},
"busca": {
"type": "string"
},
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"tipo_perfil": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista produtos cadastrados. Filtros: tamanho_pagina, pagina, busca, ativo.
| Argument | Type | Description |
|---|---|---|
| ativo | boolean | |
| busca | string | |
| pagina | number | |
| account | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ativo": {
"type": "boolean"
},
"busca": {
"type": "string"
},
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista contas a receber (parcelas de receita). Filtros: tamanho_pagina, pagina, data_vencimento_de, data_vencimento_ate (YYYY-MM-DD; se omitidas, lista todas), status (PERDIDO, RECEBIDO, EM_ABERTO, RENEGOCIADO, RECEBIDO_PARCIAL, ATRASADO), ids_clientes (UUID do cliente).
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| status | string | |
| account | string | |
| ids_clientes | string | |
| tamanho_pagina | number | |
| data_vencimento_de | string | |
| data_vencimento_ate | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"status": {
"type": "string"
},
"account": {
"type": "string"
},
"ids_clientes": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
},
"data_vencimento_de": {
"type": "string"
},
"data_vencimento_ate": {
"type": "string"
}
}
}Itens (produtos/serviços, quantidade, valor) de uma ou mais vendas. Passe ids_venda (até 50); devolve um resultado por venda.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| account | string | |
| ids_venda* | array | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ids_venda"
],
"properties": {
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"ids_venda": {
"type": "array",
"items": {
"type": "string"
}
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista vendas (GET /venda/busca). Filtros: data_inicio/data_fim (emissão, AAAA-MM-DD), data_criacao_de/ate (AAAA-MM-DD), data_alteracao_de/ate (AAAA-MM-DDTHH:MM:SS), ids_clientes, ids_vendedores, ids_categorias, ids_produtos, numeros, situacoes (enum de BUSCA: in_process, approved, invoiced, canceled, proposal, proposal_accepted, proposal_refused, scheduled, committed; sinônimos em_andamento, aprovado, faturado, cancelado, orcamento, orcamento_aceito, orcamento_recusado e agendado são convertidos), termo_busca, ordenação por numero/cliente/data. Paginação: pagina + tamanho_pagina; a resposta traz total_itens, totais e quantidades por situação. data_alteracao_de e data_alteracao_ate só valem juntos na API: informe os dois; se vier só um, o outro é completado (sem _ate = agora; sem _de = 30 dias antes do _ate). Bulk support: accepts cliente_ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| tipos | array | |
| pagina | number | |
| totais | string | |
| account | string | |
| numeros | array | |
| origens | array | |
| data_fim | string | |
Lista serviços cadastrados.
| Argument | Type | Description |
|---|---|---|
| busca | string | |
| pagina | number | |
| account | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"busca": {
"type": "string"
},
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Lista as baixas de uma parcela. `id` é o UUID da parcela. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Lista transferências entre contas financeiras por período (conciliação). data_inicio e data_fim (YYYY-MM-DD) com janela máxima de 1 ano (se omitidas, usa os últimos 365 dias). Paginado.
| Argument | Type | Description |
|---|---|---|
| pagina | number | |
| account | string | |
| data_fim | string | |
| data_inicio | string | |
| tamanho_pagina | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"data_fim": {
"type": "string"
},
"data_inicio": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
}
}
}Cria um evento financeiro de conta a pagar. `data` é o JSON do EventoFinanceiroRequest. OBRIGATÓRIOS (a chamada é recusada antes de ir à API se faltar algum): id_fornecedor (UUID do fornecedor, via contaazul_list_people; `contato` é aceito como alias), conta_financeira (UUID, via contaazul_list_financial_accounts), data_competencia (YYYY-MM-DD), descricao, valor (number > 0), rateio[] com {id_categoria (UUID, via contaazul_list_categories), valor} (um `id_categoria` na raiz vira rateio de 100%) e condicao_pagamento.parcelas[] (cada: data_vencimento YYYY-MM-DD e detalhe_valor:{valor_bruto obrigatório; valor_liquido derivado se omitido}; descricao e conta_financeira da parcela, se omitidas, herdam as do lançamento; os aliases valor_composicao e composicao_valor são normalizados automaticamente). metodo_pagamento da parcela usa o enum EXATO da API (PIX_PAGAMENTO_INSTANTANEO, BOLETO_BANCARIO, TRANSFERENCIA_BANCARIA, CARTAO_CREDITO, CARTAO_DEBITO, DINHEIRO etc — formas curtas como PIX/BOLETO/TED são normalizadas). Retorna 202 + {protocolId,status} (assíncrono).
| Argument | Type | Description |
|---|---|---|
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Remove uma pessoa por id. Operação destrutiva — confirme antes. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Cria ou atualiza uma pessoa. action=create: requer nome, tipo_pessoa e (cpf|cnpj) — passe os campos via `data` (JSON). action=update: requer id e APENAS os campos a alterar em `data` (JSON) — é update PARCIAL: o resto do cadastro fica intacto e campo que o registro não tem NÃO é exigido (dá pra trocar só o email). Enums de escrita: tipo_pessoa = Física|Jurídica|Estrangeira; perfis = [{"tipo_perfil":"Cliente"|"Fornecedor"|"Transportadora"}] (variações de caixa/acento são normalizadas). Único campo fora do update parcial é `outros_contatos`: mudá-lo obriga a substituição integral do cadastro, e aí o Conta Azul exige codigo, data_nascimento, observacao, telefone_celular e telefone_comercial preenchidos — o erro retornado diz qual falta; inclua-o no `data`. [Flattened action: create] Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id | string | |
| ids | array | |
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Cria ou atualiza uma pessoa. action=create: requer nome, tipo_pessoa e (cpf|cnpj) — passe os campos via `data` (JSON). action=update: requer id e APENAS os campos a alterar em `data` (JSON) — é update PARCIAL: o resto do cadastro fica intacto e campo que o registro não tem NÃO é exigido (dá pra trocar só o email). Enums de escrita: tipo_pessoa = Física|Jurídica|Estrangeira; perfis = [{"tipo_perfil":"Cliente"|"Fornecedor"|"Transportadora"}] (variações de caixa/acento são normalizadas). Único campo fora do update parcial é `outros_contatos`: mudá-lo obriga a substituição integral do cadastro, e aí o Conta Azul exige codigo, data_nascimento, observacao, telefone_celular e telefone_comercial preenchidos — o erro retornado diz qual falta; inclua-o no `data`. [Flattened action: update] Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id | string | |
| ids | array | |
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Cria um produto (nome + valor_venda obrigatórios em `data` JSON). A API v2 do Conta Azul não expõe atualização nem GET de produto por id — para consultar, use contaazul_list_products (/produto/busca) com filtro.
| Argument | Type | Description |
|---|---|---|
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Cria um evento financeiro de conta a receber. `data` é o JSON do EventoFinanceiroRequest. OBRIGATÓRIOS (a chamada é recusada antes de ir à API se faltar algum): id_cliente (UUID do cliente, via contaazul_list_people; `contato` é aceito como alias), conta_financeira (UUID, via contaazul_list_financial_accounts), data_competencia (YYYY-MM-DD), descricao, valor (number > 0), rateio[] com {id_categoria (UUID, via contaazul_list_categories), valor} (rateio_centro_custo[] opcional dentro de cada item; um `id_categoria` na raiz vira rateio de 100%), condicao_pagamento.parcelas[] (cada: data_vencimento YYYY-MM-DD; descricao e conta_financeira, se omitidas, herdam as do lançamento; nota opcional; detalhe_valor:{valor_bruto obrigatório; valor_liquido derivado se omitido} — os aliases de leitura valor_composicao (o que contaazul_get_installment devolve) e de baixa composicao_valor são normalizados automaticamente pro detalhe_valor, metodo_pagamento com o enum EXATO da API: PIX_PAGAMENTO_INSTANTANEO, BOLETO_BANCARIO, TRANSFERENCIA_BANCARIA, CARTAO_CREDITO, CARTAO_DEBITO, DINHEIRO, DEPOSITO_BANCARIO, DEBITO_AUTOMATICO etc — formas curtas comuns como PIX/BOLETO/TED são normalizadas). observacao é opcional. Retorna 202 + {protocolId,status} (processamento assíncrono).
| Argument | Type | Description |
|---|---|---|
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Cancela uma venda. Operação destrutiva — confirme antes. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Cria ou atualiza venda. `data` é o payload da venda em JSON. action=create (POST /venda) — OBRIGATÓRIOS: id_cliente (UUID, via contaazul_list_people), situacao (EM_ANDAMENTO ou APROVADO), data_venda (AAAA-MM-DD), itens[] e condicao_pagamento; `numero` é obrigatório na API mas, se omitido, usamos o próximo número livre da empresa. action=update (PUT /venda/{id}, substitui a venda) — passe `id` e os mesmos campos do create; `versao` (inteiro, controle de concorrência) é obrigatório na API e, se omitido, é lido da venda atual, assim como numero, id_cliente e situacao. situacao de escrita: EM_ANDAMENTO, APROVADO, FATURADO, CANCELADO (valores da busca como approved/invoiced são convertidos). [Flattened action: create] Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id | string | |
| ids | array | |
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Cria ou atualiza venda. `data` é o payload da venda em JSON. action=create (POST /venda) — OBRIGATÓRIOS: id_cliente (UUID, via contaazul_list_people), situacao (EM_ANDAMENTO ou APROVADO), data_venda (AAAA-MM-DD), itens[] e condicao_pagamento; `numero` é obrigatório na API mas, se omitido, usamos o próximo número livre da empresa. action=update (PUT /venda/{id}, substitui a venda) — passe `id` e os mesmos campos do create; `versao` (inteiro, controle de concorrência) é obrigatório na API e, se omitido, é lido da venda atual, assim como numero, id_cliente e situacao. situacao de escrita: EM_ANDAMENTO, APROVADO, FATURADO, CANCELADO (valores da busca como approved/invoiced são convertidos). [Flattened action: update] Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id | string | |
| ids | array | |
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Cria um serviço. `data` é JSON com nome, valor, etc.
| Argument | Type | Description |
|---|---|---|
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Registra a baixa (recebimento/pagamento) de uma parcela. `id` é o UUID da PARCELA (via contaazul_list_receivables / _list_payables / _get_installment). `data` é o JSON da baixa: data_pagamento (YYYY-MM-DD), composicao_valor {valor_bruto, multa, juros, desconto, taxa, valor_liquido}, conta_financeira (UUID em string, via contaazul_list_financial_accounts) e metodo_pagamento, enum EXATO da API: DINHEIRO, PIX_PAGAMENTO_INSTANTANEO, BOLETO_BANCARIO, TRANSFERENCIA_BANCARIA, CARTAO_CREDITO, CARTAO_DEBITO, CARTAO_CREDITO_VIA_LINK, CHEQUE, DEPOSITO_BANCARIO, CARTEIRA_DIGITAL, CASHBACK, CREDITO_LOJA, CREDITO_VIRTUAL, OUTRO (formas curtas como PIX, BOLETO, CARTAO ou TRANSFERENCIA dão 400); observacao é opcional. O campo `versao` (controle de concorrência) é buscado automaticamente. Retorna a baixa com id_reconciliacao. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"data"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Encerra um contrato por id. Operação sensível, confirme antes. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}Atualiza campos de uma parcela (PATCH). Campos editáveis em `data` JSON: nota, descricao, vencimento (YYYY-MM-DD), composicao_valor:{valor_bruto,multa,juros,desconto,taxa,valor_liquido}, data_pagamento_esperado, metodo_pagamento, perda, nsu, pagamento_agendado, id_conta_financeira. O campo `versao` (controle de concorrência) é buscado automaticamente — não precisa passar. NÃO é editável aqui: `rateio`/`rateio_centro_custo` (categoria e centro de custo só entram na CRIAÇÃO do lançamento, via rateio[] do contaazul_payable_create / contaazul_receivable_create; o Conta Azul não deixa alterar depois). Campo fora da lista é RECUSADO com erro em vez de ser enviado, porque a API responde 200 e incrementa a versão descartando o campo em silêncio. Para registrar pagamento/baixa use contaazul_settle_installment e para estornar use contaazul_delete_settlement. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"data"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}Atualiza uma baixa (PATCH). `id` é o UUID da baixa. `data` é o JSON com os campos a alterar (data_pagamento, composicao_valor, conta_financeira em UUID string, metodo_pagamento com o mesmo enum de contaazul_settle_installment, observacao). O campo `versao` é buscado automaticamente. Bulk support: accepts ids for batched execution.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| ids | array | |
| data* | string | |
| account | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"data"
],
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "string"
},
"account": {
"type": "string"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| limit | number | |
| query | string | |
| action | string | |
| mcp_id | string | |
| message |
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
| Argument | Type | Description |
|---|---|---|
| context | string | |
| message* | string | |
| conversation | string |
{
"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 the current MCP platform and adapter versions.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}| array |
| conta_bancaria | string |
| data_vencimento | string |
| maximo_parcelas | number |
| descricao_fatura | string |
| desconto_antecipado | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tipo"
],
"properties": {
"data": {
"type": "string"
},
"tipo": {
"type": "string"
},
"forcar": {
"type": "boolean"
},
"account": {
"type": "string"
},
"id_parcela": {
"type": "string"
},
"ids_parcelas": {
"type": "array",
"items": {
"type": "string"
}
},
"conta_bancaria": {
"type": "string"
},
"data_vencimento": {
"type": "string"
},
"maximo_parcelas": {
"type": "number"
},
"descricao_fatura": {
"type": "string"
},
"desconto_antecipado": {
"type": "object",
"properties": {
"valor": {
"type": "number"
},
"percentual": {
"type": "number"
},
"dias_antes_vencer": {
"type": "number"
}
}
}
}
}| string |
| data_emissao_inicio | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"account": {
"type": "string"
},
"id_venda": {
"type": "string"
},
"data_final": {
"type": "string"
},
"numero_nota": {
"type": "string"
},
"data_inicial": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
},
"data_emissao_fim": {
"type": "string"
},
"documento_tomador": {
"type": "string"
},
"data_emissao_inicio": {
"type": "string"
}
}
}| numero_rps_inicial |
| number |
| data_competencia_de | string |
| numero_nfse_inicial | number |
| data_competencia_ate | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pagina": {
"type": "number"
},
"status": {
"type": "string"
},
"account": {
"type": "string"
},
"id_cliente": {
"type": "string"
},
"numero_venda": {
"type": "string"
},
"tamanho_pagina": {
"type": "number"
},
"tipo_negociacao": {
"type": "string"
},
"numero_rps_final": {
"type": "number"
},
"numero_nfse_final": {
"type": "number"
},
"numero_rps_inicial": {
"type": "number"
},
"data_competencia_de": {
"type": "string"
},
"numero_nfse_inicial": {
"type": "number"
},
"data_competencia_ate": {
"type": "string"
}
}
}| situacoes |
| array |
| cliente_id | string |
| cliente_ids | array |
| data_inicio | string |
| termo_busca | string |
| ids_clientes | array |
| ids_produtos | array |
| status_venda | string |
| ids_categorias | array |
| ids_vendedores | array |
| tamanho_pagina | number |
| data_criacao_de | string |
| data_criacao_ate | string |
| data_alteracao_de | string |
| data_alteracao_ate | string |
| campo_ordenado_ascendente | string |
| campo_ordenado_descendente | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"tipos": {
"type": "array",
"items": {
"type": "string"
}
},
"pagina": {
"type": "number"
},
"totais": {
"enum": [
"waiting_approved",
"approved",
"canceled",
"all"
],
"type": "string"
},
"account": {
"type": "string"
},
"numeros": {
"type": "array",
"items": {
"type": "number"
}
},
"origens": {
"type": "array",
"items": {
"type": "string"
}
},
"data_fim": {
"type": "string"
},
"situacoes": {
"type": "array",
"items": {
"type": "string"
}
},
"cliente_id": {
"type": "string"
},
"cliente_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"data_inicio": {
"type": "string"
},
"termo_busca": {
"type": "string"
},
"ids_clientes": {
"type": "array",
"items": {
"type": "string"
}
},
"ids_produtos": {
"type": "array",
"items": {
"type": "string"
}
},
"status_venda": {
"type": "string"
},
"ids_categorias": {
"type": "array",
"items": {
"type": "string"
}
},
"ids_vendedores": {
"type": "array",
"items": {
"type": "string"
}
},
"tamanho_pagina": {
"type": "number"
},
"data_criacao_de": {
"type": "string"
},
"data_criacao_ate": {
"type": "string"
},
"data_alteracao_de": {
"type": "string"
},
"data_alteracao_ate": {
"type": "string"
},
"campo_ordenado_ascendente": {
"enum": [
"numero",
"cliente",
"data"
],
"type": "string"
},
"campo_ordenado_descendente": {
"enum": [
"numero",
"cliente",
"data"
],
"type": "string"
}
}
}| string |
| tool_id | string |
| arguments | string |
| immediate | boolean |
| tier_slug | string |
| prompt_body | string |
| prompt_slug | string |
| prompt_tool | string |
| prompt_vars | string |
| conversation | string |
| prompt_title | string |
| request_name | string |
| cancel_reason | string |
| cancel_comment | string |
| prompt_targets | array |
| report_context | string |
| prompt_category | string |
| request_details | string |
| prompt_description | string |
{
"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": ""
}
}
}