What PayRam MCP server does
PayRam MCP server gives MCP-compatible AI agents a guided interface for deploying and integrating self-hosted PayRam crypto payment gateways. It covers the path from VPS preparation and installation through public URL configuration, wallet setup, API key creation, payment-link generation, security hardening, and store or application integration.
The server also supports ongoing administration. Agents can diagnose a running gateway, follow procedures for domains, TLS, firewalls, upgrades, backups, chains, Smart Bridge, wallet operations, and connectors, and use API recipes for payments, payouts, workers, logs, webhooks, and daily checks.
For application developers, the catalog generates integration material rather than requiring every endpoint to be written manually. Available outputs include SDK and raw HTTP examples, payment routes for several frameworks, payout and referral flows, webhook handlers, mock webhook requests, and a top-up wallet ledger integration.
How it works
The hosted endpoint is available at https://mcp.payram.com/mcp and can be added to an MCP client without an API key for the initial connection. A typical workflow begins with payram_setup_plan, which creates an ordered installation plan and identifies whether each action belongs to the agent or a human operator. Human hand-offs include cold-wallet decisions, mainnet spending, root-only settings, and claiming the root account.
After deployment, payram_doctor checks a gateway by public URL without credentials. It reports reachability, health, TLS, installed and latest versions, and worker state, with an optional API-key validation that does not create resources.
Day-to-day API actions are handled through payram_ops_playbook. The agent calls the merchant's PayRam API directly using the relevant public credential, dashboard JWT, or project API key, while those credentials remain on the agent's machine. Administrative changes use payram_runbook, whose procedures distinguish agent steps from human steps.
Setup and configuration
Add the hosted MCP URL to the client's MCP configuration:
{
"mcpServers": {
"payram": { "url": "https://mcp.payram.com/mcp" }
}
}
For VPS installation, the documented interactive installer accepts an explicit network mode. Use --testnet for test deployment or --mainnet for production; the installer defaults to mainnet, so selecting the mode explicitly is important. After installation, the human operator claims the root account and sets the public Site URL so generated payment links do not continue pointing to localhost.
The server can also generate a merchant backend .env template, a setup checklist, a suggested project structure, and an agent setup flow covering environment variables, merchant and operator modes, wallet flows, chain additions, and troubleshooting.
Tools and capabilities
- Plan installation with ordered steps, commands, ownership, success checks, and human approval points.
- Inspect gateway reachability, health, TLS, version, workers, and API-key validity.
- Follow runbooks for SSL, domains, firewall ports, upgrades, backups, restores, chains, Smart Bridge, and payment plugins.
- Run API recipes for payment lookup, payment links, payouts, webhooks, logs, node synchronization, worker restarts, and daily checks.
- Generate JavaScript/TypeScript SDK or raw HTTP payment and payout examples.
- Generate payment routes for Next.js, Express, FastAPI, Laravel, Go/Gin, and Spring Boot.
- Create referral, webhook, mock-event, and top-up wallet integration code.
Limitations and notes
The hosted MCP endpoint provides planning, diagnosis, troubleshooting, documentation, and generated integration material, but some live-data tools are available only when the MCP server runs locally. The hosted server does not retain merchant credentials; operational calls are made directly from the agent to the merchant's PayRam API.
Installation and production operation still require human decisions and actions at defined hard stops, including cold-wallet handling, mainnet gas or spending, root-only configuration, and claiming the administrator account. PayRam webhooks use an X-Payram-Signature HMAC-SHA256 signature calculated from the raw request body and the project API key, so integrations must preserve the raw body for verification.