Marqeta MCP Server for Pydantic AIGive Pydantic AI instant access to 31 tools to Create Ach Funding Source, Create Auth Control, Create Business, and more
Pydantic AI brings type-safe agent development to Python with first-class MCP support. Connect Marqeta through Vinkius and every tool is automatically validated against Pydantic schemas. catch errors at build time, not in production.
Ask AI about this MCP Server for Pydantic AI
The Marqeta MCP Server for Pydantic AI is a standout in the Money Moves category — giving your AI agent 31 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerHTTP
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
server = MCPServerHTTP(url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
agent = Agent(
model="openai:gpt-4o",
mcp_servers=[server],
system_prompt=(
"You are an assistant with access to Marqeta "
"(31 tools)."
),
)
result = await agent.run(
"What tools are available in Marqeta?"
)
print(result.data)
asyncio.run(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 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.
Pydantic AI validates every Marqeta tool response against typed schemas, catching data inconsistencies at build time. Connect 31 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
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 Pydantic 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 Pydantic AI
When Pydantic 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 ach funding source on Marqeta
Create an ACH funding source
Create auth control on Marqeta
Create an authorization control
Create business on Marqeta
Create a new Marqeta business
Create card on Marqeta
Create a new Marqeta card
Create card product on Marqeta
Create a new Marqeta card product
Create card transition on Marqeta
g., ACTIVE, SUSPENDED, TERMINATED). Create a card transition
Create direct deposit transition on Marqeta
g., to reverse a deposit). Create a direct deposit transition
Create gpa order on Marqeta
Create a GPA order to fund an account
Create payment card funding source on Marqeta
Create a payment card funding source
Create pin control token on Marqeta
Create a PIN control token
Create program funding source on Marqeta
Create a program funding source
Create user on Marqeta
Create a new Marqeta user
Create user transition on Marqeta
g., ACTIVE, SUSPENDED, CLOSED). Create a user transition
Create velocity control on Marqeta
Create a velocity control
Create webhook on Marqeta
Create a webhook
Get balances on Marqeta
Retrieve balances for a user or business
Get business on Marqeta
Retrieve a Marqeta business by token
Get card on Marqeta
Retrieve a Marqeta card by token
Get direct deposit on Marqeta
Retrieve a direct deposit record
Get user on Marqeta
Retrieve a Marqeta user by token
List cards by user on Marqeta
List all cards for a specific user
List users on Marqeta
List Marqeta users
Perform kyc on Marqeta
Perform KYC verification for a user
Ping webhook on Marqeta
Ping a webhook
Provision apple pay on Marqeta
Provision a card for Apple Pay
Provision google pay on Marqeta
Provision a card for Google Pay
Reveal pin on Marqeta
Reveal a card PIN
Simulate authorization on Marqeta
Simulate an authorization
Simulate clearing on Marqeta
Simulate a clearing transaction
Simulate reversal on Marqeta
Simulate a reversal
Update pin on Marqeta
Set or update a card PIN
Connect Marqeta to Pydantic AI via MCP
Follow these steps to wire Marqeta into Pydantic AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Pydantic AI
pip install pydantic-aiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use Pydantic AI with the Marqeta MCP Server
Pydantic AI provides unique advantages when paired with Marqeta through the Model Context Protocol.
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Marqeta integration code
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
Dependency injection system cleanly separates your Marqeta connection logic from agent behavior for testable, maintainable code
Marqeta + Pydantic AI Use Cases
Practical scenarios where Pydantic AI combined with the Marqeta MCP Server delivers measurable value.
Type-safe data pipelines: query Marqeta with guaranteed response schemas, feeding validated data into downstream processing
API orchestration: chain multiple Marqeta tool calls with Pydantic validation at each step to ensure data integrity end-to-end
Production monitoring: build validated alert agents that query Marqeta and output structured, schema-compliant notifications
Testing and QA: use Pydantic AI's dependency injection to mock Marqeta responses and write comprehensive agent tests
Example Prompts for Marqeta in Pydantic AI
Ready-to-use prompts you can give your Pydantic AI agent to start working with Marqeta immediately.
"List the last 10 users registered in my Marqeta environment."
"Issue a new virtual card for user token 'user_888' using card product 'prod_999'."
"Fund $50.00 USD to user 'u_789' from funding source 'fs_000'."
Troubleshooting Marqeta MCP Server with Pydantic AI
Common issues when connecting Marqeta to Pydantic AI through Vinkius, and how to resolve them.
MCPServerHTTP not found
pip install --upgrade pydantic-aiMarqeta + Pydantic AI FAQ
Common questions about integrating Marqeta MCP Server with Pydantic AI.
How does Pydantic AI discover MCP tools?
MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.Does Pydantic AI validate MCP tool responses?
Can I switch LLM providers without changing MCP code?
Explore More MCP Servers
View all →
IBAN Bank Validator
1 toolsValidate international bank accounts instantly using Modulus 97 checksums. Prevent failed transactions with 100% local precision.

Healthchecks.io
13 toolsMonitor cron jobs and background tasks via Healthchecks.io — list checks, track pings, and manage alerts directly from any AI agent.

Voiceflow
12 toolsDesign, prototype, and launch conversational AI agents with a visual builder that handles complex dialog flows without code.

Bureau24
10 toolsNever miss a business call with a live virtual receptionist service that answers, routes, and logs calls professionally.
