Stevia Store MCP Server
Enables managing an organic stevia products e-commerce store through natural language, including product catalog management, customer service, order processing, and sales analytics. Provides a complete backend for Organital's stevia business with Hebrew language support.
README
🌿 Stevia Store MCP Server
A comprehensive Model Context Protocol (MCP) server for managing an organic stevia products e-commerce store. This server enables seamless integration with Claude to provide natural language interfaces for product management, customer service, and order processing.
🎯 Overview
The Stevia Store MCP Server is designed for Organital, a health-focused company specializing in natural stevia-based products. It provides a complete e-commerce backend that can be controlled through natural language using Claude's AI capabilities.
Key Features
- 🛍️ Product Management - Complete catalog with detailed product information
- 👥 Customer Management - Customer profiles, preferences, and order history
- 📦 Inventory Control - Stock tracking with low-inventory alerts
- 🛒 Order Processing - Full order lifecycle from cart to delivery
- 📊 Sales Analytics - Comprehensive reporting and insights
- 🔒 Security Features - Encrypted data and secure payment processing
- 🌍 Hebrew Language Support - Full RTL support and Hebrew interface
📋 Product Catalog
Our curated selection of premium stevia products:
| Product | Price (₪) | Category | Description |
|---|---|---|---|
| Natural Organic Stevia 100g | 45.90 | Raw Materials | 100% pure organic stevia from Paraguay |
| Stevia Tablets (60 units) | 29.90 | Ready Products | Convenient tablets for beverages |
| Liquid Stevia Vanilla 50ml | 39.90 | Ready Products | Vanilla-flavored liquid stevia extract |
| Baking Stevia Powder 200g | 55.90 | Cooking & Baking | Heat-stable stevia for recipes |
| Tasting Bundle (4 types) | 89.90 | Gift Sets | Perfect starter pack with 4 varieties |
🚀 Quick Start
Prerequisites
- Python 3.11+
- MCP SDK (
pip install mcp) - SQLite3
Installation
-
Clone the repository:
git clone https://github.com/yairbarak22/MCPServerStevia.git cd MCPServerStevia -
Install dependencies:
pip install -r requirements.txt -
Initialize the database:
python scripts/init_database.py -
Start the server:
python src/stevia_store_server.py
Configuration with Claude Desktop
Add this configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"stevia-store": {
"command": "python",
"args": ["path/to/MCPServerStevia/src/stevia_store_server.py"],
"env": {
"DATABASE_PATH": "path/to/your/stevia_store.db"
}
}
}
}
🛠️ Available Tools
The server provides these MCP tools for natural language interaction:
Product Management
add_product- Add new products to the catalogget_products- List products with filtering optionsupdate_inventory- Manage stock levelsget_low_stock_alerts- Monitor inventory warnings
Customer Management
add_customer- Register new customersget_customer_profile- Access customer informationupdate_customer_info- Modify customer details
Order Processing
create_order- Process new orderstrack_order- Monitor order statuscalculate_cart_total- Compute order totals
Analytics & Reporting
get_sales_summary- Generate sales reportsget_product_performance- Analyze product metricsget_customer_insights- Customer behavior analysis
💬 Usage Examples
Natural Language Queries
Product Information:
"Show me all stevia products under 40 shekels"
Inventory Management:
"Which products are running low on stock?"
Customer Service:
"Create an order for customer ID 5 with 2 stevia tablets and 1 liquid vanilla"
Sales Analysis:
"What were our top selling products last month?"
Programmatic Usage
import asyncio
from mcp.client import stdio_client
async def get_products():
async with stdio_client("python", ["src/stevia_store_server.py"]) as client:
result = await client.call_tool("get_products", {})
return result
# Run the async function
products = asyncio.run(get_products())
print(products)
📁 Project Structure
MCPServerStevia/
├── README.md # This file
├── requirements.txt # Python dependencies
├── .gitignore # Git ignore rules
├── src/ # Source code
│ ├── stevia_store_server.py # Basic MCP server
│ ├── complete_stevia_store.py # Full-featured server
│ └── secure_stevia_store.py # Enterprise security version
├── docs/ # Documentation
│ ├── API.md # API documentation
│ ├── installation.md # Setup instructions
│ └── stevia-products-spec.md # Product specifications
├── examples/ # Usage examples
│ ├── sample_usage.py # Basic usage examples
│ └── sample_data.json # Sample product data
├── scripts/ # Utility scripts
│ └── init_database.py # Database setup
└── tests/ # Test files
└── test_server.py # Unit tests
🔧 Environment Variables
Configure the server using these environment variables:
| Variable | Default | Description |
|---|---|---|
DATABASE_PATH |
stevia_store.db |
SQLite database file path |
MCP_SERVER_PORT |
3000 |
Server port for HTTP transport |
ENCRYPTION_KEY |
None |
Key for sensitive data encryption |
LOG_LEVEL |
INFO |
Logging verbosity level |
🔐 Security Features
- 🔒 Data Encryption - Sensitive customer data is encrypted at rest
- 🛡️ Input Validation - All inputs are sanitized and validated
- 🔐 Access Control - Role-based permissions system
- 📝 Audit Logging - Complete activity logs for compliance
- 🚫 SQL Injection Protection - Parameterized queries only
🧪 Testing
Run the test suite:
# Run all tests
python -m pytest tests/
# Run with coverage
python -m pytest tests/ --cov=src
# Run specific test
python -m pytest tests/test_server.py::test_add_product
📈 Performance
The server is optimized for:
- 10,000+ concurrent users
- Sub-200ms response times
- 99.9% uptime availability
- Automatic database optimization
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📚 Documentation
- API Reference - Complete API documentation
- Installation Guide - Detailed setup instructions
- Product Specifications - Product catalog details
- MCP Protocol Guide - Official MCP documentation
📞 Support
Need help? We're here for you:
- 📧 Email: support@organital.co.il
- 🐛 Bug Reports: GitHub Issues
- 💬 Discussions: GitHub Discussions
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🌟 About Organital
Organital is Israel's leading provider of natural stevia products, committed to promoting healthy living through pure, organic sweetening solutions. Our products are:
- ✅ 100% Natural - No artificial additives
- 🌱 Organic Certified - Sustainably sourced
- 💚 Health Focused - Zero calories, diabetic-friendly
- 🏅 Premium Quality - Rigorous quality control
<div align="center"> <p>Made with 💚 by the Organital team</p> <p><strong>🌿 Sweet. Natural. Healthy. 🌿</strong></p> </div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。