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.
Metadata
Release files for ecommerce-command-center-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ecommerce_command_center_mcp-0.1.1.tar.gz | 16.6 kB | Without provenance | Details for ecommerce_command_center_mcp-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ecommerce_command_center_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ecommerce_command_center_mcp-0.1.1-py3-none-any.whl |
Total release size: 33.9 kB
Release files / ecommerce_command_center_mcp-0.1.1.tar.gz
| Download URL | ecommerce_command_center_mcp-0.1.1.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5dc0f395e5d32c31c882f440e2382996adb35f40d115ec125a1cddee4ba18eb4
|
|
BLAKE2b-256 checksum How to use checksums |
33bfd9dbe96d9a624aa397f06df8d25683d74a096289d72c1cf9ac5c7e763131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / ecommerce_command_center_mcp-0.1.1-py3-none-any.whl
| Download URL | ecommerce_command_center_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4a752aeb77cebf82162bd3cddb1ec2116550704154ecd3fa78858756334258d
|
|
BLAKE2b-256 checksum How to use checksums |
1d8f7116eee30ac355ed3c963420fd87fb9197f9b1a530e4ddffecd4b52c20a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for ecommerce-command-center-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.