Skip to content
Install on Shopify

Public endpoints

The endpoints on this page work without an account or a token.

Endpoint What it returns
https://<store-domain>/apps/shopmd/<file> A store’s published file, served from the store’s own domain
https://shopmd.ai/mcp The MCP server. Its public tools need no credential.

A store with the ShopMD app installed serves its files through Shopify’s App Proxy, on its own domain:

https://<store-domain>/apps/shopmd/<file>
https://<store-domain>/apps/shopmd/products/<handle>
https://<store-domain>/apps/shopmd/collections/<handle>

<file> is one of shop, design, brand, catalog, policies or agents. The .md ending is optional, so /apps/shopmd/shop.md and /apps/shopmd/shop return the same file. <handle> is a product or collection handle, also with an optional .md. <store-domain> can be the store’s own domain or its .myshopify.com address.

Terminal window
curl -i https://your-store.com/apps/shopmd/shop.md
Header Value
Content-Type text/markdown; charset=utf-8
Cache-Control public, max-age=0, must-revalidate
Content-Usage train-ai=n, search=y
x-markdown-tokens A rough token count for the file (characters ÷ 4), so an agent can budget before reading it
X-Robots-Tag all

Cache-Control means every request gets the current version: an approved refresh or a withdrawal shows up on the next read.

Every reason a file isn’t available gets the same answer: 404 with the plain-text body Not found. That covers a file that was never generated, one the merchant withdrew, an unknown handle, and store.md, which is never served here. You can’t tell these apart from the response, by design.

If the request never reaches ShopMD, for example because the store doesn’t have the app installed or the storefront has a password, you get whatever Shopify answers instead. See Publish your files on your storefront and Password-protected stores.

Point an agent at shop.md first. It’s the store in one file: excerpts from brand.md, policies.md and catalog.md, then an Artifact Index table that lists each source file with a link and whether it’s available. agents.md is a second entry point aimed at agents that will act for the store, with excerpts from brand.md, policies.md and design.md and a guide for answering. See shop.md and agents.md.

https://shopmd.ai/mcp

The MCP server’s public tools, list-documents and read-document, take a store’s .myshopify.com address and return the same files its storefront URLs serve. They need no credential. See MCP server.

Over the per-IP rate limit, /mcp answers 429 with:

{ "error": "IP rate limit exceeded. Try again in 60 seconds." }

Wait a minute and try again. More on MCP server.

The gallery on shopmd.ai is for people to browse. It has no supported API. See The public gallery.