An MCP server for processing payments using stdio transport, configured via environment variables.
Turkey's First Payment MCP Server
The Wagmi Tech Payment MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with payment service providers, allowing developers and AI agents to create and manage payment links effortlessly.
Transform how payments work with our Payment MCP Server:
As Turkey's first Payment MCP Server, we're committed to expanding support for all major payment service providers.
Creates a payment request
Required Parameters:
amount
(float): Payment amountOptional Parameters:
other_trx_code
(string): Transaction code for reconciliationfull_name
(string): Customer full nameemail
(string): Customer emailcurrency
(string): Payment currency (default: "TL")installment_number
(int): Number of installmentsdocker build -t payment-mcp-server .
Add the server configuration to your MCP client (e.g., Claude Desktop, Cursor):
{
"mcpServers": {
"payment-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "PROVIDER",
"-e", "DEALER_CODE",
"-e", "USERNAME",
"-e", "PASSWORD",
"-e", "CUSTOMER_TYPE_ID",
"payment-mcp-server"
],
"env": {
"PROVIDER": "moka",
"DEALER_CODE": "your_dealer_code",
"USERNAME": "your_username",
"PASSWORD": "your_password",
"CUSTOMER_TYPE_ID": "your_customer_type_id"
}
}
}
}
# Test with environment variables
docker run -it \
-e PROVIDER="moka" \
-e DEALER_CODE="your_dealer_code" \
-e USERNAME="your_username" \
-e PASSWORD="your_password" \
-e CUSTOMER_TYPE_ID="your_type_id" \
payment-mcp-server
Once configured, you can use the create_payment_link
tool in your MCP client to create payment requests.
This server follows clean architecture principles with clear separation of concerns:
core/
- Core business logic and interfacesproviders/
- Payment provider implementations (Moka United, extensible for others)utils/
- Utility functions (logging, authentication, validation)errors/
- Custom error handling classesconfig/
- Configuration managementThis server uses stdio transport for direct MCP client connections via stdin/stdout communication.
docker build -t payment-mcp-server .
# Run with environment variables
docker run -it \
-e PROVIDER="moka" \
-e DEALER_CODE="your_dealer_code" \
-e USERNAME="your_username" \
-e PASSWORD="your_password" \
-e CUSTOMER_TYPE_ID="your_customer_id" \
payment-mcp-server
# Or with .env file
docker run -it --env-file .env payment-mcp-server
# Run with different provider (currently only moka is supported)
docker run -it \
-e PROVIDER="moka" \
-e DEALER_CODE="your_dealer_code" \
-e USERNAME="your_username" \
-e PASSWORD="your_password" \
payment-mcp-server
# The server communicates via stdin/stdout for direct MCP client connection
# Create .env file with your credentials first
echo "PROVIDER=moka" > .env
echo "DEALER_CODE=your_dealer_code" >> .env
echo "USERNAME=your_username" >> .env
echo "PASSWORD=your_password" >> .env
echo "CUSTOMER_TYPE_ID=your_type_id" >> .env
# Run the server
docker-compose up
Variable | Description | Default |
---|---|---|
PROVIDER | Payment provider to use | moka |
DEALER_CODE | Payment provider dealer code | Required |
USERNAME | Payment provider username | Required |
PASSWORD | Payment provider password | Required |
CUSTOMER_TYPE_ID | Customer type ID | Required |
Option | Description | Default |
---|---|---|
--provider | Payment provider to use (env: PROVIDER) | moka |
--dealer-code | Payment provider dealer code | Required |
--username | Payment provider username | Required |
--password | Payment provider password | Required |
--customer-type-id | Customer type ID | Required |
--host | Server host | 0.0.0.0 |
--port | Server port | 8050 |
Logs are saved to /app/logs/
inside the container. To persist logs, mount a volume:
docker run -v ./logs:/app/logs payment-mcp-server
Need help setting up or using the Wagmi Tech Payment MCP Server?
Contact us: hello@wagmitech.co
We're here to help you integrate payment capabilities into your AI workflows.
This Payment MCP Server is just the beginning of our vision to make payment processing more intelligent, accessible, and integrated into the AI ecosystem.
We're All Gonna Make It!
An MCP server for the Dynatrace observability platform.
Provides Optical Character Recognition (OCR) services using Google's Gemini API.
Administer Google Workspace using the GAM command-line tool.
Administer Tableau Cloud with AI-powered tools. This server offers complete API coverage, enterprise-grade logging, and a production-ready architecture.
Send emails using AWS Simple Email Service (SES). Supports plain text, HTML, CC, BCC, reply-to, and email scheduling.
Interact with capabilities of the CRIC Wuye AI platform, an intelligent assistant specifically for the property management industry.
Interact with Stripe API
Interact with Twelve Data APIs to access real-time and historical financial market data for your AI agents.
A security-focused MCP server for performing safe operations on an Ubuntu system, featuring robust security controls and audit logging.
Streams real-time Binance Alpha token prices and liquidity data for AI agents and workflows.