Conta Azul MCP Server for Vercel AI SDK 15 tools — connect in under 2 minutes
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Conta Azul through the Vinkius and every tool is available as a typed function — ready for React Server Components, API routes, or any Node.js backend.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token — get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Conta Azul, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Conta Azul MCP Server
Connect your Conta Azul account to any AI agent and take full control of your Brazilian business ERP and financial management through natural conversation.
The Vercel AI SDK gives every Conta Azul tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 15 tools through the Vinkius and stream results progressively to React, Svelte, or Vue components — works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Customer Management — List and search for customers (PJ/PF), audit fiscal documents (CNPJ/CPF), and create new financial entities natively
- Inventory & Services — Map physical products (SKU) and intangible services, retrieve pricing, units of measure, and create new billable components
- Sales Monitoring — List continuous logs of confirmed sales, retrieve detailed accounting matrices for units, and verify invoice statuses
- Recurrence Tracking — Audit financial contracts and automatic agreements to monitor monthly/annual technical debt and expiration dates
- Fiscal Compliance (NF-e) — Retrieve governmental emissions records (NF-e) and validate SEFAZ approval statuses for product invoices
- Financial Structure — Access hierarchical category trees (DRE) and map bank accounts to reconcile monetary positions and internal cash flow
The Conta Azul MCP Server exposes 15 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect Conta Azul to Vercel AI SDK via MCP
Follow these steps to integrate the Conta Azul MCP Server with Vercel AI SDK.
Install dependencies
Run npm install @ai-sdk/mcp ai @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the script
Save to agent.ts and run with npx tsx agent.ts
Explore tools
The SDK discovers 15 tools from Conta Azul and passes them to the LLM
Why Use Vercel AI SDK with the Conta Azul MCP Server
Vercel AI SDK provides unique advantages when paired with Conta Azul through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime — same Conta Azul integration everywhere
Built-in streaming UI primitives let you display Conta Azul tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Conta Azul + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Conta Azul MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Conta Azul in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Conta Azul tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Conta Azul capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Conta Azul through natural language queries
Conta Azul MCP Tools for Vercel AI SDK (15)
These 15 tools become available when you connect Conta Azul to Vercel AI SDK via MCP:
create_customer
Injetar novo registro financeiro PF/PJ definindo estrutura formal dentro do ERP
create_product
Mapear bens tangíveis definindo novos componentes faturáveis em Real financeiro
create_service
Inserir prestação ativa intangível estritamente precificada na contabilidade
get_customer
Extrair perfil estático financeiro via UUID rastreando limites PF/PJ explícitos
get_product
Ler dados de um item físico individual incluindo limite e unidade de medida
get_sale
Visualizar blocos confirmados incluindo matrizes exatas contábeis da venda UUID
list_bank_accounts
Mapear bancos físicos conciliando integração extraindo posições monetárias
list_categories
g. Despesas, Receitas) que formam a espinha dorsal de DRE validada base ContaAzul. Determinar limites contábeis de Plano Analítico nativo classificando recursos
list_contracts
Pesquisar recorrências atestando acordos automáticos limitando vencimentos
list_customers
Listar base de clientes paginada extraindo entidades corporativas no ERP
list_nfe
Buscar listagem governamental acoplada de emissões NF (Notas de Produto)
list_products
Mapear itens físicos catalogados incluindo valores de SKU extraídos estaticamente
list_sales
Listar logs contínuos extraídos avaliando faturas pendentes emitidas no fluxo
list_services
Ler prestação categorizada cobrável na estrutura contábil faturada paginada
search_customers
Pesquisar perfis corporativos/fiscais comparando documentos restritos via CPF/CNPJ
Example Prompts for Conta Azul in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Conta Azul immediately.
"Search for customer with CNPJ '12.345.678/0001-90'"
"List the last 5 sales"
"Check the status of my NF-e emissions for this month"
Troubleshooting Conta Azul MCP Server with Vercel AI SDK
Common issues when connecting Conta Azul to Vercel AI SDK through the Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpConta Azul + Vercel AI SDK FAQ
Common questions about integrating Conta Azul MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Connect Conta Azul with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Conta Azul to Vercel AI SDK
Get your token, paste the configuration, and start using 15 tools in under 2 minutes. No API key management needed.
