MCP installation
Connect your assistant to Thruline Studio with the Model Context Protocol (MCP). You choose which Projects it can see and review its proposed changes in Studio.
Get the server URL
Connect an assistant to work with selected Thruline projects through MCP. Have your Studio sign-in ready and use the full server URL below. For a separately hosted Studio, use the HTTPS connector URL your organization provides.
https://www.thruline.studio/api/mcpInstall in Codex
Open ~/.codex/config.toml in a text editor, creating the file if needed. Add the entry below and save. If you already have a thruline entry, update it in place. The CLI, desktop app, and IDE extension on the same computer share this file.
[mcp_servers.thruline]
url = "https://www.thruline.studio/api/mcp"
[mcp_servers.thruline.oauth]
client_id = "thruline-codex"
callback_url = "http://127.0.0.1:32865/oauth/callback"
callback_port = 32865In the desktop app or IDE extension, open MCP servers in Settings, restart if prompted, and select Authenticate for thruline. If you use the Codex CLI, run the command below and keep the terminal open during browser sign-in.
codex mcp login thrulineSelect the Projects you want to share in Studio and click Connect. Return to Codex and start a new chat. If the browser reports a redirect mismatch, check the callback URL and port against the example, then sign in again.
Install in Claude
Claude web and Desktop
Open Customize → Connectors. If Thruline Studio is already listed, click Connect, choose your Projects in Studio, and enable the connector in your chat. To add it for the first time, follow these steps.
On an individual account, choose + Add → Add custom connector. On a Team or Enterprise account, an owner can add it under Organization settings → Connectors → Add → Custom → Web.
Name the connector Thruline Studio, paste the server URL from the top of this page, and choose Continue.
Choose Sign in now and Use your own OAuth client. Enter thruline-claude as the client ID. The person setting up the connector enters the client secret supplied privately by the Studio administrator in Claude’s Client Secret field.
Choose Add, then Connect when prompted. Sign in to Studio, select the Projects to share, and click Connect. Back in Claude, enable Thruline Studio from the chat’s + menu under Connectors.
Claude Code
If you use Claude Code in a terminal, run this command once to make Thruline available across your local Claude Code projects.
claude mcp add --transport http --scope user --client-id thruline-claude-code --callback-port 32864 thruline https://www.thruline.studio/api/mcpStart Claude Code and type /mcp. Select thruline and choose Authenticate. Sign in to Studio, select your Projects, and click Connect. Claude Code uses a public client and requires only the client ID in the command.
Set up a third-party MCP integrator
Studio currently accepts pre-registered apps. If you’re building a new integration, send the app name and its exact OAuth callback URL to team@thruline.studio and request a client registration. Wait for confirmation and an assigned client ID before connecting. Apps that require automatic client registration cannot connect today.
If your app already has a Studio registration, open its MCP settings, add a remote server named Thruline Studio, and enter the following settings.
| Control | What it does |
|---|---|
| Transport and server URL | Choose Streamable HTTP and paste the full MCP server URL from the top of this page. |
| Authentication | Choose OAuth authorization code with PKCE (S256). Let the app discover the authorization server. If it asks for a resource or audience, use the same full MCP server URL. |
| Client ID and secret | Enter the ID assigned to your app. Public clients leave the secret empty. Confidential clients use the issued secret and send it in the token request body (client_secret_post). |
| Callback or redirect URL | Use the exact URL registered for this app, including the scheme, port, and path. |
If the app asks for scopes, start with projects:read to list shared Projects and their Episodes. Save the server and choose its sign-in action. Each user signs in to their own Studio account, selects Projects, and clicks Connect. Integrators can verify tool discovery with tools/list.
Test and manage your connection
In a new chat, ask “Which Thruline Projects have I shared with you?” Check that a Project you selected appears, then ask the assistant to list its Episodes. Both requests are read-only and use no generation credits.
If a Project is missing, open Personal Settings → Connected apps in Studio, select it for that connection, and choose Save access. You can also disconnect the app there. If new tools are missing after an update, reconnect the client to review the additional permissions.
A connected assistant can draft Scripts, plan Shots and Sequences, manage assets, arrange Canvas media, and prepare generations. Saved operations let you find results from a later chat; proposed changes and generations still require review.