Tolstoy MCP Integration

Gemini CLI

Connect Tolstoy to Gemini CLI with a single terminal command. Authorize once, generate from any gemini session.

Get Gemini CLI

Set it up in 3 steps

1

Run this in your terminal

Adds Tolstoy as an HTTP-transport MCP server to your Gemini CLI config.

gemini mcp add --transport http tolstoy https://apilb.gotolstoy.com/mcp/v1/mcp
2

Run gemini and authorize

The first tool call opens a browser tab on localhost. Sign in with your Tolstoy account. The token caches in ~/.gemini/mcp-oauth-tokens.json.

3

Use the tools

Ask Gemini to generate something. Studio Agent runs and returns artifacts inline.

Need a Tolstoy workspace first?

Tolstoy Studio generates the content Claude (and your other AI clients) call through MCP. Start a workspace in two minutes.

Start a Tolstoy workspace