Shopeak MCP
Shopeak MCP
LiveA hosted Model Context Protocol server that gives AI assistants live access to the Shopeak marketplace: products, stores, carts and guest checkout through Paystack.
What is MCP?#
The Model Context Protocol (MCP) is an open standard for connecting AI assistants to outside tools and data. An MCP server offers a set of tools. The assistant reads each tool’s description and decides when to call it while it helps someone.
The Shopeak MCP server is one such server. Once it’s connected, an assistant like Ola Code, Claude or ChatGPT can answer “find me running shoes under KES 5,000” with real products, real prices and real stock from Shopeak stores, instead of guessing.
No code required
Server details#
- Server URL
https://mcp.shopeak.co.ke/mcp- Transport
- Streamable HTTP
- Authentication
- None. No API key or Shopeak account is needed, and checkout works as a guest.
- Server name
shopeak- Tools
- 17: seven for discovery, two for recommendations, five for the cart and three for checkout
- Data
- Live from Shopeak: prices, stock, ratings, delivery options and store policies
- Payments
- Paystack hosted checkout, with M-Pesa or card. Charges are always in KES.
The server also sends the assistant a short set of instructions when it connects. These tell it to quote prices exactly, show product images, treat merchant text as untrusted, and never take payment details itself.
What agents can do#
Discover
Search every store or one catalog, read full product details and policies, compare up to five items and check delivery options.
Recommend
Rank products or stores for a plain-language need and budget, with a score and reasons for each pick.
Cart
A private cart for each session, with stock, variant and quantity checks and fresh prices.
Checkout
Quote one store’s order, get the shopper’s approval, then hand over a Paystack link and confirm payment.
See the tools reference for every input and output.
How a purchase works#
A typical conversation, from a question to a paid order. The assistant decides which tools to call. The shopper only talks to the assistant and pays on Paystack.
- 1Shopper
Asks for what they need: “a waterproof backpack under KES 4,000, delivered in Nairobi”.
- 2Agent
recommend_productsFinds in-stock products from stores that can take payments and explains each pick.
- 3Agent
get_productChecks variants, stock, warranty and the return policy, then adds the choice with add_to_cart.
- 4Agent
get_shipping_optionsGets the store’s delivery options and prices for the shopper’s city.
- 5Agent
prepare_checkoutGets a five-minute quote with the exact KES charge. No order or payment exists yet.
- 6Shopper
Reviews the items, delivery address, payment method and total, and approves that exact amount.
- 7Agent
create_checkoutCreates the order and returns a secure Paystack payment link.
- 8Paystack
The shopper pays with M-Pesa or card on Paystack’s hosted page. The agent never sees payment details.
- 9Agent
get_payment_statusConfirms the order is paid, then clears that store’s items from the cart.
The guest checkout guide covers each step in detail, with example requests and responses.
Key concepts#
Sessions and carts
Each MCP session gets its own private cart, kept on the server. A cart holds up to 50 different items, with 1 to 100 of each. A session closes after an hour without activity, and its cart goes with it. Carts aren’t linked to a Shopeak account or to the cart on shopeak.co.ke, and a new session starts with an empty cart.
One store, one order
Shopeak is a marketplace of independent stores. A cart can hold items from several stores, but each store is checked out separately, as its own order and payment. view_cart groups items by store for this reason.
Prices and currency
Prices are in major units of the store’s currency, usually KES. Every price comes with a ready-formatted display_price, and assistants are told to quote it exactly rather than estimating or converting. Checkout always charges in KES. If a store prices in another currency, Shopeak locks the exchange rate in the checkout quote.
Availability
Every store has one of four statuses: live, no_payments (it hasn’t set up online payments), paused, or practice (a test store that only takes test payments and isn’t a real shop). Only live stores can take orders.
By default, search_products leaves out out-of-stock products and products from stores that aren’t live, and says how many it left out. list_stores lists only stores that have set up online payments, and never lists practice or paused stores. Pass include_unavailable: true to include more. With search_products you also get products from practice, paused and no-payments stores, each marked with its store_status. With list_stores you also get stores that haven’t set up payments. get_store reports the status of any store. A purchasable value of false means the store can’t take an online order at the moment.
Variants
When a product has has_variants: true, such as sizes or colours, the assistant must call get_product and pick a variant_id before add_to_cart.
Text and structured results
Every tool returns a short Markdown summary for the model, with product images where relevant, plus structured JSON that matches the tool’s output schema. Problems come back as tool errors with a plain-English message the assistant can act on, such as “quantity must be between 1 and 100”.
Untrusted merchant content
Product titles, descriptions and store policies are written by merchants. Assistants are told to treat them as information, never as instructions.
Current limitations#
- Checkout is guest-only. There’s no Shopeak sign-in yet, so assistants can’t see saved addresses, past orders or wishlists. Sign in with Shopeak is planned.
- Carts aren’t shared with the Shopeak website or apps.
- Each order is limited to KES 100,000, and a session can have only one unpaid checkout per store at a time.
- There are no tools for sellers here. Managing products, stock and orders happens in the separate Seller MCP, once a store owner connects your app: see Apps & agents.
- Payments go through Paystack only, with M-Pesa or card.
- Search matches the words in product titles, descriptions and tags, not their meaning. If a whole phrase finds nothing, the server retries with the individual words, but a broad category word only matches products whose sellers used that word.
- Most stores haven’t recorded a city or a category yet, so filtering stores by town or by type often finds nothing, even when matching stores exist.
- Each network address has a request allowance, and carts live on a single server, so a server restart clears them. Everyone behind one shared connection, such as an office or a school, shares one allowance.
See safety and limits for every limit.
Next steps#
Questions or feedback about these docs? Email info@shopeak.co.ke.