Public Beta. MCP integration uses the open Model Context Protocol standard. Connect any MCP-compatible AI tool to Yuno’s API. Available for all plan tiers in sandbox; production access requires account approval.
Credentials: MCP env vars and REST headers
The MCP server reads environment variables. When you call Yuno REST APIs directly (or readcurl in the docs), use HTTP headers with these exact names:
| MCP / server env (typical) | REST header on api.y.uno / api-sandbox.y.uno |
|---|---|
YUNO_PUBLIC_KEY | public-api-key |
YUNO_PRIVATE_KEY | private-secret-key |
YUNO_ACCOUNT_CODE | account_id |
Overview
Yuno supports the Model Context Protocol (MCP) to enable AI-powered development tools (like Claude Code, Cursor, and Windsurf) to interact directly with Yuno’s payment APIs. This integration allows AI assistants to query payment data, create test transactions, and debug integration issues using natural language.MCP integration is designed for development and debugging workflows. It should not be used for production payment processing.
What is MCP?
Model Context Protocol (MCP) is an open standard that allows AI applications to connect to external data sources and tools. Yuno’s MCP server exposes payment API capabilities as MCP tools that AI assistants can invoke.Available MCP Tools
| Tool | Description | Use Case |
|---|---|---|
create_checkout_session | Create a new checkout session | Start a payment flow |
create_payment | Create a payment | Test payment creation |
get_payment | Retrieve payment details | Debug payment status |
list_payments | List recent payments | Review transaction history |
create_refund | Process a refund | Test refund flows |
get_payment_methods | List available methods | Check method availability |
validate_payload | Validate a payment payload | Pre-flight validation |
Setting Up MCP Integration
Connect to your AI tool
Configure your AI tool to use the Yuno MCP server. See Remote MCP Server Setup for tool-specific configuration.
Usage Examples
Natural Language Queries
Once connected, you can interact with Yuno through natural language:- “Create a checkout session for $50 USD in Colombia”
- “Show me the last 10 failed payments”
- “What payment methods are available for Brazil?”
- “Validate this payment payload for PIX”
- “Get the details of payment pay_abc123”
AI-Assisted Debugging
Use MCP to debug integration issues directly in your IDE:Supported AI Tools
| Tool | MCP Support | Configuration |
|---|---|---|
| Claude Code | Native | .claude/settings.json |
| Cursor | Via extension | Settings > MCP |
| Windsurf | Via extension | Settings > MCP |
| VS Code + Continue | Via extension | .continue/config.json |
Security Considerations
- MCP tools run in your local environment with your credentials
- All API calls go through the standard Yuno API with your sandbox keys
- No payment data is sent to the AI model’s training pipeline
- Use sandbox credentials exclusively for MCP integrations
- Rotate credentials if they are accidentally exposed