PayHere Documentation MCP Server

PayHere Documentation MCP Server

Provides AI-ready documentation for the PayHere payment gateway, enabling access to API references, SDK guides, and documentation search through MCP tools.

Category
Visit Server

README

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.txt

Use 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-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 policy

MCP Server Tools

Tool Description
list_topics List all documentation sections
get_section Get a section by topic name (fuzzy matching)
get_api_reference Get API docs with alias support
search_docs Full-text search across all documentation
get_sdk_guide 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.js

Visit http://localhost:3000 for the landing page, /llm.txt for the documentation.

License

MIT — see LICENSE

Links

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured