PayHere Documentation MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PayHere LLM Documentation Server
DISCLAIMER: This is NOT official PayHere documentation from PayHere (Pvt) Ltd. This is a community-driven resource compiled from publicly available data. Created by Theepan Kaja. For official documentation, visit support.payhere.lk.
AI-ready documentation for the PayHere payment gateway, served as llm.txt for AI coding agents and as an MCP server for direct tool access.
Quick Start
Use the hosted llm.txt
# Claude Code
Fetch https://payheredoc.theepankaja.website/llm.txt
# Terminal
curl https://payheredoc.theepankaja.website/llm.txt -o llm.txtUse the MCP server
# Claude Code
claude mcp add payhere-docs -- npx -y payhere-mcp-server
# Or add to any MCP-compatible client
npx payhere-mcp-serverRelated MCP server: NicePay MCP Server
Project Structure
├── llm.txt # Full PayHere documentation (plain text)
├── server.js # Express server for hosting llm.txt
├── mcp/ # MCP server package
│ ├── index.js # MCP server entry point
│ ├── lib/
│ │ ├── parser.js # llm.txt parser
│ │ ├── tools.js # Tool implementations
│ │ └── disclaimer.js # Disclaimer text
│ └── package.json
├── LICENSE # MIT License
├── CONTRIBUTING.md # Contribution guidelines
└── SECURITY.md # Security policyMCP Server Tools
Tool | Description |
| List all documentation sections |
| Get a section by topic name (fuzzy matching) |
| Get API docs with alias support |
| Full-text search across all documentation |
| Get focused SDK-specific guide (android, ios, react-native, flutter, javascript) |
Documentation Coverage
Checkout, Recurring, Preapproval, Charging, Retrieval, Subscription Manager, Refund, Authorize, Capture APIs
JavaScript SDK (payhere.js)
Mobile SDKs: Android, iOS, React Native, Flutter
Shopping Cart Plugins (WooCommerce, Shopify, OpenCart, etc.)
PayHere Links & Buttons
Payment Notifications, Hash Generation, OAuth
Sandbox & Testing, Fees & Limits
Self-Hosting
git clone https://github.com/theepankaja/payhere-agent-docs.git
cd payhere-agent-docs
npm install
node server.jsVisit http://localhost:3000 for the landing page, /llm.txt for the documentation.
License
MIT — see LICENSE
Links
Hosted docs: payheredoc.theepankaja.website
Official PayHere docs: support.payhere.lk
Author: Theepan Kaja
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search PayU docs, browse the payment integration catalog, and fetch production-ready code.
A paid remote MCP for AI SDK MCP gateway registry, built to return verdicts, receipts, usage logs, a
Discover and call 10,000+ production APIs from one MCP server. Pay-per-call billing for AI agents.
Payments MCP: self-serve merchant key, PayNow + PayPal checkouts.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables LLMs to search and retrieve OwlPay documentation directly through natural language queries. Accelerates system integration by providing instant access to OwlPay API documentation and guides.11MIT
- AlicenseBqualityDmaintenanceEnables developers to search and access NicePay payment API documentation, including endpoint details, code samples, and SDK method information through natural language queries.4MIT
- AlicenseAqualityDmaintenanceEnables interaction with the PayHere payment gateway via MCP, allowing payment retrieval, refund issuance, checkout payload generation, and signature computation/verification.59 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to build PayRetailers cross-border payment integrations accurately by providing official documentation, endpoint specs, country-specific payload validation, webhook guidance, and integration prompts as MCP resources, tools, and prompts.7MIT