PayHere Documentation MCP Server
Click on "Install 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., "@PayHere Documentation MCP Serversearch docs for checkout API"
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.
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: OwlPay 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides AI assistants with access to Payman's documentation, helping developers build integrations more efficiently through enhanced contextual support.Last updated5
- AlicenseBqualityDmaintenanceEnables 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.Last updated1MIT
- AlicenseBqualityDmaintenanceEnables developers to search and access NicePay payment API documentation, including endpoint details, code samples, and SDK method information through natural language queries.Last updated4MIT
- Alicense-qualityDmaintenanceProvides AI assistants with access to comprehensive Safaricom Daraja API documentation for all 22 M-Pesa APIs through searchable tools, enabling developers to query payment processing, transaction management, and business operations documentation.Last updated15MIT
Related MCP Connectors
A paid remote MCP for AI SDK MCP gateway registry, built to return verdicts, receipts, usage logs, a
Generate professional receipt PDFs and structured receipt data with AI-ready MCP tools.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/theepankaja/payhere-agent-docs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server