Socket
Book a DemoInstallSign in
Socket

@yuno-payments/yuno-mcp

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yuno-payments/yuno-mcp

> MCP server exposing the Yuno API as Model Context Protocol (MCP) tools

1.5.4
latest
npmnpm
Version published
Maintainers
0
Created
Source

@yuno-payments/yuno-mcp

MCP server exposing the Yuno API as Model Context Protocol (MCP) tools

This package provides an MCP server that exposes the Yuno payment platform API as Model Context Protocol tools, enabling programmatic access for AI agents, automation, and advanced workflows.

https://github.com/user-attachments/assets/8f41f3d7-5c52-4d8c-a5fd-681d6ab54b75

Features

  • Exposes Yuno API endpoints as MCP tools
  • Enables AI and automation workflows with Yuno
  • TypeScript support
  • Easy integration with Cursor and other MCP-compatible agents

Using with Cursor or Claude Desktop

You can use this MCP server with Cursor or Claude Desktop to enable AI-driven payment flows, customer creation, and more.

Prerequisites

  • For Local MCP Server: Node.js (version 18 or higher) must be installed on your system
  • For Remote MCP Server: No additional software required

1. Set Up Your Yuno API Credentials

  • Set your Yuno API credentials using environment variables (see config examples below).

2. Add the MCP Server to Cursor

  • Open Cursor Settings (Cmd+Shift+P → "Cursor Settings").
  • Go to the "MCP" section and click "Add new global MCP server".
  • Add the following config (replace the path with your actual build output):
{
    "mcpServers": {
        "yuno-mcp": {
            "type": "command",
            "command": "npx @yuno-payments/yuno-mcp@latest",
            "env": {
                "YUNO_ACCOUNT_CODE": "your_account_code",
                "YUNO_PUBLIC_API_KEY": "your_public_api_key",
                "YUNO_PRIVATE_SECRET_KEY": "your_private_secret_key"
            }
        }
    }
}

3. Add the MCP Server to Claude Desktop

  • Open Claude Desktop settings → "Developer" tab → Edit Config.
  • Add the following config:
{
    "mcpServers": {
        "yuno-mcp": {
            "command": "npx",
            "args": ["@yuno-payments/yuno-mcp@latest"],
            "env": {
                "YUNO_ACCOUNT_CODE": "your_account_code",
                "YUNO_PUBLIC_API_KEY": "your_public_api_key",
                "YUNO_PRIVATE_SECRET_KEY": "your_private_secret_key"
            }
        }
    }
}

4. Using Remote MCP Server (Alternative)

Instead of running the MCP server locally, you can use the remote MCP server hosted by Yuno. This is useful when you don't want to manage the server locally or for production environments.

For Cursor:

{
    "mcpServers": {
        "yuno-mcp": {
            "type": "http",
            "url": "https://y.uno/yuno-mcp/mcp",
            "headers": {
                "public-api-key": "your_public_api_key",
                "private-secret-key": "your_private_secret_key",
                "account-code": "your_account_code"
            }
        }
    }
}

For Claude Desktop:

{
    "mcpServers": {
        "yuno-mcp": {
            "url": "https://y.uno/yuno-mcp/mcp",
            "headers": {
                "public-api-key": "your_public_api_key",
                "private-secret-key": "your_private_secret_key",
                "account-code": "your_account_code"
            }
        }
    }
}

5. Test the Integration

  • In Cursor or Claude, select a Markdown file or chat and ask the agent to create a payment, customer, or checkout session using the yuno-mcp tool.
  • Make sure your environment variables are set correctly.

Required environment variables:

  • YUNO_ACCOUNT_CODE
  • YUNO_PUBLIC_API_KEY
  • YUNO_PRIVATE_SECRET_KEY

Available Tools

The Yuno MCP server exposes the following tools for AI agents and automation:

Tool NameDescription
customerCreateCreate a new customer
customerRetrieveRetrieve a customer by ID
customerRetrieveByExternalIdRetrieve a customer by external id (merchant_customer_id)
customerUpdateUpdate an existing customer by ID
paymentMethodEnrollEnroll or create payment method for a customer.
paymentMethodRetrieveRetrieve payment method.
paymentMethodRetrieveEnrolledRetrieve all enrolled payment methods for a customer.
paymentMethodUnenrollUnenroll payment method.
checkoutSessionCreateCreate a checkout session
checkoutSessionCreateOttGenerate a One Time Token (OTT) for a checkout session
checkoutSessionRetrievePaymentMethodsRetrieve payment methods for checkout
paymentCreateCreate a payment with various workflows
paymentRetrieveRetrieve payment information
paymentRetrieveByMerchantOrderIdRetrieve payment(s) by merchant_order_id
paymentRefundRefund a payment (full or partial) by payment and transaction id
paymentCancelOrRefundCancel or refund a payment by payment id (auto-detects action)
paymentCancelOrRefundWithTransactionCancel or refund a payment by payment and transaction id (auto-detects action)
paymentCancelCancel a pending payment by payment and transaction id
paymentAuthorizeAuthorize a payment (capture: false)
paymentCaptureAuthorizationCapture a previously authorized payment
paymentLinkCreateCreate a new payment link
paymentLinkRetrieveRetrieve a payment link by ID
paymentLinkCancelCancel a payment link by ID
subscriptionCreateCreate a new subscription
subscriptionRetrieveRetrieve a subscription by ID
subscriptionPausePause a subscription by ID
subscriptionResumeResume a subscription by ID
subscriptionUpdateUpdate a subscription by ID
subscriptionCancelCancel a subscription by ID
recipientCreateCreate a new recipient
recipientRetrieveRetrieve a recipient by ID
recipientUpdateUpdate a recipient by ID
recipientDeleteDelete a recipient by ID
installmentPlanCreateCreate a new installment plan
installmentPlanRetrieveRetrieve an installment plan by ID
installmentPlanRetrieveAllRetrieve all installment plans for an account
installmentPlanUpdateUpdate an installment plan by ID
installmentPlanDeleteDelete an installment plan by ID
documentationReadAccess Yuno API documentation and guides

Payment Workflows

The paymentsCreate tool supports three workflow types:

  • DIRECT - Direct payment processing
  • REDIRECT - Redirect-based payment flow
  • SDK_CHECKOUT - Requires checkout_session_id and ott (for web, android, and ios payments)

FAQs

Package last updated on 30 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.