kitcommerce-mcp
A standalone MCP server that exposes the admin side of kitcommerce-api as tools, enabling AI assistants to manage products, categories, collections, coupons, orders, inventory, customers, and the dashboard.
README
kitcommerce-mcp
A standalone Model Context Protocol server that
exposes the admin side of kitcommerce-api as MCP tools, so an AI assistant
(Claude Desktop, Claude Code, Cursor, …) can manage a store: products,
categories, collections, coupons, orders, inventory, customers and dashboard.
It talks to the API over HTTP — it does not import the API code — so it can point at any deployment (local, staging, prod) via environment variables.
How it works
- Transport: stdio (spawned by the MCP client).
- Auth: sends the admin API key as the
authorizationheader (matched againstApiKey.secretin the API) and the store id asx-litekart-store. - Tools are a curated CRUD set over the core commerce entities (see below).
Setup
cd mcp
npm install
npm run build
Configure credentials (copy .env.example for reference — the MCP client
supplies these as env, see below):
| Variable | Description |
|---|---|
KITCOMMERCE_API_URL |
Base URL of the API, e.g. https://api.litekart.in |
KITCOMMERCE_API_KEY |
Admin API key secret (sent as authorization) |
KITCOMMERCE_STORE_ID |
Store id (sent as x-litekart-store) |
Create the API key in the admin API keys section; it is tied to a store and a user/role, which determines what the MCP server is allowed to do.
Register with an MCP client
Claude Desktop / Claude Code (claude_desktop_config.json or .mcp.json)
{
"mcpServers": {
"kitcommerce": {
"command": "node",
"args": ["D:/projects/lk/kitcommerce-api/mcp/dist/index.js"],
"env": {
"KITCOMMERCE_API_URL": "http://localhost:3000",
"KITCOMMERCE_API_KEY": "your_admin_api_key_secret",
"KITCOMMERCE_STORE_ID": "your_store_id"
}
}
}
}
For local development you can skip the build and run from source with tsx:
{
"command": "npx",
"args": ["tsx", "D:/projects/lk/kitcommerce-api/mcp/src/index.ts"]
}
Tools
| Group | Tools |
|---|---|
| Products | list_products, get_product, create_product, update_product, delete_product, bulk_update_product_status |
| Categories | list_categories, get_category, create_category, update_category, delete_category |
| Collections | list_collections, get_collection, create_collection, update_collection, delete_collection |
| Coupons | list_coupons, get_coupon, create_coupon, update_coupon, delete_coupon |
| Orders | list_orders, get_order, update_order |
| Inventory | list_inventory, get_inventory, update_inventory |
| Customers | list_customers, get_customer |
| Dashboard | get_dashboard_summary |
list_* tools accept page, page_size, search, sort, status, and a
free-form filters object for any additional query params. create_* /
update_* accept a data object sent as the JSON body — call the matching
get_* on an existing record first to learn the exact field shape.
Extending
Tools are declared in src/tools.ts. Add a resource with the crud() helper or
push a bespoke ToolDef. Keep the set curated — most MCP clients cap the number
of tools they will load.
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.