LABSCO SUMMARY
It creates real payment links against your real merchant ID.
That is the whole appeal — asking for a link and getting one back is faster than the dashboard when you are already mid-conversation with a customer — and it is also the thing to be deliberate about, since the key secret in your config signs live requests. Reading back the links and their transactions in the same session is what makes it more than a link generator: you can send one and check whether it was paid without switching tools.
What it is
A Paytm merchant server for the payment-link workflow: generate a link to send a customer, see every link you have created, and check what has been paid against a specific one. It signs requests with your merchant credentials, so it acts as your merchant account rather than as a viewer.
What you get
- Create a Paytm payment link for a customer
- Fetch every payment link you have created
- Retrieve the transactions recorded against a specific payment link
Requirements
Python 3.12 or higher, uv, and Paytm merchant credentials — PAYTM_MID and PAYTM_KEY_SECRET, held in a .env file or the client's env block. Install with uv venv and uv pip install . (package payment-mcp, version 0.1.0), or run the supplied setup.sh, which checks the prerequisites, creates the environment and writes the .env template. The server is launched by your MCP client rather than by hand.
Setup effort
One command plus a key — uv path --directory path to project run paytm_mcp.py, then supply credentials
USE CASES
01
Getting a payment link out to a customer quickly
Create it in the conversation you are already having.
02
Checking whether an invoice has been paid
Pull the transactions recorded against that specific link.
03
Reviewing what you have sent out
List every payment link created on the merchant account.
BEFORE YOU INSTALL
What to know first
Requires
- Python 3.12
- PAYTM_KEY_SECRET in your environment
- PAYTM_MID in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
TERMINAL
uv path --directory path to project run paytm_mcp.pyMCP Clients
Claude Desktop
CLAUDE DESKTOP · JSON
{
"mcpServers": {
"paytm-mcp-server": {
"command": "uv path",
"args": [
"--directory",
"path to project",
"run",
"paytm_mcp.py"
],
"env": {
"PAYTM_MID": "<YOUR_PAYTM_MID>",
"PAYTM_KEY_SECRET": "<YOUR_PAYTM_KEY_SECRET>"
}
}
}
}