Skip to main content
This page is written for an AI agent, such as Claude Code, Codex, Cursor, Claude, ChatGPT or Amp, that a person has asked to set them up with Rendermate. A person can hand it to their agent with:
This page is also plain Markdown at https://rendermate.com/docs/setup.md.

What does the agent do, in order?

Agent, work through these steps in order, and finish each step’s check before you start the next:
  1. Check the user has a Rendermate account, with an organization and workspaces.
  2. Pick how you connect: the MCP server, the CLI, or both.
  3. Pick the workspace you work in.
  4. Connect: the MCP server or the CLI.
  5. Check the connection.
  6. Make a first video or upload the user’s media.
  7. Tell the user what’s set up.
Rules for the whole setup:
  • The user signs in themselves, in their own browser. Never ask for their password or a sign-in code, and never type into a sign-in page for them.
  • An API key is a secret. Ask the user to put it where it’s needed (an environment variable or the client’s config) themselves. If they paste one to you, use it without repeating it back.
  • Commands that change a client’s config only add a rendermate entry. Keep the rest of the file.
  • When a step needs the user (signing in, restarting the client, clicking in the dashboard), say exactly what to do, then wait for them to say it’s done before you check it.

Does the user have a Rendermate account?

Ask the user: “Do you already have a Rendermate account, and have you opened the dashboard at rendermate.com/dashboard at least once?”
  • They have an account and have used the dashboard: go on to how to connect.
  • They have an account but never opened the dashboard: ask them to open https://rendermate.com/dashboard and sign in. The first time, the dashboard makes their organization and shows a page with a region menu and a create workspaces button: they pick where their data lives and choose create workspaces. That makes two workspaces, Production and Sandbox. An MCP client or the CLI can only sign in once the user has an organization with a workspace.
  • They have no account: new accounts start on a waitlist. Ask them to open https://rendermate.com/signup and fill in the waitlist form. Rendermate emails an invitation when their access is ready; they sign up from that email, then open the dashboard as above. Stop the setup here and tell them to come back to you with this page once they’re in.
  • Someone invited them to an existing organization: they accept the invitation email and sign in to the dashboard. If the dashboard says they don’t have a role on any workspace yet, an admin of that organization has to give them one.
Check: the user can see their workspaces (such as Production and Sandbox) in the dashboard’s sidebar.

How should the agent connect?

Pick by what you are and where you run: The MCP server is https://api.rendermate.com/mcp. Every REST endpoint has an MCP tool, so the MCP server alone can do everything. Signing in needs no API key: the client opens a Rendermate sign-in page in the user’s browser, and the user picks the workspace there.

Which workspace should the agent work in?

Ask the user before they sign in: “Which workspace should I work in: Sandbox, for trying things out, or Production, for real work?” Suggest Sandbox for a first setup. Every connection acts in one workspace:
  • An MCP sign-in or rendermate login acts in the workspace the user picks on the sign-in page.
  • An API key acts in the workspace it was created in. Sandbox keys start with sk_test_, Production keys with sk_live_.
  • https://api.rendermate.com/mcp/<workspace_id> always acts in that one workspace. A workspace’s ID starts with ws_.
To change workspace later, sign in again and pick the other one: run rendermate login again, or sign out of the MCP server in the client and sign in again.

How do I connect the MCP server in each client?

Use the section for the client you are. Each adds a server named rendermate at https://api.rendermate.com/mcp. When the user signs in, Rendermate shows connect with the client’s name and a button for each workspace: they choose the one they picked.

Claude Code

Run:
claude mcp list then shows rendermate: https://api.rendermate.com/mcp (HTTP) - ! Needs authentication. Ask the user to start a new Claude Code session (the server loads when a session starts), run /mcp, choose rendermate and sign in in the browser. Check: claude mcp list shows rendermate as connected, and the get_account tool works.

Codex

Run:
Codex adds the server, says Detected OAuth support. Starting OAuth flow… and prints a sign-in URL, which it opens in the browser. The command waits until the user has signed in, so if your shell tool times out first, ask the user to run codex mcp login rendermate in their own terminal instead. Then ask them to restart Codex so the tools load. Check: codex mcp list shows rendermate, and the get_account tool works.

Cursor

Add rendermate to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project), keeping any servers already there:
Or give the user this link, which adds the same entry when they open it: cursor://anysphere.cursor-deeplink/mcp/install?name=rendermate&config=eyJ1cmwiOiJodHRwczovL2FwaS5yZW5kZXJtYXRlLmNvbS9tY3AifQ==. Ask the user to open Cursor’s settings, find rendermate in the MCP list, and sign in in the browser it opens. Check: the get_account tool works.

VS Code

Run:
Ask the user to start the rendermate server (the MCP: List Servers command, then rendermate), and sign in in the browser VS Code opens. Check: the get_account tool works.

Claude (claude.ai and Claude Desktop)

The user adds the server; you can’t do it from a chat. Ask them to:
  1. Open Settings, then Connectors, and choose Add custom connector.
  2. Name it rendermate and enter https://api.rendermate.com/mcp.
  3. Choose Connect, sign in and pick the workspace.
  4. Turn the connector on in this chat, or start a new chat.
Check: the get_account tool works.

ChatGPT

The user adds the server; you can’t do it from a chat. Ask them to:
  1. Open Settings, then Apps & Connectors, and turn on Developer mode under Advanced settings.
  2. Create a connector named rendermate with the address https://api.rendermate.com/mcp and OAuth as its authentication.
  3. Sign in and pick the workspace.
  4. Add the connector to this chat, or start a new chat with it.
