4,000+ servers built on vurb.ts
Vinkius

Marqeta MCP Server for Mastra AIGive Mastra AI instant access to 31 tools to Create Ach Funding Source, Create Auth Control, Create Business, and more

MCP Inspector GDPR Free for Subscribers

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

Ask AI about this MCP Server for Mastra AI

The Marqeta MCP Server for Mastra AI is a standout in the Money Moves category — giving your AI agent 31 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
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: {
      "marqeta": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

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

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

main();
Marqeta
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 Marqeta MCP Server

Connect your Marqeta account to any AI agent to manage your card issuing infrastructure through natural conversation. This server provides comprehensive tools for managing the entire lifecycle of card programs.

Mastra's agent abstraction provides a clean separation between LLM logic and Marqeta tool infrastructure. Connect 31 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

  • User & Business Management — Create and retrieve individual users or business entities to act as account holders.
  • Card Issuance — Create physical or virtual payment cards and manage card products that define spending behaviors.
  • Funding & GPA Orders — Move funds into account holder General Purpose Accounts (GPA) and manage ACH funding sources.
  • Inventory & Retrieval — List users, fetch specific card details, and audit all cards associated with a specific user token.
  • Configuration — Define card products with specific start dates and names to control your issuing environment.

The Marqeta MCP Server exposes 31 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 31 Marqeta tools available for Mastra AI

When Mastra AI connects to Marqeta through Vinkius, your AI agent gets direct access to every tool listed below — spanning card-issuing, fintech-api, virtual-cards, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

create

Create ach funding source on Marqeta

Create an ACH funding source

create

Create auth control on Marqeta

Create an authorization control

create

Create business on Marqeta

Create a new Marqeta business

create

Create card on Marqeta

Create a new Marqeta card

create

Create card product on Marqeta

Create a new Marqeta card product

create

Create card transition on Marqeta

g., ACTIVE, SUSPENDED, TERMINATED). Create a card transition

create

Create direct deposit transition on Marqeta

g., to reverse a deposit). Create a direct deposit transition

create

Create gpa order on Marqeta

Create a GPA order to fund an account

create

Create payment card funding source on Marqeta

Create a payment card funding source

create

Create pin control token on Marqeta

Create a PIN control token

create

Create program funding source on Marqeta

Create a program funding source

create

Create user on Marqeta

Create a new Marqeta user

create

Create user transition on Marqeta

g., ACTIVE, SUSPENDED, CLOSED). Create a user transition

create

Create velocity control on Marqeta

Create a velocity control

create

Create webhook on Marqeta

Create a webhook

get

Get balances on Marqeta

Retrieve balances for a user or business

get

Get business on Marqeta

Retrieve a Marqeta business by token

get

Get card on Marqeta

Retrieve a Marqeta card by token

get

Get direct deposit on Marqeta

Retrieve a direct deposit record

get

Get user on Marqeta

Retrieve a Marqeta user by token

list

List cards by user on Marqeta

List all cards for a specific user

list

List users on Marqeta

List Marqeta users

perform

Perform kyc on Marqeta

Perform KYC verification for a user

ping

Ping webhook on Marqeta

Ping a webhook

provision

Provision apple pay on Marqeta

Provision a card for Apple Pay

provision

Provision google pay on Marqeta

Provision a card for Google Pay

reveal

Reveal pin on Marqeta

Reveal a card PIN

simulate

Simulate authorization on Marqeta

Simulate an authorization

simulate

Simulate clearing on Marqeta

Simulate a clearing transaction

simulate

Simulate reversal on Marqeta

Simulate a reversal

update

Update pin on Marqeta

Set or update a card PIN

Connect Marqeta to Mastra AI via MCP

Follow these steps to wire Marqeta into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

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 31 tools from Marqeta via MCP

Why Use Mastra AI with the Marqeta MCP Server

Mastra AI provides unique advantages when paired with Marqeta through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Marqeta 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 Marqeta 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

Marqeta + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the Marqeta MCP Server delivers measurable value.

01

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

02

SaaS integrations: embed Marqeta 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 Marqeta on a cron and store results in your database automatically

04

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

Example Prompts for Marqeta in Mastra AI

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

01

"List the last 10 users registered in my Marqeta environment."

02

"Issue a new virtual card for user token 'user_888' using card product 'prod_999'."

03

"Fund $50.00 USD to user 'u_789' from funding source 'fs_000'."

Troubleshooting Marqeta MCP Server with Mastra AI

Common issues when connecting Marqeta to Mastra AI through Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

Marqeta + Mastra AI FAQ

Common questions about integrating Marqeta 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.

Explore More MCP Servers

View all →