# PayRam MCP Server

> Plan, operate, and integrate self-hosted PayRam crypto payment gateways with AI agents.

- **URL**: https://followmcp.com/en/servers/payram-mcp
- **Category**: Other
- **Origin**: Official
- **Stars**: 158
- **FMRS Score**: 50/100 (Grade D)
- **Source**: https://github.com/PayRam/payram-mcp
- **Transports**: Streamable HTTP
- **Runtimes**: Hosted (no local runtime), Node.js 22.12+
- **Auth**: No credential needed

## Overview
PayRam MCP Server lets MCP-aware AI agents plan, diagnose, configure, and integrate self-hosted PayRam cryptocurrency payment gateways. Its hosted endpoint provides setup plans, public diagnostics, troubleshooting, runbooks, API operation recipes, and integration code and app scaffolds. The hosted server does not hold merchant credentials; live data and some write operations are available only in local mode.

## Best for
- PayRam merchants and developers who want to control their server and wallets.
- Agent users who want to plan, integrate, or operate PayRam through MCP.
- Developers who need payment and webhook integration examples for multiple backend frameworks.

## Not for
- People seeking a hosted payment processor or an MCP server that stores merchant credentials.
- People who need the hosted endpoint to query live payment data or perform local-mode write operations.
- Projects that do not use PayRam or need a cryptocurrency payment gateway.

## Required permissions
- No authentication headers are required to connect to the hosted MCP endpoint.
- Local-mode data tools require a PayRam URL, API key, and the relevant JWT credentials.
- Local-mode write operations such as creating payment links or restarting workers require suitable permissions and credentials.
- Installing and operating the gateway involves VPS and server administration, wallet and network configuration, and human action for some steps.

## Risks
- Payment, payout, and key operations involve real funds; API keys can make payouts and should stay server-side, out of browser code and chat.
- Self-hosted servers and hot wallets need protection; the documentation recommends sweeping funds to a cold wallet and keeping only a small hot-wallet balance.
- The hosted endpoint does not hold merchant credentials; live data tools and some write operations are available only in local mode.
- Installation, domain, wallet, mainnet gas, and root account steps may require human involvement.

## Client config (JSON)
```json
{"mcpServers":{"payram":{"url":"https://mcp.payram.com/mcp"}}}
```

## Tools (41)
- `payram_setup_plan`: Creates an ordered PayRam installation plan and marks agent and human steps.
- `payram_doctor`: Checks a PayRam server by public URL without credentials and returns likely causes and fixes.
- `payram_troubleshoot`: Provides known causes, confirmation steps, and fixes for a described problem or error.
- `payram_runbook`: Provides procedures for administrative tasks such as site URL, domain, SSL, firewall, upgrades, backups, chains, and commerce connectors.
- `payram_ops_playbook`: Provides recipes for an agent to call the PayRam API directly using its own credentials.
- `test_payram_connection`: Checks PayRam reachability and health, with optional API key validation; it does not create payments.
- `generate_env_template`: Generates a PayRam environment configuration template.
- `generate_setup_checklist`: Generates a merchant setup checklist.
- `suggest_file_structure`: Suggests a project file structure.
- `get_agent_setup_flow`: Provides a headless agent installation guide.
- `onboard_agent_setup`: Provides agent installation onboarding guidance.
- `explain_payram_basics`: Explains PayRam basics.
- `explain_payram_concepts`: Explains PayRam concepts.
- `explain_payment_flow`: Explains the payment flow.
- `explain_payram_security`: Explains PayRam security concepts.
- `get_payram_links`: Provides links related to PayRam.
- `prepare_payram_test`: Provides a checklist to prepare for a PayRam connection test.
- `get_payram_doc_by_id`: Retrieves an embedded PayRam document by its identifier.
- `list_payram_docs`: Lists available PayRam documents.
- `generate_payment_sdk_snippet`: Generates SDK example code for creating a payment and checking its status.
- `generate_payment_http_snippet`: Generates raw HTTP example code for creating a payment and checking its status.
- `generate_payment_status_snippet`: Generates payment status query example code.
- `generate_payment_route_snippet`: Generates payment route example code.
- `generate_payout_sdk_snippet`: Generates payout SDK example code.
- `generate_payout_recipient_flow_snippet`: Generates example code for recipient creation, OTP validation, and payout.
- `generate_payout_status_snippet`: Generates payout status query example code.
- `generate_referral_sdk_snippet`: Generates referral SDK example code.
- `generate_referral_validation_snippet`: Generates referral eligibility validation example code.
- `generate_referral_status_snippet`: Generates referral status query example code.
- `generate_referral_route_snippet`: Generates referral route example code.
- `generate_webhook_handler`: Generates signed webhook handler examples for multiple frameworks.
- `generate_webhook_event_router`: Generates webhook event routing example code.
- `generate_mock_webhook_event`: Generates a mock webhook event for testing.
- `snippet_express_payment_route`: Generates an Express payment route example.
- `snippet_nextjs_payment_route`: Generates a Next.js payment route example.
- `snippet_fastapi_payment_route`: Generates a FastAPI payment route example.
- `snippet_laravel_payment_route`: Generates a Laravel payment route example.
- `snippet_go_payment_handler`: Generates a Go payment handler example.
- `snippet_spring_payment_controller`: Generates a Spring Boot payment controller example.
- `generate_topup_integration_snippet`: Generates a top-up wallet integration example for existing apps, covering ledger, webhook crediting, and invoice settlement.
- `scaffold_payram_app`: Generates a sample app with payments, payouts, webhooks, and a browser console.
