2,500+ MCP servers ready to use
Vinkius

Konfío MCP Server for Mastra AI 14 tools — connect in under 2 minutes

Built by Vinkius GDPR 14 Tools SDK

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Konfío through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Vinkius supports streamable HTTP and SSE.

typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "konfio": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "Konfío Agent",
    instructions:
      "You help users interact with Konfío " +
      "using 14 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with Konfío?"
  );
  console.log(result.text);
}

main();
Konfío
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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 Konfío MCP Server

Connect your Konfío business account to any AI agent and manage Mexico's leading SMB financial suite through natural conversation. Whether you need to pay a loan, check credit limits, or emit electronic invoices (CFDIs), the AI handles the heavy lifting.

Mastra's agent abstraction provides a clean separation between LLM logic and Konfío tool infrastructure. Connect 14 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • Loan Management — Track active business loans, get amortization schedules, and make direct loan payments from your connected accounts
  • Credit Cards — Review corporate credit card spending, check available limits, and fetch monthly statements for reconciliation
  • Electronic Invoicing (CFDI 4.0) — List emitted and received SAT invoices, and generate new legally compliant invoices with automatic stamp generation
  • B2B Transfers — Create SPEI transfers to suppliers and employees directly from your Konfío account
  • Credit Line Monitoring — Check your business credit score status and apply for new working capital credit lines

The Konfío MCP Server exposes 14 tools through the Vinkius. Connect it to Mastra AI 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 Konfío to Mastra AI via MCP

Follow these steps to integrate the Konfío MCP Server with Mastra AI.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.ts and run with npx tsx agent.ts

04

Explore tools

Mastra discovers 14 tools from Konfío via MCP

Why Use Mastra AI with the Konfío MCP Server

Mastra AI provides unique advantages when paired with Konfío through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Konfío without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every Konfío tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

Konfío + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the Konfío MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query Konfío, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed Konfío as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query Konfío on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using Konfío tools alongside other MCP servers

Konfío MCP Tools for Mastra AI (14)

These 14 tools become available when you connect Konfío to Mastra AI via MCP:

01

check_credit_status

Check business credit rating and eligibility status

02

create_invoice

0 invoice for a client. Requires client RFC, tax regime, items, and CFDI usage code. Create and emit a new electronic invoice (CFDI)

03

create_transfer

Create a supplier B2B transfer (SPEI)

04

get_business_profile

Get Konfío business profile

05

get_cc_statement

Get a credit card monthly statement

06

get_credit_card

Get business credit card details

07

get_loan_details

Get details of a specific business loan

08

get_payment_schedule

Get the amortization schedule for a loan

09

list_cc_transactions

List credit card transactions

10

list_invoices

You can filter by issued (emitted) or received invoices. List electronic invoices (CFDIs)

11

list_loans

List active and past business loans

12

list_transfers

List B2B outgoing wire transfers

13

make_loan_payment

Make a payment towards a business loan

14

request_credit_line

Submit a new credit line request

Example Prompts for Konfío in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with Konfío immediately.

01

"Show me my latest business credit card transactions."

02

"List the last 5 invoices we emitted to clients."

03

"Make a loan payment of $12,000 for loan LOAN-442."

Troubleshooting Konfío MCP Server with Mastra AI

Common issues when connecting Konfío to Mastra AI through the Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

Konfío + Mastra AI FAQ

Common questions about integrating Konfío MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Connect Konfío to Mastra AI

Get your token, paste the configuration, and start using 14 tools in under 2 minutes. No API key management needed.