E-commerce Command Center MCP
Project description
E-commerce Command Center MCP
Core Problem
Multi-channel sellers operate across disconnected dashboards and miss stockouts, listing issues, and shipping failures.
What This Server Provides
This folder contains a production-minded MCP server scaffold with typed JSON tool responses, connector health metadata, OAuth-oriented configuration, rate-limit guards, stable error envelopes, and deterministic demo data until live vendor integrations are attached.
This server has received a production pass. It now includes local ecommerce operations models for multi-channel revenue, inventory coverage, listing health, shipping exceptions, daily operating briefs, restock recommendations, and channel performance comparisons.
Connectors
- Shopify Admin API via OAuth scope
read_orders; env prefixSHOPIFY - Amazon SP-API via OAuth scope
sellingpartnerapi::notifications; env prefixAMAZON_SP - Walmart Marketplace API via OAuth scope
marketplace.read; env prefixWALMART - TikTok Shop API via OAuth scope
seller.read; env prefixTIKTOK_SHOP - ShipStation API via OAuth scope
orders:read; env prefixSHIPSTATION - Inventory Platform API via OAuth scope
inventory.read; env prefixINVENTORY - EasyPost API via OAuth scope
shipments.read; env prefixEASYPOST
MCP Tools
get_multi_channel_revenue- Revenue, orders, margin, refunds, and channel mix.get_inventory_alerts- Low-stock, stockout, and overstock alerts.get_listing_health- Suppressed listings, buy box loss, policy flags, and severity.get_shipping_exceptions- Late, stalled, and exception shipments.get_daily_brief- One concise operating brief with priorities.get_restock_recommendations- Restock quantities using velocity and lead time.compare_channel_performance- Rank channels by margin, growth, fulfilment risk, or revenue.
Current Local Capabilities
- Summarizes revenue, orders, refunds, net revenue, gross profit, AOV, and channel mix.
- Flags stockouts, low-stock SKUs, and overstock cash tied up.
- Reports marketplace listing suppression, buy box loss, policy flags, and severity.
- Finds stalled, delayed, and exception shipments with value at risk.
- Produces a daily operating brief composed from revenue, inventory, listing, and shipping signals.
- Calculates restock quantities from velocity, lead time, and safety threshold.
- Compares channels by margin, growth, fulfillment risk, or revenue.
Test
python -m pytest .\tests -q -p no:cacheprovider
Partial Platform Support
Customers only need to connect the commerce platforms they actually use. Missing Shopify, Amazon, Walmart, TikTok Shop, ShipStation, inventory, or EasyPost credentials do not prevent the server from starting or running local intelligence tools.
Use get_live_connector_status to see configured connectors. Use test_shopify_admin_connection for a read-only live smoke check when Shopify is connected.
Running Locally
powershell python -m venv .venv .\.venv\Scripts\pip install -e . .\.venv\Scripts\python -m ecommerce_command_center_mcp.server
Claude Desktop Config
json { "mcpServers": { "ecommerce-command-center": { "command": "python", "args": ["-m", "ecommerce_command_center_mcp.server"], "cwd": "D:\CUSTOMS\EARNALL\MCP Servers\02-ecommerce-command-center" } } }
Production Checklist
- Create OAuth 2.1 apps for each connector and set *_CLIENT_ID plus *_CLIENT_SECRET.
- Store refresh tokens in a secrets manager, never in repo files.
- Replace deterministic demo rows in server.py with API adapter calls.
- Persist raw snapshots and normalized warehouse tables for trend analysis.
- Add integration tests with recorded fixtures for every connector.
- Validate every tool in MCP Inspector before publishing.
- Deploy with a /health route through FastMCP streamable HTTP on Railway or Render.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ecommerce_command_center_mcp-0.1.0.tar.gz.
File metadata
- Download URL: ecommerce_command_center_mcp-0.1.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ddea3f7d2e5e786356415688b39998fd5a55e1664ba204eed5defa318ddcae5
|
|
| MD5 |
71fefa67b784662d80cfb599fe6e47b3
|
|
| BLAKE2b-256 |
c4d799a0a195ac12679a7d2c19303d0c7c438d5b8e6d9e3908dfe1dd68d73f1b
|
File details
Details for the file ecommerce_command_center_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ecommerce_command_center_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67265fc99fbb802facd0b47ccf7a67c2aa330fbc831406d018ae5f7823777234
|
|
| MD5 |
bf9d3d1556dd71984578f62e2770ccd0
|
|
| BLAKE2b-256 |
e69220d427ae42e6d806f5e47f9036b3861f2b4f947f0f79878f1a7c992d2996
|