Check: the get_account tool works.

Amp

On the user’s computer, run:
Ask the user to restart Amp: it opens the Rendermate sign-in page in the browser when it starts. In an Amp thread that runs in an orb or on ampcode.com, a local config can’t sign in. Add it to the user’s Amp account instead, and have them open the sign-in URL the second command prints:
Check: the get_account tool works.

Any other MCP client

Add a remote (Streamable HTTP) MCP server named rendermate at https://api.rendermate.com/mcp. A client that signs in to MCP servers with OAuth finds the sign-in on its own: the server’s 401 points to https://api.rendermate.com/.well-known/oauth-protected-resource/mcp, and clients register themselves with dynamic client registration. A client that can’t sign in sends an API key as an Authorization: Bearer sk_… header.

How do I install and sign in to the CLI?

The rendermate CLI syncs folders of media to the workspace, records the screen on macOS and calls any API route. On macOS and Linux, run:
It installs to ~/.local/bin. If rendermate --version isn’t found, add ~/.local/bin to the PATH or run ~/.local/bin/rendermate. On Windows, the user downloads the Windows build from rendermate.com and puts rendermate.exe in a folder on the PATH. Then sign in:
It prints Opening your browser to sign in. If it doesn't open, go to: and a URL, then waits up to 10 minutes for the user to sign in and pick the workspace. The browser must be on the same computer as the CLI, because sign-in comes back to http://127.0.0.1:<port>/callback. If your shell tool can’t wait that long, ask the user to run rendermate login in their own terminal. Check: rendermate whoami prints the workspace (its name and ws_… ID) and the organization.

How do I connect with an API key instead?

Use an API key when the user’s browser can’t reach you, such as in a remote sandbox or CI, or when the client can’t sign in to MCP servers. Ask the user to:
  1. Open https://rendermate.com/dashboard and pick the workspace in the sidebar.
  2. Open api keys, enter a key name such as the agent’s name, and choose create key. The key is shown once.
  3. Put it where you’ll read it, without sending it in the chat: RENDERMATE_API_KEY in your environment, or the client’s config.
Then:
  • CLI: RENDERMATE_API_KEY takes precedence over a sign-in. To save it instead, the user runs echo "$RENDERMATE_API_KEY" | rendermate login --with-key.
  • MCP: send it as a header, such as claude mcp add --transport http rendermate https://api.rendermate.com/mcp --header "Authorization: Bearer $RENDERMATE_API_KEY", codex mcp add rendermate --url https://api.rendermate.com/mcp --bearer-token-env-var RENDERMATE_API_KEY, or "headers": { "Authorization": "Bearer sk_…" } in Cursor’s mcp.json.
  • REST: curl https://api.rendermate.com/v1/account -H "Authorization: Bearer $RENDERMATE_API_KEY".

How do I check the connection works?

Ask Rendermate who you act for, and compare the answer with the workspace the user picked:
  • MCP: call get_account. It returns organization_name, workspace_name, workspace_id and region, and either the signed-in member or the API key.
  • CLI: rendermate whoami.
  • REST: GET https://api.rendermate.com/v1/account.
Tell the user which organization and workspace you’re connected to. If it’s the wrong workspace, sign in again and pick the right one. If a call fails, see Why doesn’t the setup work?

How do I make a first video?

Ask the user: “Shall I make a short test video, or upload some of your media first?” A test video, which costs nothing:
  1. Create a document from the example on Documents: two seconds of a red background with a white dot. Over MCP, call create_document with its JSX as jsx and "name": "Setup check". From the CLI, write {"name": "Setup check", "jsx": "<the JSX>"} to a file and run rendermate api POST /v1/documents --data @document.json. The answer has the document’s id (doc_…) and "version": 1.
  2. Make a preview: create_preview with that document_id, or rendermate api POST /v1/documents/<id>/previews --data '{}'. The answer’s url is a page that plays the document live in the browser, for 12 hours.
  3. Give the user the URL and ask them to open it in Chrome, Edge or Safari (it renders with WebGPU). They should see a red frame with a white dot in the middle.
The user’s media:
  • Files on the user’s computer: rendermate sync ./folder media uploads the folder to the workspace folder media/ and prints a line per file (+ uploaded) and a summary. Over MCP alone, upload_asset uploads one file.
  • Files on the web: import_asset with the URL and a name, then get_import until its status is succeeded.
  • Check: rendermate assets ls media/, or list_assets with the folder as prefix, lists them. Documents use an asset as asset://<name>.
Frames (get_frame), share links (create_link) and MP4 exports (create_export) render on Rendermate’s servers and cost credits. A new organization has none: they fail with 402 credits.empty until an organization admin buys credits on the dashboard’s billing page (at least $5). See Billing and credits.

What do I tell the user at the end?

Tell the user, in a few lines:
  • which client is connected (MCP server, CLI or both), and how it signs in (their account, or an API key);
  • the organization and workspace, from get_account or rendermate whoami;
  • the preview URL of the test video, or the assets you uploaded;
  • that frames, share links and exports need credits, if their balance is empty.
Then offer next steps, such as editing the test document into a real video. Before writing documents, read Documents; the MCP server’s instructions and its search_docs tool cover the rest.

Why doesn’t the setup work?

Every error has a doc_url to its row on Errors, and Troubleshooting answers more.