
Tolstoy
from GoTolstoy
Generate marketing videos and images and manage your media library from any AI client โ for AI-native ecommerce brands.
Tolstoy MCP
Connect any MCP client โ Claude, ChatGPT, Cursor, Gemini, and more โ to Tolstoy, the agentic platform for AI-native ecommerce brands. Run your shoppable video workspace right from chat: generate marketing content, manage your media library, build and publish shoppable widgets, tag products, and track ad performance.
Tolstoy exposes three remote MCP servers over Streamable HTTP. Studio and Library are secured with OAuth 2.1 + PKCE โ no API keys to paste, your client runs the OAuth sign-in on first connect. Shopper is a public, no-auth marketplace server.
| Server | Endpoint | What it does |
|---|---|---|
| Tolstoy Studio | https://apilb.gotolstoy.com/mcp/v1/mcp | Generate and iterate on marketing videos and images with Tolstoy Studio's AI creative director. |
| Tolstoy Library | https://apilb.gotolstoy.com/mcp/v1/library/mcp | Run your shoppable video workspace โ media library, shoppable widgets (Stories, Carousel, Spotlight), product tagging, multi-store, and Meta ads. |
| Tolstoy Shopper | https://apilb.gotolstoy.com/mcp/v1/shopper/mcp | Shop across every brand store on Tolstoy โ marketplace-wide product search, full product details, and virtual try-on. Public, no sign-in. |
Tools
Studio
generate_studio_contentโ start a new Studio generation (image or video) from a prompt.iterate_studio_contentโ continue and refine an existing Studio generation in the same session.
Library โ media assets
list_assetsโ list your most recent library assets (videos, images, AI drafts).search_assetsโ search the library by query.get_assetโ fetch full details for an asset, including tagged products and playlists.update_assetโ rename an asset or toggle its favorite status.
Library โ shoppable widgets
list_widgetsโ list your onsite shoppable video widgets (Stories, Carousel, Spotlight, For You Feed, Tile, Collection Grid, Bubble Feed), live or draft.get_widgetโ inspect a widget: type, live status, content selection, and the actual videos it shows (per-product for PDP-mode shoppable widgets).create_widgetโ create a new shoppable widget from a template, with the platform's defaults.update_widgetโ rename, publish/unpublish, set PDP mode, or change a widget's content selection.
Library โ products & shoppability
search_productsโ find a store product by title to make videos shoppable.tag_video_productโ tag (or untag) products on a video so it becomes shoppable in product-tagged playlists and PDP widgets.
Library โ stores
list_storesโ list the connected stores on your account; widget and product tools can target any of them.
Library โ paid ads
list_ad_campaignsโ list your Meta ad campaigns with real delivery status (effectiveStatustruth-telling).get_ads_performanceโ Meta ads performance: spend, ROAS, CTR, purchases โ per campaign, ad set, or ad.publish_to_meta_ads_libraryโ push a library video or image into Meta Ads Manager, ready for ad creation (no campaign, no spend).
Shopper (public marketplace โ no auth)
search_productsโ search products across every brand store on Tolstoy, one marketplace-wide catalog.get_productโ full product details: description, variants, price, media, the brand's videos, and buy/cart links.try_onโ open an interactive virtual try-on of a product (participating brands); the shopper uploads a photo and sees themselves wearing the actual item.
App-aware clients (ChatGPT, Claude) also get interactive views โ a shoppable-widget card grid and asset previews โ rendered inline in chat.
Connect
- In your MCP client, add a custom connector / remote MCP server.
- Paste the Studio, Library, or Shopper endpoint above.
- Sign in with your Tolstoy account when prompted (OAuth).
Per-client setup (Claude, ChatGPT, Cursor, Gemini CLI, Codex, Perplexity, Goose, Cherry Studio, and more) is available in the Tolstoy platform under Settings โ MCP. The Tolstoy Library is also a published ChatGPT app โ search "Tolstoy Library" in ChatGPT and click Connect.
Example client config
{
"mcpServers": {
"tolstoy-studio": { "url": "https://apilb.gotolstoy.com/mcp/v1/mcp" },
"tolstoy-library": { "url": "https://apilb.gotolstoy.com/mcp/v1/library/mcp" },
"tolstoy-shopper": { "url": "https://apilb.gotolstoy.com/mcp/v1/shopper/mcp" }
}
}Codex CLI
codex mcp add targets STDIO servers, so add the remote server to ~/.codex/config.toml and run the OAuth login:
[mcp_servers.tolstoy-library]
url = "https://apilb.gotolstoy.com/mcp/v1/library/mcp"
[mcp_servers.tolstoy-studio]
url = "https://apilb.gotolstoy.com/mcp/v1/mcp"
[mcp_servers.tolstoy-shopper]
url = "https://apilb.gotolstoy.com/mcp/v1/shopper/mcp"codex mcp login tolstoy-libraryAuthentication
OAuth 2.1 with PKCE, backed by Amazon Cognito. Discovery via RFC 9728 protected-resource metadata at each server's /.well-known endpoints. Each connection is bound to the Tolstoy workspace you authorize with. Shopper is a public marketplace server and requires no authentication.
Registry
Published in the official MCP Registry:
io.github.GoTolstoy/studioio.github.GoTolstoy/libraryio.github.GoTolstoy/shopper
The server.json for each is in registry/.
About
Tolstoy is the agentic platform for AI-native ecommerce brands, powering shoppable video for thousands of stores โ https://www.gotolstoy.com
This tool doesn't publish a standard install command โ the repository README on GitHub covers its setup.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.