Saltar a contenido

Channels

Whatsapp#

TODO

MCP server#

The MCP server lets AI assistants such as ChatGPT, Claude and Gemini search your store's catalog directly. When a customer (or someone on your team) asks one of them "which running shoes under $3000 do you have in size 42?", the assistant searches your real catalog and answers with real products, prices and links to your website.

MCP stands for Model Context Protocol. It's an open standard that AI assistants use to connect to external tools and data. You don't need to know how it works: you only need to turn it on and copy a URL.


What the AI assistant can do with your store#

When an assistant connects to your store, it can:

  • Search products in natural language ("a warm jacket for skiing"), or by exact codes, SKUs or names.
  • Filter and sort, for example by brand, category, color, size or a price range, and sort by price.
  • List the available options, such as all the brands that sell caps or the price range of a category, so it can use the exact values in its filters.
  • Read full product details, including long descriptions and, for some stores, every variant (sizes and colors) with its own price and stock.
  • Answer questions about the store, like shipping, returns, payment methods or contact information, using your pages catalog and your business profile.

The assistant can only read. It can't change your catalog, your configuration or anything else, and it never sees internal data such as API keys.

Searches run through the same search engine as your website, with the same relevancy, boosting, redirects and out-of-stock rules. If you set up redirects for a query, the assistant receives those landing pages and is asked to share them.


Enabling the MCP server#

  1. In the admin panel, open Setup → MCP.
  2. Turn on Enable MCP endpoint.
  3. Copy the MCP URL with the Copy button. It looks like this:

    https://api.searchmindai.com/mcp/tienda-nube-ej_544f157f13a8ca840de0a4fb8183b1ec
    
  4. Paste that URL into the AI assistant you want to use (see Connecting AI assistants).

MCP server settings and business profile

MCP server settings and business profile

Users with the store reader role can see these settings but can't change them.

Important: the URL is public#

Anyone with the URL can search your catalog

The MCP endpoint doesn't ask for a login or a password. Whoever has the URL can search your store's products and pages, the same way any visitor can on your website.

  • It is read-only: nobody can change anything through it.
  • It only exposes catalog data (products and pages) and the business profile you write. Fields you hide (turn off Visible in Catalog fields) are never shown.
  • The long random part of the URL is what keeps it private. Treat it like a shareable link and only give it to people and tools you trust.

You stay in control at all times:

Action What happens
Disable (turn off Enable MCP endpoint) The URL stops working right away. When you turn it back on, the same URL works again.
Change URL A new URL is generated and the old one stops working immediately. Use this if the URL was shared with someone it shouldn't have been, or if it's being abused. Afterwards, update every assistant or integration that used the old URL.

Changing the MCP URL

Changing the MCP URL

Business profile#

AI assistants receive the business profile as soon as they connect, so they know what your store is about before they search anything. A good profile gives better answers: the assistant knows the currency, the language of the catalog, who you sell to and your main policies, and it won't make them up.

Field What to write Example
Business description What the business is and what it sells, in 2–3 sentences. Sportswear and running shoes store with 20 branches in Uruguay.
Vertical The industry, in one or two words. fashion, electronics, pharmacy
Website Your website's main URL. https://www.example.com
Language The language your catalog is written in (two-letter code). es
Currency The currency of your prices. UYU, USD
Sells to The country or region you sell to. Uruguay
Store policies Short bullet points about shipping, returns, payment methods, contact and opening hours. Only real facts. - Free shipping over $2000
- 30 days returns with the ticket
- Contact: ventas@example.com
Extra instructions for AI assistants Optional guidance on how the assistant should behave. Recommend the size guide page when asked about sizes.

Assistants are told to search your pages catalog for policy details. The policies summary is a quick reference, not a replacement for your pages.

Generate with AI#

You don't have to write the profile from scratch. Click Generate with AI and we'll draft it from a sample of your products, the most common values of your fields, and the pages that describe your shipping, returns, payments and contact information.

  • The draft is not saved automatically. Review it, fix anything that's wrong, and then save.
  • It also suggests descriptions for fields that don't have one yet.
  • It uses the store's OpenAI API key, so the store needs one configured.

