PayArk MCP Server
Connects 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.
README
@payark/mcp-server
<p align="center"> <img src="https://raw.githubusercontent.com/Payark-Inc/payark/main/apps/public-demo/public/og-image.png" alt="PayArk MCP Server" width="100%" /> </p>
<p align="center"> <strong>Connect your AI agent to Nepal's payment infrastructure — in minutes.</strong> </p>
What is this?
The PayArk MCP Server is a Model Context Protocol integration that gives AI agents like Claude, Cursor, and Gemini direct access to your PayArk account. Instead of switching between dashboards or writing boilerplate API calls, you can ask your AI in plain language:
"How many payments did we process through Khalti in the last 24 hours?" "Generate a checkout link for Rs. 500." "Why did payment
pay_abc123fail?"
Available Tools
| Tool | What it does |
|---|---|
list_projects |
Lists all your PayArk projects and their IDs |
list_payments |
Fetches transaction history with optional filters |
get_payment |
Gets the full state of a single payment |
create_payment_link |
Generates a hosted checkout URL |
Quick Start
Step 1 — Get your credentials
- Go to your PayArk Dashboard → Developers.
- Generate a Personal Access Token (PAT).
- Keep it secret — it grants account-level access.
Step 2 — Connect your agent
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"payark": {
"command": "npx",
"args": ["-y", "@payark/mcp-server"],
"env": {
"PAYARK_PAT": "pat_your_token_here",
"PAYARK_API_URL": "https://api.payark.com"
}
}
}
}
Cursor (Desktop IDE)
- Open Cursor Settings → MCP.
- Click + Add New MCP Server.
- Set the name to
PayArk, type tocommand, and use this command:
export PAYARK_PAT=pat_... && npx @payark/mcp-server
Remote / SSE Mode
For web-based agents or cloud-to-cloud connections, run the server in SSE mode:
export PAYARK_PAT=pat_...
export PORT=3001
bun run @payark/mcp-server --sse
The SSE endpoint will be available at http://localhost:3001/sse.
Security
Authentication is handled via Personal Access Tokens (PATs), which are scoped to your user account rather than any single project. This means:
- Full audit trail — every MCP-triggered action appears in your account's audit log.
- Easy revocation — if a token is compromised, revoke it instantly from the dashboard.
- Encrypted in transit — all communication with the PayArk API uses TLS 1.3.
Prompting Tips
To get better results from your agent, give it context upfront:
"You are a FinTech assistant with access to PayArk MCP tools. Help me monitor transactions and generate payment links. When I ask for a payment link, suggest the best provider based on recent success rates."
License
MIT © 2026 PayArk Labs.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.