Summary
Ask questions about an OpenCart shop through the free AnythingMCP Bridge extension, read-only: orders and sales per day, products, stock and variants, categories, customers, returns and reviews. OpenCart 3.0 and 4.x, no database access or Remote MySQL needed.
Guided setup
Connect OpenCart Bridge to Gemini in 2 minutes
Start a free trial on AnythingMCP Cloud, connect OpenCart Bridge in the guided setup, then add your MCP URL to Gemini. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for OpenCart Bridge
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → OpenCart Bridge, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
OpenCart Bridge + Gemini
Ask questions about an OpenCart shop through the free AnythingMCP Bridge extension, read-only: orders and sales per day, products, stock and variants, categories, customers, returns and reviews. OpenCart 3.0 and 4.x, no database access or Remote MySQL needed.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
OPENCART_SHOP_URL, OPENCART_BRIDGE_TOKEN
Step 1 — Get credentials
- Install the extension: OpenCart Marketplace (search for AnythingMCP Bridge), or upload the zip under Extensions > Installer. Then Extensions > Extensions, type Modules, AnythingMCP Bridge, the green install button.
- Open the module (pencil), switch Status on, save, and click Generate token. The token (it starts with
ocbridge_) is shown once: copy it. The shop keeps only a fingerprint of it. - Paste the Shop URL shown on the module page into
OPENCART_SHOP_URLand the token intoOPENCART_BRIDGE_TOKEN. The Set up in AnythingMCP button on the module page opens this setup with the shop URL filled in; the token is never part of that link.
The shop must be reachable over HTTPS. The IP allow-list on the module page is optional: AnythingMCP Cloud calls from the outbound address shown on the setup page; a self-hosted AnythingMCP calls from its own address.
Bridge or database connector
- This connector (OpenCart Bridge) needs only the shop admin: no database user, no Remote MySQL, no firewall change. It answers with fixed, tested queries and leaves out passwords, tokens, IP addresses and payment data by design, and the shop owner can switch customer data off. Use it on shared hosting and whenever the hosting panel is out of reach.
- The OpenCart database connector reads the shop's MySQL database directly with a read-only database user. Use it when you need free SQL over any table (
opencart_query), tables of other extensions, or reports the bridge does not offer, and you can create a database user and allow remote access.
Where to start
opencart_bridge_get_store_info: version, currencies, languages and their ids, stores, time zone, which order statuses count as sales, and whether customer data is shared.- Sales:
opencart_bridge_get_sales_summaryfor totals per day or month, per status and the best sellers;opencart_bridge_list_order_statusesfor the status ids;opencart_bridge_list_ordersandopencart_bridge_get_orderfor single orders. - Catalogue:
opencart_bridge_list_products,opencart_bridge_get_product,opencart_bridge_list_categories,opencart_bridge_list_manufacturers,opencart_bridge_list_stock(low stock withmax_quantity). - Customers and service:
opencart_bridge_list_customers,opencart_bridge_get_customer,opencart_bridge_list_customer_groups,opencart_bridge_list_returns,opencart_bridge_list_reviews.
Data notes
- Order totals are in the shop's default currency and include tax and shipping; line prices on an order are without tax,
taxis per unit.currency_codeis what the customer paid in. - An order with
order_status_id0 is a checkout that was never completed; lists leave those out unlessinclude_missingis 1. Which statuses are sales is the shop's choice: the sales summary uses the shop's processing and complete statuses unlessstatus_idis given. - Dates are shop time (see
timezoneandserver_timein the store info). Date filters takeYYYY-MM-DDand include both days. - Lists return at most 100 rows per page; page with
pageandlimitand readpagination.total. - Texts exist per language;
language_idpicks one, the default is the shop's default language.get_productreturns every language. out_of_stock_statusis the label shown when stock runs out (for example 2-3 Days), not the current stock: readquantity.- OpenCart 4 variants carry
master_id;get_producton the master lists them. OpenCart 4.1 keeps SKU and the other codes apart from the product; the bridge returns them as the same fields on every version. - Errors come as JSON with a code:
missing_tokenorinvalid_token(401),disabled,ip_not_allowed,not_configuredorscope_disabled(403),not_foundorunknown_endpoint(404),invalid_parameter(400),rate_limited(429, default 120 calls a minute).
Not included
- No writes: orders, prices, stock and texts cannot be changed.
- Never sent: passwords, salts, tokens, IP addresses, payment card data, the
settingtable, API keys and admin users. With customer data switched off, the customer tools answer 403 and orders and returns come without names, e-mail addresses, phone numbers and addresses. - The shop never calls AnythingMCP or anyone else: it only answers.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Gemini
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart
gemini. - Run
/mcpinside Gemini CLI (orgemini mcp listin your shell) —anythingmcpshould show as connected. - Start prompting — Gemini CLI can now call the
OpenCart Bridgetools.
Available tools
| Tool | What it does |
|---|---|
opencart_bridge_get_store_info | Shop overview: name, URL, OpenCart and bridge version, default currency and language, time zone and current shop time, the order status ids… |
opencart_bridge_list_orders | List orders, newest first: order_id, invoice, store, customer_id, name, email, telephone, total (default currency, tax and shipping… |
opencart_bridge_get_order | One order in full: customer, billing and shipping address, payment and shipping method (name and code), comment, total, currency, status… |
opencart_bridge_list_order_statuses | All order statuses: order_status_id and name, and whether the shop counts the status as processing or complete (the statuses OpenCart… |
opencart_bridge_list_customers | List or search registered customers, newest first: customer_id, customer group, store, firstname, lastname, email, telephone, newsletter… |
opencart_bridge_get_customer | One customer: account fields, all addresses (with country and zone names and which one is the default), an order summary (number of orders… |
opencart_bridge_list_customer_groups | All customer groups: customer_group_id, name, description, whether new accounts need approval, sort_order and which group is the default |
opencart_bridge_list_products | List or search products, by name by default: product_id, model, SKU and the other product codes, name, price, current special price… |
opencart_bridge_get_product | One product in full: codes (SKU, EAN, MPN and others), prices, current special, stock, weight and size with units, tax class, descriptions… |
opencart_bridge_list_categories | List categories sorted by their full path: category_id, parent_id, name, path (for example Components > Monitors), status, sort_order… |
opencart_bridge_list_manufacturers | List manufacturers (brands) by name: manufacturer_id, name, image_url, sort_order and product_count. Up to 100 per page |
opencart_bridge_list_returns | List product returns (RMA), newest first: return_id, order_id, product, model, quantity, opened, reason, action and return status names… |
opencart_bridge_list_reviews | List product reviews, newest first: review_id, product_id and product name, customer_id, author, rating (1 to 5), text, status (true when… |
opencart_bridge_list_stock | Stock levels, lowest quantity first: product_id, model, SKU, name, quantity, subtract (true when sales reduce stock), minimum order… |
opencart_bridge_get_sales_summary | Sales for a date range: totals (orders, revenue, average order value, items sold), one row per day or month, a breakdown by order status… |
Example prompts
- "What were my OpenCart sales per day last week?"
- "Which products have fewer than 5 units in stock?"
- "Show order 1045 with its products and status history."
- "Which reviews from this month have a rating below 3?"
- "Which customers ordered more than three times this year?"
FAQ
Bridge or database connector: which one? Use OpenCart Bridge when you can install an extension in the shop admin but cannot create a database user or open Remote MySQL, for example on shared hosting. Use the OpenCart database connector when you need free SQL over any table or tables of other extensions and can give a read-only database user remote access.
What is the AnythingMCP Bridge extension? A free OpenCart extension (OpenCart 3.0 and 4.x) that adds a read-only JSON API to the shop. You generate a token on its module page; the shop keeps only a fingerprint, and passwords, tokens and payment data are never returned.
Can it change orders or products? No. Every tool reads, and the extension offers no write endpoint, so nothing installs switched off. The shop owner can also switch customer data off.
Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.
Next steps
- Connector landing page
- Connect to Claude
- OpenCart database connector: free SQL with a read-only database user
Was this guide helpful?