Business profile drafted with AI

Business profile drafted with AI

Catalog fields#

Assistants need to know which fields your documents have, what each one means and how to filter by it. For example, listPrice is the price before discounts and brand contains values like Nike or Adidas.

The Catalog fields section lists every field of your catalogs:

Column What it means
Field The field's name in your catalog.
Type How assistants can filter by it: tag fields by exact values (brand, categories...), numeric fields by range (price, stock...), text fields by words.
Description for AI assistants What the field means. Leave it empty to use the default description for your catalog type, shown in grey (for example Default: product name without variant details).
Visible Turn it off to hide the field from assistants.

Most fields already come with a sensible default description, especially common ones (name, price, brand, categories...) and fields from catalogs imported from known platforms such as Fenicio. You only need to:

  • Write a description when the default isn't clear or the field is specific to your store, for example collection season, e.g. "SS25" for spring–summer 2025. To go back to the default, clear the description.
  • Turn off Visible for fields assistants should never see. Hidden fields don't appear in the field list, in search results or in filter values. Use this for internal fields such as costs, supplier codes or internal notes, and for fields that are just noise.

Field roles (which field is the product name, price, image, link...) aren't edited here but in the Catalogs tab. Assistants use them to show each product's title, price, image and link.

Catalog fields: descriptions and visibility for AI assistants

Catalog fields: descriptions and visibility for AI assistants

Tip

Short, concrete descriptions work best: what the field means, plus an example value when it's not obvious.


Search configuration#

By default, the MCP server searches with your store's default configuration: the same relevancy threshold, boosting rules, out-of-stock filtering, redirects and so on that your website uses.

If you want AI assistants to search differently, for example with a different relevancy threshold or without hiding out-of-stock products, create a separate configuration under Configurations and select it here. You can choose one configuration for:

  • Search: product and page searches.
  • Field values: listing the available values of a field, like all the brands.

If you leave them empty, or the selected configuration is later deleted, the store's default configuration is used.

Search configuration used by AI assistants

Search configuration used by AI assistants

Connecting AI assistants#

In every case you'll need the MCP URL from Setup → MCP. The server doesn't use authentication, so whenever an assistant asks how to authenticate, choose No authentication (or None).

Note

These assistants change their menus often. If a step below doesn't match what you see, look for connectors, apps or MCP in the assistant's settings.

ChatGPT#

  1. Go to chatgpt.com/plugins and create a new app.
  2. Paste your store's MCP URL.
  3. Under Authentication, select No authentication.
  4. Give it a recognizable name, such as your store's name.

Adding the store to ChatGPT

Adding the store to ChatGPT

Gemini#

  1. Go to gemini.google.com.
  2. Open Settings → Personal intelligence → Connected apps → Custom apps → Add a custom app.
  3. Paste your store's MCP URL and give the app a name, for example your store's name.
  4. In your prompts, tell Gemini to use the app by name, for example:

    Use the app "stadium" to see all the brands that sell caps

Adding the store to Gemini

Adding the store to Gemini

Claude#

