Payment-UZ MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Payment-UZ MCP Server πΊπΏπ³
A FastMCP server that exposes Uzbekistan's payment systems (Payme, Click, Octo) as AI-accessible tools. Built for developers to easily integrate payment providers through AI assistants like Claude, ChatGPT, and Cursor.
π― What is This?
Payment-UZ MCP is a Model Context Protocol server that turns complex payment integrations into simple AI conversations. Instead of reading documentation and writing code manually, just ask your AI assistant:
"Generate a Payme payment link for UZS"
"How do I verify a Click webhook signature?"
"Compare Payme, Click, and Octo integration for my e-commerce site"
The AI uses this MCP server to provide accurate, production-ready payment integration guidance and code.
Related MCP server: Payme MCP Server
β¨ Features
π§ Payment Provider Tools
Payme Integration
β Generate checkout URLs
β Verify webhook authentication
β Complete integration guide with JSON-RPC 2.0
β Transaction state management
β Error code reference
Click Integration
β Generate invoice URLs
β Verify MD5 webhook signatures
β Two-phase payment flow (prepare + complete)
β Merchant API documentation
β Error handling guide
Octo Integration
β Create payment transactions
β Verify SHA-256 webhook signatures
β Modern REST API integration
β Card tokenization support
β Refund handling
π Comparison & Analysis
Compare all three providers side-by-side
Security best practices
Market share and recommendations
Integration complexity analysis
π Quick Start
Prerequisites
Python 3.10 or higher
pip or uv package manager
An MCP-compatible AI client (Claude Desktop, Cursor, etc.)
Installation
# Clone or download this server
cd mcp-servers/payment-uz
# Install dependencies
pip install -r requirements.txt
# Or use uv for faster installation
uv pip install -r requirements.txtUsage with Claude Desktop
Open Claude Desktop configuration:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server configuration:
{
"mcpServers": {
"payment-uz": {
"command": "python",
"args": [
"/FULL/PATH/TO/mcp-servers/payment-uz/server.py"
]
}
}
}Restart Claude Desktop
Start asking payment integration questions!
Usage with Cursor / VS Code
Add to your MCP configuration:
{
"mcpServers": {
"payment-uz": {
"command": "python",
"args": ["./mcp-servers/payment-uz/server.py"]
}
}
}π Available Tools
Payme Tools
payme_generate_checkout_url- Generate payment URLspayme_verify_webhook_auth- Verify Basic Auth headerspayme_get_integration_guide- Complete integration documentation
Click Tools
click_generate_invoice_url- Create payment invoicesclick_verify_webhook_signature- Verify MD5 signaturesclick_get_integration_guide- Two-phase payment guide
Octo Tools
octo_create_payment- Initialize payment transactionsocto_verify_webhook_signature- Verify SHA-256 signaturesocto_get_integration_guide- Modern REST API guide
General Tools
compare_payment_providers- Provider comparison matrixpayment_security_best_practices- Security guidelines
Resources
payment-uz://status- Real-time provider status
Prompts
generate_payment_integration- Generate integration code
π‘ Example Conversations
Generate a Payme Payment Link
You: Generate a Payme checkout URL for a booking worth 150,000 UZS
AI (using MCP):
{
"success": true,
"payment_url": "https://checkout.test.paycom.uz/...",
"amount_uzs": 150000,
"amount_tiyin": 15000000,
"environment": "test"
}Compare Payment Providers
You: Which payment provider should I integrate first for my booking platform?
AI (using MCP): Based on the comparison, I recommend:
Payme - Essential for enterprise/B2B bookings (highest trust)
Click - Easy integration, covers most consumer payments
Octo - For modern features like recurring payments, and existing internation al cards as of June 2025.
Verify Webhook Security
You: How do I verify a Click webhook signature?
AI (using MCP): Use the click_verify_webhook_signature tool with MD5 hash verification...
ποΈ Architecture
Payment-UZ MCP Server
βββ FastMCP Framework
βββ Tools (15+ payment tools)
βββ Prompts (Code generation)
βββ Security (Signature verification)Why This Matters
Uzbekistan has a unique payment landscape with these three dominant providers and its growing with new players. Unlike global markets where Stripe/PayPal dominate, Uzbek developers must integrate local providers and the documentation always varies. This MCP server makes that integration easier.
π οΈ Development
Project Structure
payment-uz/
βββ server.py # Main MCP server
βββ requirements.txt # Python dependencies
βββ pyproject.toml # Package configuration
βββ README.md # This file
βββ examples/ # Usage examples (coming soon)Running Tests
# Test the server locally
python server.py
# In another terminal, test with MCP Inspector
npx @modelcontextprotocol/inspector python server.pyContributing
Contributions are welcome! Please feel free to submit a Pull Request.
π License
MIT License - feel free to use in your projects!
π Acknowledgments
Built on FastMCP
Inspired by the Model Context Protocol
Payment integration based on GetSpace production implementation we have used in 2025. www.getspace.uz
π§ Contact
Author: Dilmurod Makhamadaliev
Repository: github.com/DilmurodMak/payment-uz-mcp
Issues: Report bugs or request features
Stop reading payment docs. Start asking AI. π€
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Stripe payments for AI agents. Create links, verify, manage customers.
Let AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.
Pakistan payments for AI agents β Safepay checkout via Safepay. Never holds funds.
Non-custodial crypto payments for AI assistants: balances, payments, and create payment links.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with multiple payment providers (Stripe, Paystack) through a unified API. Supports payment initialization, verification, refunds, customer management, and invoicing without requiring knowledge of specific provider implementations.2-
- AlicenseAqualityDmaintenanceMCP server for Payme β the leading payment system in Uzbekistan. Enables AI agents to process payments, manage cards, and generate checkout links through the Model Context Protocol.104 npmMIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to set up crypto checkout integration by registering workspaces, creating paylinks and public payment invoices, configuring webhook endpoints, verifying webhook signatures, and checking stablecoin payment status.-
- FlicenseNot gradedqualityAmaintenanceLets AI coding agents integrate crypto checkout, payment links, payment status checks, and webhook-based entitlements into applications.-