BareMCP
Enables AI assistants to manage BareCommerceCore e-commerce stores through 46 tools covering products, orders, customers, categories, pages, media, webhooks, and analytics. Uses secure OAuth authentication without requiring API keys in chat.
README
BareMCP
MCP server for BareCommerceCore e-commerce management via AI assistants.
Quick Start (30 seconds)
1. Install
bun add -g @barecommercecore/mcp
2. Configure Claude Desktop
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"baremcp": {
"command": "baremcp"
}
}
}
3. Connect
Say to Claude: "Connect to my BareCommerce store"
A browser window opens for secure OAuth login. No API keys in chat.
Security
Never paste API keys into chat. BareMCP uses browser-based OAuth Device Flow.
- Credentials encrypted with AES-256-GCM at
~/.baremcp/credentials.json - Machine-specific encryption (credentials don't work on other machines)
- No telemetry, no analytics — see PRIVACY.md
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
BARECOMMERCE_API_URL |
No | https://api.barecommercecore.com |
API endpoint |
BARECOMMERCE_API_KEY |
No | — | Pre-configured key (skips OAuth) |
BARECOMMERCE_DEFAULT_STORE_ID |
No | — | Auto-select store |
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
NOT_AUTHENTICATED |
Not connected | Run connect tool first |
STORE_ID_REQUIRED |
No default store | Pass storeId parameter |
RATE_LIMITED |
Too many requests | Wait 60s, retry |
UNAUTHORIZED |
Invalid/expired token | Run disconnect then connect |
TIMEOUT |
Request took >30s | Check network, retry |
See docs/TROUBLESHOOTING.md for complete error reference.
Features
- 46 Tools for complete store management
- 4 Resources for quick data access
- 6 Prompts for guided workflows
- Multi-tenant — users authenticate at runtime
Tools by Category
| Category | Tools |
|---|---|
| Session | connect, disconnect, status |
| Store | list_stores, get_store, update_store, get_store_analytics |
| Products | list_products, get_product, create_product, update_product, delete_product, bulk_update_products, search_products, get_product_variants, update_variant |
| Orders | list_orders, get_order, update_order_notes, record_refund, export_orders |
| Customers | list_customers, get_customer, create_customer, update_customer, delete_customer |
| Categories | list_categories, get_category, create_category, update_category, delete_category |
| Pages | list_pages, get_page, create_page, update_page, delete_page |
| Media | list_media, get_media, upload_media, delete_media |
| Webhooks | list_webhooks, create_webhook, update_webhook, delete_webhook |
| Audit | list_audit_logs, get_audit_log |
Resources
| URI | Description |
|---|---|
store://config |
Store settings, currency, timezone, contact info |
store://schema |
Product attribute and metafield definitions |
store://categories |
Hierarchical category tree |
Prompts
| Name | Description |
|---|---|
create-product |
Guided product creation workflow |
sales-report |
Generate sales summary for date range |
inventory-check |
Find low stock products |
customer-lookup |
Find customer and order history |
bulk-price-update |
Update prices across products |
product-catalog-export |
Export catalog data |
Usage Examples
Products
"List all published products" "Create a new product called 'Wireless Headphones' priced at $79.99" "Find products with less than 10 items in stock"
Orders
"Show me orders from last week" "Get details for order ORD-2024-001"
Customers
"Find customer with email john@example.com"
Analytics
"Give me a sales report for this month"
Documentation
Development
# Install dependencies
bun install
# Type check
bun run typecheck
# Run tests
bun test
# Build
bun run build
# Run locally
bun run dev
License
MIT — see LICENSE
Links
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。