fin-app-mcp 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -896,7 +896,7 @@ EXEMPLO — cartão migrado com fatura já aberta:
|
|
|
896
896
|
institution: { type: "string", description: "Nome da instituição financeira" },
|
|
897
897
|
type: { type: "string", description: "'cash' ou 'credit'" },
|
|
898
898
|
initial_balance_cents: { type: "number", description: "Saldo inicial em centavos (default: 0)" },
|
|
899
|
-
initial_invoice_date: { type: "string", description: "YYYY-MM-DD — data da fatura inicial. Omitir para cartão sem cutoff histórico (recomendado)." },
|
|
899
|
+
initial_invoice_date: { type: ["string", "null"], description: "YYYY-MM-DD — data da fatura inicial. Omitir ou passar null para cartão sem cutoff histórico (recomendado)." },
|
|
900
900
|
initial_invoice_amount_cents: { type: "number", description: "Valor da fatura inicial em centavos. Use com initial_invoice_date." },
|
|
901
901
|
closing_day: { type: "number", description: "Dia de fechamento da fatura (1-28, obrigatório para credit)" },
|
|
902
902
|
due_day: { type: "number", description: "Dia de vencimento da fatura (1-28, obrigatório para credit)" },
|
|
@@ -938,7 +938,7 @@ EXEMPLO — remover cutoff de um cartão criado errado:
|
|
|
938
938
|
institution: { type: "string", description: "Nova instituição" },
|
|
939
939
|
type: { type: "string", description: "'cash' ou 'credit'" },
|
|
940
940
|
initial_balance_cents: { type: "number", description: "Novo saldo inicial em centavos" },
|
|
941
|
-
initial_invoice_date: { type: "string", description: "YYYY-MM-DD ou null — data da fatura inicial (cutoff histórico)" },
|
|
941
|
+
initial_invoice_date: { type: ["string", "null"], description: "YYYY-MM-DD ou null — data da fatura inicial (cutoff histórico). Passe null para remover o cutoff." },
|
|
942
942
|
initial_invoice_amount_cents: { type: "number", description: "Valor da fatura inicial em centavos" },
|
|
943
943
|
closing_day: { type: "number", description: "Novo dia de fechamento (1-28)" },
|
|
944
944
|
due_day: { type: "number", description: "Novo dia de vencimento (1-28)" },
|
|
@@ -1224,7 +1224,7 @@ async function handleTool(name, args) {
|
|
|
1224
1224
|
// ── Server ──────────────────────────────────────────────────────────
|
|
1225
1225
|
|
|
1226
1226
|
const server = new Server(
|
|
1227
|
-
{ name: "fin-app", version: "2.3.
|
|
1227
|
+
{ name: "fin-app", version: "2.3.1" },
|
|
1228
1228
|
{ capabilities: { tools: {}, resources: {} } }
|
|
1229
1229
|
);
|
|
1230
1230
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fin-app-mcp",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "MCP server para o FIN App — finanças pessoais. Expõe tools para agents LLM operarem contas, despesas, faturas de cartão, bills recorrentes e mais.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.mjs",
|