MCP Hub
Back to servers

BareMCP

A comprehensive MCP server for managing BareCommerceCore e-commerce stores, providing tools for products, orders, customers, and analytics via secure OAuth authentication.

Tools
46
Updated
Dec 16, 2025

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

VariableRequiredDefaultDescription
BARECOMMERCE_API_URLNohttps://api.barecommercecore.comAPI endpoint
BARECOMMERCE_API_KEYNoPre-configured key (skips OAuth)
BARECOMMERCE_DEFAULT_STORE_IDNoAuto-select store

Troubleshooting

ErrorCauseFix
NOT_AUTHENTICATEDNot connectedRun connect tool first
STORE_ID_REQUIREDNo default storePass storeId parameter
RATE_LIMITEDToo many requestsWait 60s, retry
UNAUTHORIZEDInvalid/expired tokenRun disconnect then connect
TIMEOUTRequest took >30sCheck 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

CategoryTools
Sessionconnect, disconnect, status
Storelist_stores, get_store, update_store, get_store_analytics
Productslist_products, get_product, create_product, update_product, delete_product, bulk_update_products, search_products, get_product_variants, update_variant
Orderslist_orders, get_order, update_order_notes, record_refund, export_orders
Customerslist_customers, get_customer, create_customer, update_customer, delete_customer
Categorieslist_categories, get_category, create_category, update_category, delete_category
Pageslist_pages, get_page, create_page, update_page, delete_page
Medialist_media, get_media, upload_media, delete_media
Webhookslist_webhooks, create_webhook, update_webhook, delete_webhook
Auditlist_audit_logs, get_audit_log

Resources

URIDescription
store://configStore settings, currency, timezone, contact info
store://schemaProduct attribute and metafield definitions
store://categoriesHierarchical category tree

Prompts

NameDescription
create-productGuided product creation workflow
sales-reportGenerate sales summary for date range
inventory-checkFind low stock products
customer-lookupFind customer and order history
bulk-price-updateUpdate prices across products
product-catalog-exportExport 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

Reviews

No reviews yet

Sign in to write a review