Claude (web and desktop)

  1. Open Settings → Connectors → Add custom connector.
  2. Enter a name (your store's name) and paste the MCP URL.
  3. In a chat, enable the connector from the tools menu and ask your question.

Claude Code

claude mcp add --transport http my-store https://api.searchmindai.com/mcp/<your-hash>

Adding the store to Claude

Adding the store to Claude

OpenAI Platform (Playground and Agent Builder)#

  1. Open the OpenAI Platform Playground or Agent Builder.
  2. Add a tool of type MCP server.
  3. Paste the MCP URL, give it a label (for example store) and choose no authentication.
  4. Optionally, set approvals to never so the model can search without asking each time. Every tool is read-only.

OpenAI API (developers)#

Use the Responses API's MCP tool. The model discovers the tools and calls them on its own:

from openai import OpenAI

client = OpenAI()
response = client.responses.create(
    model="gpt-4.1",  # any model that supports MCP tools
    tools=[{
        "type": "mcp",
        "server_label": "store",
        "server_url": "https://api.searchmindai.com/mcp/<your-hash>",
        "require_approval": "never",  # every tool is read-only
    }],
    input="Which Nike running shoes do you have under $3000?",
)
print(response.output_text)

Gemini API (developers)#

The Gemini API doesn't connect to MCP servers by itself. Open the connection with the official MCP Python client and pass the session to the google-genai SDK as a tool:

import asyncio
from google import genai
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

MCP_URL = "https://api.searchmindai.com/mcp/<your-hash>"

async def main():
    client = genai.Client()
    async with streamablehttp_client(MCP_URL) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            response = await client.aio.models.generate_content(
                model="gemini-2.5-flash",  # any Gemini model with function calling
                contents="Which Nike running shoes do you have under $3000?",
                config=genai.types.GenerateContentConfig(tools=[session]),
            )
            print(response.text)

asyncio.run(main())

Ready-made system prompt (developers)#

The server also offers a prompt called store_assistant: a system prompt for a virtual assistant of your store. It includes your business profile and guidelines such as using the tools for every price, stock or policy fact, answering in the customer's language and recommending a few products with price and link. If you're building your own assistant, MCP clients can get it with prompts/get and use it as the system prompt.


Available tools#

These are the tools the assistant uses behind the scenes. You never call them yourself, but knowing them helps you understand the answers and write better requests.

Tool What it does Example request that uses it
search Searches products, pages, or both. Supports filters (brand, category, price range...), sorting, pagination and a summary of the available values among the results. "Show me red dresses under $2000, cheapest first"
get_fields Lists the fields of your documents with their descriptions, so the assistant knows what it can filter and sort by. "What can I filter products by?"
get_field_values Lists the existing values of a field (most common first, with how many products have each one) or the minimum and maximum of a numeric field like price. It can be limited to a query, for example the brands among "caps". "Which brands sell caps?"
fetch Returns the full details of specific products or pages: every field, full texts and, for some stores, all variants with their own price and stock. "Compare these two jackets", "Read me the returns policy"
get_store_info Returns the business profile: description, website, language, currency, country, policies and catalog sizes. "Where do you ship to?"

Search modes#

The assistant picks the most suitable mode. If you don't ask for one, your store's configured mode is used, usually semantic.

  • Semantic: understands meaning, synonyms and other languages. Best for natural questions ("something warm for the mountains").
  • Full text: matches keywords. Best for codes, SKUs and exact product names.
  • Hybrid: a mix of both.
  • Filter: no text matching, only filters. For example, "every Adidas product between $1000 and $2000".

Built-in help for the assistant#

The server helps assistants get things right:

  • Exact filter values. Filter values must match exactly, so assistants are told to check the existing values first. If a filter finds nothing, the server suggests similar values ("brand has no value "addidas", similar values: ["Adidas"]") or the real price range.
  • Shortened long texts. In search results, long descriptions and pages are shortened to the passage that best matches the question. The assistant fetches the full text when it needs it.
  • No made-up facts. Assistants are told to always share the product or page link and never to invent prices, stock or policies.

Tips for better answers#

Name the store or app. Especially in Gemini and ChatGPT, say which app to use: "Use the app 'stadium' to...".

Ask for options before filtering. Ask about the available values first, then narrow down:

Use the app "stadium" to see all the brands that sell caps. Now show me only the Nike and Puma ones under $1500.

Be explicit about filters and sorting.

Show me running shoes in size 42, between $2000 and $4000, sorted by price from lowest to highest.

Ask for comparisons and details. The assistant will read the full product information:

Compare the two cheapest waterproof jackets: materials, sizes available and price.

Ask about policies. The assistant searches your pages:

How long do I have to return a product, and is shipping free?

Ask for more results. Results come in pages of up to 50, so you can say "show me more" or "show me the next 20".

If the answers are off, improving the setup usually helps more than rewording the question:


Metrics#

Searches made by AI assistants appear in your search metrics under a user starting with mcp, followed by the assistant's name when it reports one (for example mcp:openai-mcp). That way you can tell assistant traffic apart from your website's searches and see what people ask assistants about your store.