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!
Analyze CDK projects to identify AWS services used and get pricing information from AWS pricing webpages and API.
Interact with Webflow APIs to list and edit your site and CMS data.
A remote MCP server deployable on Cloudflare Workers with OAuth login support, using Cloudflare KV for data storage.
A remote MCP server deployable on Cloudflare Workers without authentication.
Interact with the Eyevinn Open Source Cloud API. Requires a Personal Access Token (OSC_ACCESS_TOKEN).
An MCP service for deploying HTML content to EdgeOne Pages and obtaining a publicly accessible URL.
A self-hostable MCP server for Cloudflare Workers with OAuth login support, using Cloudflare KV for storage.
A Python MCP server for Microsoft Entra ID (Azure AD) directory, user, group, device, sign-in, and security operations via Microsoft Graph.
Get up-to-date EC2 pricing information with one call. Fast. Powered by a pre-parsed AWS pricing catalogue.
Deploy, configure & interrogate your resources on the Cloudflare developer platform (e.g. Workers/KV/R2/D1)