CS-Cart MCP Server
Integrates with CS-Cart REST API to fetch products and orders, enabling product search and order retrieval for e-commerce management.
README
CS-Cart MCP Server
This MCP server provides integration with the CS-Cart API, allowing Model Context Protocol (MCP) clients to access product and order data from your CS-Cart store.
Features
cscart_get_productFetch product by ID with full detailscscart_search_productsSearch products by name or product codecscart_get_productsList all productscscart_get_featuresGet product features and variantscscart_get_orderFetch order details by order ID
Uses CS-Cart REST API v2.0 (API docs)
Configuration
Environment Variables
Set these environment variables to configure the CS-Cart integration:
CSCART_SHOP_URL– Base URL of your CS-Cart store (e.g.,https://shop.example.com)CSCART_EMAIL– CS-Cart admin email (e.g.,admin@example.com)CSCART_API_KEY– API key from CS-Cart admin panelCSCART_CACHE_TIME– Cache duration in seconds (e.g.,3600for 1 hour)CSCART_ADMIN_URL– URL to access CS-Cart admin panel (e.g.,https://shop.example.com/admin.php)CSCART_PRODUCT_LINK_TEMPLATE– Template for generating product links (e.g.,https://example.com/products/{id})CSCART_TELEGRAM_FIELD– Field ID for Telegram integration in CS-Cart (e.g.,2)
Logging
Logs are written to data/mcp.log in the server directory. The log directory will be created automatically if it doesn't exist.
Debug
npx @modelcontextprotocol/inspector node ./dist/index.js
Example MCP Config (NPX)
{
"mcpServers": {
"cscart": {
"command": "npx",
"args": [
"-y",
"@popstas/cscart-mcp-server"
],
"env": {
"CSCART_SHOP_URL": "https://shop.example.com",
"CSCART_EMAIL": "admin@example.com",
"CSCART_API_KEY": "1234567890",
"CSCART_CACHE_TIME": "3600",
"CSCART_ADMIN_URL": "https://shop.example.com/admin.php",
"CSCART_PRODUCT_LINK_TEMPLATE": "https://example.com/products/{id}",
"CSCART_TELEGRAM_FIELD": "52"
}
}
}
}
Usage
Run the server with the required environment variables set. Example (with npx):
CSCART_SHOP_URL=https://shop.example.com \
CSCART_EMAIL=admin@example.com \
CSCART_API_KEY=1234567890 \
CSCART_CACHE_TIME=3600 \
CSCART_ADMIN_URL=https://shop.example.com/admin.php \
CSCART_PRODUCT_LINK_TEMPLATE="https://example.com/products/{id}" \
CSCART_TELEGRAM_FIELD=52 \
npx @popstas/cscart-mcp-server
Available Tools
cscart_get_product
Fetch a CS-Cart product by its ID. Returns product with all features and variants.
Parameters:
productId(number, required): ID of the product to retrieve
cscart_search_products
Search CS-Cart products by name and/or product code.
Parameters:
name(string, optional): Product name to search for (partial match, case-insensitive)code(string, optional): Product code to search for (partial match, case-insensitive)
cscart_get_products
Fetch all CS-Cart products.
Parameters: None
cscart_get_features
Fetch all CS-Cart product features and their variants.
Parameters: None
cscart_get_order
Fetch a CS-Cart order by its ID.
Parameters:
orderId(number, required): ID of the order to retrieve
References
MIT License
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.