eSewa-Khalti MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@eSewa-Khalti MCPMake a payment of Rs. 2000 via eSewa to ABC Store"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
eSewa & Khalti MCP Servers
Nepal's first MCP servers for eSewa and Khalti — the two dominant payment gateways in Nepal (eSewa alone serves 15M+ users). This monorepo lets Claude initiate and manage payments directly in conversation, with HMAC-SHA256 request signing so credentials never leave your own environment.
What is MCP?
The Model Context Protocol (MCP) is an open standard that enables Claude and other AI models to safely interact with tools, APIs, and data sources. MCP servers allow you to extend Claude's capabilities by exposing custom functionality through a standardized interface.
Related MCP server: PayBridgeNP MCP Server
What's Included
This monorepo contains two MCP servers for Nepali payment gateways:
Khalti MCP Server — Integrate Khalti payment gateway with Claude
eSewa MCP Server — Integrate eSewa payment gateway with Claude, with HMAC-SHA256 signed requests
Quick Start
Using with Claude Desktop
Install all packages:
npm install npm run buildConfigure in
~/.config/Claude/claude_desktop_config.json:{ "mcpServers": { "khalti-mcp": { "command": "npx", "args": ["-y", "khalti-mcp"], "env": { "KHALTI_SECRET_KEY": "your-khalti-secret-key", "KHALTI_GATEWAY_URL": "https://a.khalti.com/api/v2" } }, "esewa-mcp": { "command": "npx", "args": ["-y", "esewa-mcp"], "env": { "ESEWA_SECRET_KEY": "your-esewa-secret-key", "ESEWA_PRODUCT_CODE": "your-esewa-product-code", "ESEWA_GATEWAY_URL": "https://uat.esewa.com.np/api/epay/main/v2/form" } } } }Restart Claude Desktop and start using payment tools in conversations.
Using with Claude Code
claude mcp add khalti-mcp -- npx -y khalti-mcp
claude mcp add esewa-mcp -- npx -y esewa-mcpDevelopment
# Install dependencies
npm install
# Build all packages
npm run build
# Development mode (watch)
npm run devPackages
See individual package READMEs for detailed documentation:
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Nepal payments for AI agents — Khalti wallet via Khalti. Never holds funds.
Taiwan payments (ECPay 綠界 + NewebPay 藍新) & e-invoices for AI agents. Stateless, never holds funds.
Send invoices from Claude and ChatGPT. One sentence becomes a PDF with a Stripe payment link.
- Era ContextOAuthapp.era
Personal finance, bank account, and shared memory connector for Claude, ChatGPT, Gemini Spark & more
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI agents to Nepal's payment infrastructure through the PayArk API. It enables users to monitor transaction history, manage projects, and generate hosted checkout links using natural language.5 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with PayBridgeNP payment gateway accounts through natural language. Provides read-only access to payments, refunds, analytics, and account data, with write capabilities planned for future versions.46 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables users to manage personal finances—tracking expenses, income, budgets, and generating summaries—through natural language commands via AI assistants like Claude.-
- AlicenseCqualityDmaintenanceEnables Claude to integrate with Stripe for creating payment links, processing payments, and managing products and customers.1723 npmMIT