Tolstoy MCP Integration

Codex CLI

Codex CLI's mcp add only handles stdio, so remote servers like Tolstoy go in the config file. Two-minute setup.

Get Codex CLI

Set it up in 3 steps

1

Add this to ~/.codex/config.toml

Codex CLI's mcp add only handles stdio, so remote servers go straight in the config file.

[mcp_servers.tolstoy]
url = "https://apilb.gotolstoy.com/mcp/v1/mcp"
2

Trigger the OAuth flow

Run this. A browser tab opens — sign in with your Tolstoy account.

codex mcp login tolstoy
3

Use the tools

Codex now sees the Tolstoy tools. Ask it to generate something.

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