4,000+ servers built on MCP Fusion
Vinkius
Pydantic AISDK
Pydantic AI
Why use Pagar.me MCP Server with Pydantic AI?

Bring Payment Gateway
to Pydantic AI

Create your Vinkius account to connect Pagar.me to Pydantic AI and start using all 11 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
Cancel OrderCapture OrderCreate Boleto OrderCreate CustomerCreate OrderCreate Pix OrderCreate SubscriptionGet CustomerGet OrderGet SubscriptionList Orders
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Pagar.me

What is the Pagar.me MCP Server?

Connect Pagar.me to any AI agent and unlock a powerful Brazilian payment infrastructure — create orders with Pix, Boleto, or Credit Card, manage recurring subscriptions, and track transactions through natural conversation.

What you can do

  • Order Creation — Create orders for single items with multiple payment methods
  • Pix Payments — Generate instant Pix QR Codes for immediate payment
  • Boleto Generation — Create Boleto Bancário with custom due dates
  • Subscriptions — Set up recurring billing for services
  • Customer Management — Register customers and view their history
  • Transaction Tracking — List orders and check their status

How it works

  1. Subscribe to this server
  2. Enter your Pagar.me Secret Key
  3. Start processing payments and managing subscriptions from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Brazilian Businesses — Accept Pix and Boleto payments directly from AI chats
  • SaaS Founders — Manage recurring subscriptions and customer billing
  • Developers — Integrate Pagar.me orders into complex AI workflows

Built-in capabilities (11)

cancel_order

Cancel an order

capture_order

Capture an authorized order

create_boleto_order

Create an order paid via Boleto

create_customer

Document can be CPF or CNPJ. Register a new customer

create_order

Items and Customer are required. You can add custom payments array or use the Pix/Boleto helpers. Create a new order with credit card or custom payments

create_pix_order

Expires in 1 hour. Create an order paid via Pix

create_subscription

Create a recurring subscription for a customer

get_customer

Get customer details

get_order

Get details of a specific order

get_subscription

Get subscription details

list_orders

List recent orders

Why Pydantic AI?

Pydantic AI validates every Pagar.me tool response against typed schemas, catching data inconsistencies at build time. Connect 11 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.

  • 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 Pagar.me integration code

  • Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors

  • Dependency injection system cleanly separates your Pagar.me connection logic from agent behavior for testable, maintainable code

P
See it in action

Pagar.me in Pydantic AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run Pagar.me with Vinkius?

The Pagar.me connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 11 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

View full Pagar.me details →
Pagar.me
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect Pagar.me using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

Pagar.me and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect Pagar.me to Pydantic AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures Pagar.me for Pydantic AI

Every request between Pydantic AI and Pagar.me is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

How do I get my Secret Key?

Log in to the Pagar.me dashboard, navigate to Settings > API Keys and copy your Secret Key (starts with sk_...). No complex OAuth apps, no webhooks — just connect and start processing payments.

02

Does it support Pix and Boleto?

Yes! Generate instant Pix QR Codes or Boletos right in the chat. Your agent handles the entire checkout flow — creating the order, retrieving the payment code, and allowing the customer to pay without ever leaving the conversation.

03

Can I manage subscriptions?

Yes. Just tell your AI agent to subscribe a new customer. It will register the customer, attach them to your predefined SaaS recurring plan, and confirm the active billing status — all in a single prompt without touching a dashboard.

04

Can I manage complete customer profiles and track their transaction histories?

Absolutely. View detailed customer records, pull entire order histories, and verify payment statuses instantly — perfect for SaaS founders, customer support teams, and digital agencies handling multiple accounts.

05

How does Pydantic AI discover MCP tools?

Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.

06

Does Pydantic AI validate MCP tool responses?

Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.

07

Can I switch LLM providers without changing MCP code?

Absolutely. Pydantic AI abstracts the model layer. your Pagar.me MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.

08

MCPServerHTTP not found

Update: pip install --upgrade pydantic-ai

Explore More MCP Servers

View all →