Kapruka MCP Server

MCP serverCommerce & finance

This integration connects your AI to Kapruka.com, Sri Lanka's largest e-commerce platform. Once added, your AI can browse products and check prices on Kapruka.com, and using it costs nothing.

Use Kapruka MCP Server in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Kapruka MCP Server and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the kapruka list categories tool from Kapruka MCP Server

Details

Available today. Use it from your connected AI after setup.

Add the integration, then ask your AI to find products or prices on Kapruka.com. More details are available at github.com/kapruka/mcp.

Kapruka MCP ServerStart free

What your AI can do with it

  • Connect your AI to Kapruka.com, Sri Lanka's largest e-commerce platform
  • Browse products available on Kapruka.com
  • Look up prices on Kapruka.com
  • Use the connection at no cost

Install Kapruka MCP Server

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user kapruka-mcp-server 'https://mcp.kapruka.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://mcp.kapruka.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=kapruka-mcp-server&config=eyJ1cmwiOiJodHRwczovL21jcC5rYXBydWthLmNvbS9tY3AifQ==

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://mcp.kapruka.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add kapruka-mcp-server --url 'https://mcp.kapruka.com/mcp'

    Run it once, then sign in with codex mcp login kapruka-mcp-server if the server asks for an account.

From the project's README

As published by kapruka/mcp in README.md.

Python MCP server that wraps the Kapruka.com REST API and exposes it as tools for LLMs and third-party MCP clients.

Setup

# 1. Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate

# 2. Install dependencies
pip install -e ".[dev]"

# 3. Configure environment
cp .env.example .env
# Edit .env with your Kapruka API URL and key

Running

# Start the MCP server (streamable HTTP, default port 8000)
python cli.py server

# Start with stdio transport (for use with MCP Inspector)
python cli.py server --stdio

# Health-check the Kapruka REST API
python cli.py ping

# List registered MCP tools
python cli.py tools

Testing with MCP Inspector

npx @modelcontextprotocol/inspector python cli.py server --stdio

Project Structure

src/
  server.py        # FastMCP server entry point
  tools/           # One module per tool group (products, orders, …)
  api/
    client.py      # Async httpx client + error handling
  config/
    settings.py    # Env-based configuration
tests/             # pytest test suite
cli.py             # Developer CLI

Trusted partners

First-party callers that can't be IP-allowlisted (e.g. Kapruka's web assistant on Cloudflare Workers) authenticate with an X-Partner-Key header instead, with optional per-customer limits via X-Partner-Customer-Id. Configured with PARTNER_KEYS / PARTNER_SCOPES / PARTNER_LIMITS. See docs/PARTNER_ACCESS.md and the deploy steps in deploy/README.md.

Running Tests

pytest

Tools it offers (8)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • kapruka_list_categories
  • kapruka_get_product
  • kapruka_search_products
  • kapruka_create_order
  • kapruka_track_order
  • kapruka_render_options_card
  • kapruka_list_delivery_cities
  • kapruka_check_delivery

Signals

GitHub stars
21
Forks
15
Last commit
Sep 2026
Advanced
Delivery
kapruka-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
com-kapruka-kapruka-mcp
Source
github.com/kapruka/mcp
Hosted endpoint
https://mcp.kapruka.com/mcp