Skip to main content
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 read curl in the docs), use HTTP headers with these exact names: See also AI agents compatibility for the full read order for tools indexing this repo.

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

Setting Up MCP Integration

1

Install the Yuno MCP server

Install the Yuno MCP server package:
Or use npx for a one-time run:
2

Configure credentials

Set your Yuno sandbox credentials as environment variables:
Only use sandbox credentials with MCP. Never configure production credentials in AI development tools.
3

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

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

Rate Limits

MCP tool calls count against your standard API rate limits. The sandbox has more lenient limits, but avoid excessive automated queries.