PayRam MCP

This section explains how to use the PayRam MCP server to integrate payments, payouts, webhooks, and referral workflows into your application efficiently.

Introduction

The PayRam MCP Server allows AI assistants to connect with the PayRam platform and help businesses set up and manage crypto payments with ease.

It supports key payment-related workflows such as payment creation, payouts, webhook handling, and referral management. In addition, it provides an overview of core PayRam concepts, standard payment flows, and practical integration guidance, along with example snippets to simplify implementation.

Key capabilities

  • Payment Operations: Create payment intents, track payment status, and manage end-to-end payment flows.

  • Payout Management: Initiate and monitor payouts across multiple blockchains and supported currencies.

  • Webhook Handling: Receive and process webhook events, including signature verification and status updates.

  • Referral System: Configure referral campaigns, track referral activity, and manage reward distribution.

  • Integration Assistance: Access guided setup instructions, recommended best practices, and implementation examples.

  • Multi-Framework Support: Generate integration snippets for commonly used backend frameworks to accelerate development.

Prerequisites

  • An MCP-compatible client (examples provided below).

  • The ability to configure a custom MCP server using an HTTP endpoint.

    • No authentication headers are required when using the hosted PayRam MCP endpoint.

Client Configuration

  1. Install GitHub Copilot

    • Ensure you are using a version of the GitHub Copilot extension that supports the Model Context Protocol (MCP).

  2. Open Copilot MCP Settings

    • In VS Code, open Settings, then search for Copilot: Model Context Protocol and select Add Server.

  3. Configure the MCP Server

    • Choose HTTP Server and enter the following details:

      • Name: payram

      • URL: https://mcp.payram.com/mcp

      • SSE URL (optional, recommended): https://mcp.payram.com/mcp/sse

      • Headers: Leave empty

  4. Save the Configuration

    • After saving, GitHub Copilot will automatically detect and list the available PayRam tools.

  5. Start Using PayRam Tools

    • You can now trigger PayRam workflows by asking Copilot prompts such as:

      • “test payram”

      • “assess my project”

    • Copilot will route the request to the appropriate PayRam MCP flow.

Sample Prompts to Get Started

You can use the following example prompts with GitHub Copilot to explore and test PayRam MCP capabilities:

  • “Test the PayRam MCP connection.”

  • “How does PayRam work? Explain the payment flow.”

  • “Help me integrate PayRam payments into my project.”

  • “Create a simple application to test PayRam payments.”

  • “Create a payment and show how to check its status.”

Security Considerations

  • Do not share PayRam API keys, webhook secrets, or any other sensitive credentials in client-side code or AI prompts.

  • Ensure that only trusted AI clients and applications are allowed to connect to the PayRam MCP server.

  • Validate and review all actions triggered via MCP, especially those related to payment creation and payout execution.

  • Use separate PayRam credentials for development and production environments to reduce operational risk.

Last updated