Before you start
Choose which Tolstoy MCP connection you want to add. The client setup steps are the same for Studio MCP and Library MCP; the URL is the part that changes.
Studio MCP: generate and iterate on Studio images or videos.
Library MCP: browse, search, inspect, rename, or favorite Tolstoy library assets.
Studio MCP URL: https://apilb.gotolstoy.com/mcp/v1/mcp Library MCP URL: https://apilb.gotolstoy.com/mcp/v1/library/mcp
How to connect Replit
Open Replit and go to Integrations -> MCP Servers.
Click Add MCP server.
Name it
Tolstoyfor Studio MCP orTolstoy Libraryfor Library MCP.Paste the matching MCP URL.
Click Test & Save.
Replit's security scanner runs first, then opens an OAuth tab. Sign in with your Tolstoy account.
After you connect
Return to Use the Tolstoy MCP for examples, prompt patterns, and troubleshooting.