Connect an AI client with MCP.
Connect an AI client using your MCP Access URL and scoped authentication, verify its tools, and choose scratch, headless, or attached Studio work.
Kaitoi's MCP server lets a compatible AI client discover operations, build graphs, author supported nodes, run approved work, and inspect results. It is different from adding another server's tools inside Studio.
MCP server access is available on every plan, including Pay-as-you-go. An account-specific restriction can still disable it. Kaitoi Code also includes Kaitoi's tools through its own login on every plan; see Your first Kaitoi Code session.
Choose the kind of work before the tool
Scratch tools perform transient single-node work with explicit inputs and no persistent graph. A headless graph supports ongoing graph edits and deliberate saves. An attached editor works against the opted-in Studio tab with its attachment and current revision. If attachment fails, recover that context rather than silently switching to headless work. Scratch execution does not use visible Studio widgets or produce a graph to save later.
Connect using your environment's settings
Open Settings → MCP → MCP Access in Studio and copy the server URL shown there. Use that exact URL in your client's remote Streamable HTTP server configuration. Do not substitute the website address or a URL from an unrelated example.
Use the authentication method supported by that deployment and client. Where OAuth is available, complete its sign-in and consent flow. For a static bearer credential, create the intended scoped MCP token and enter it through the client's secure authentication/header configuration. The full static token is shown at creation; retain it securely and revoke it when no longer needed. OAuth connected-app grants and static MCP tokens are separate records.
Do not paste credentials into conversation messages, node code, or public configuration. A Studio login cookie or REST API key is not a substitute for the MCP credential the server expects.
Client setup
These recipes use the hosted Studio MCP URL:
https://mcp.studio.kaitoi.io
Client menus and availability can change with their versions and account plans. Use the client's current remote MCP settings if its labels differ. The steps below retain the common browser sign-in and static-token paths.
Sign-in and permissions
There are two ways for a client to sign in:
- OAuth, the recommended way. You add the server URL to your client, the client opens a Kaitoi sign-in page in your browser, and you approve it. You never paste a secret into a config file, and the client renews access on its own, although it may ask you to sign in again from time to time. Use it for clients that support the browser sign-in flow, including current Gemini CLI.
- A static token, for scripts, CI and clients that cannot complete a browser sign-in. See Static tokens.
When a client signs in with OAuth you see an Authorize access page that names the client and shows the permissions it asked for. There are two:
| Permission | Allows |
|---|---|
| Read your projects, graphs, nodes, and files | Required. Lets the agent look at your account and the node catalogue. |
| Create and modify projects, graphs, nodes, files, and runs | Optional. Lets the agent build graphs, upload files and start runs. Untick it for an agent that can look but not change or run anything. |
If you are not signed in to Kaitoi in that browser, you are asked to sign in first and then brought back to the same page. Once you click Authorize, the client appears under Settings → MCP → MCP Access → Connected Apps.
Kaitoi can also write the setup for you. Open Settings → MCP → MCP Access → MCP Setup, pick your client, and copy the command or configuration it generates. It covers Claude, Claude Code, Cursor, VS Code, Gemini CLI and Windsurf. For Gemini CLI, use the command in the Gemini CLI section instead, which keeps the token out of your project folder. For ChatGPT, Codex and Zed, follow this page.
Claude
This covers Claude on the web, Claude Desktop and the Claude mobile apps. Claude connects to Kaitoi from Anthropic's servers, so a connector you add once works in all of them.
- In Claude, open Customize → Connectors.
- Click +, then Add custom connector.
- Name it
Kaitoiand paste the server URL. If Claude shows more settings, keep the suggested sign-in options. Click Add. - Click Connect, then approve the Kaitoi sign-in in the browser.
On the Free plan Claude allows one custom connector. On Team and Enterprise plans an organization owner adds the connector under Organization settings → Connectors, and members then find it under Customize → Connectors and click Connect.
Use OAuth with Claude. Some organizations have Claude's request header option,
which is in beta. There, a static token also works: choose no sign-in and add an
Authorization header with the value Bearer <token>. Everyone who uses that
connector then shares the token's access.
ChatGPT
ChatGPT connects to custom MCP servers on the web, not in the mobile apps. Which ChatGPT plans can add one, and whether a workspace admin has to allow it first, is set by OpenAI. Check OpenAI's article on developer mode and MCP apps for the current rules.
OpenAI is partway through renaming apps to plugins, so the labels you see may differ from these:
- In ChatGPT on the web, open Plugins, click the + button, and choose Create custom MCP server.
- Name it
Kaitoi, add a short description such as "Build and run Kaitoi graphs", and enter the server URL under Connection. - Set Authentication to OAuth, accept the warning, and click Create as a plugin. Approve the Kaitoi sign-in when it opens.
- Review the tools ChatGPT found and install the plugin.
- Start a new chat, type
@and pick Kaitoi.
If your account still shows the older apps layout, follow OpenAI's article linked above instead: it turns on Developer mode under Settings → Apps → Advanced settings and creates the app from there.
ChatGPT does not accept a static token. Use OAuth.
Claude Code
Add the server from a terminal:
claude mcp add --transport http --scope user kaitoi https://mcp.studio.kaitoi.io
--scope user makes Kaitoi available in every project. Leave it out to add it
to the current project only.
Then start Claude Code, run /mcp, select kaitoi and follow the browser
sign-in.
Codex
The Codex CLI, the Codex IDE extension and the Codex app share one configuration on the same computer, so adding Kaitoi in one adds it in all three. From a terminal:
codex mcp add kaitoi --url https://mcp.studio.kaitoi.io
Codex opens the Kaitoi sign-in in your browser straight away. If you close it, or need to sign in again later, run:
codex mcp login kaitoi
You can do the same without a terminal. In the Codex app, open Settings → MCP
servers. In the IDE extension, open its gear menu and choose MCP servers.
Then click Add server, name it kaitoi, choose Streamable HTTP, paste
the server URL and save. Restart the app, or choose Restart extension in the
IDE, then click Authenticate.
The configuration lands in ~/.codex/config.toml:
[mcp_servers.kaitoi]
url = "https://mcp.studio.kaitoi.io"
Cursor
Add Kaitoi to ~/.cursor/mcp.json to use it in every project, or to
.cursor/mcp.json inside one project:
{
"mcpServers": {
"kaitoi": {
"url": "https://mcp.studio.kaitoi.io"
}
}
}
Save the file. Cursor lists Kaitoi in its MCP settings and asks you to sign in. Complete the sign-in in the browser.
VS Code and GitHub Copilot
Open the Command Palette and run MCP: Add Server. Choose HTTP, paste the
server URL and name it kaitoi.
To edit the configuration by hand instead, run MCP: Open User Configuration and add:
{
"servers": {
"kaitoi": {
"type": "http",
"url": "https://mcp.studio.kaitoi.io"
}
}
}
VS Code asks you to sign in the first time the server starts. Complete the sign-in in the browser. If your organization manages Copilot, an admin may need to allow MCP servers first.
Windsurf
Windsurf is now called Devin Desktop. For its legacy Cascade agent, add Kaitoi to
~/.config/devin/mcp_config.json, or %APPDATA%\devin\mcp_config.json on
Windows:
{
"mcpServers": {
"kaitoi": {
"url": "https://mcp.studio.kaitoi.io"
}
}
}
Save it and complete the sign-in when prompted. You can open this file from
the Actions menu at the top of the Cascade panel. Its remote entries accept
url or serverUrl; see the
Cascade MCP configuration.
For Devin Local, follow the
Devin Local setup, which uses the
Devin CLI configuration rather than assuming the Cascade file applies.
Gemini CLI
Current Gemini CLI supports browser sign-in for remote HTTP servers. Add Kaitoi to your user configuration:
gemini mcp add --transport http --scope user kaitoi https://mcp.studio.kaitoi.io
Inside Gemini CLI, run /mcp auth kaitoi and complete the browser sign-in.
See the Gemini CLI MCP guide
for its browser and redirect requirements. If the environment cannot complete
OAuth, use the static-token alternative below.
Create a token as described in Static tokens, and keep it in an environment variable:
export KAITOI_MCP_TOKEN="your token here"
gemini mcp add --transport http --scope user \
--header "Authorization: Bearer $KAITOI_MCP_TOKEN" \
kaitoi https://mcp.studio.kaitoi.io
Gemini CLI writes the token into its settings file. --scope user puts it in
~/.gemini/settings.json rather than in a .gemini folder inside the current
project, where it could end up committed to a repository.
Run gemini mcp list to confirm Kaitoi is connected.
Zed
Open Settings → AI → MCP Servers, click Add Server, then Add Remote
Server, and paste the server URL. In settings.json the result looks like
this:
{
"context_servers": {
"kaitoi": {
"url": "https://mcp.studio.kaitoi.io"
}
}
}
Zed asks you to sign in when the server has no Authorization header configured.
Complete the sign-in in the browser.
Other clients
A client needs to support remote MCP servers over Streamable HTTP, and an OAuth
sign-in that works with Kaitoi. Add a remote server, name it Kaitoi, give it
the server URL, and complete the browser sign-in. Kaitoi supports dynamic client
registration, so clients that register themselves automatically need no client
ID or secret.
If the sign-in does not complete, and the client can send an Authorization
header, use a static token instead.
Static tokens
A static token is for CI, scripts, headless machines and clients that cannot complete a browser sign-in. Prefer OAuth everywhere else: a static token does not renew itself, and anyone who has it can use it until it expires a year after you create it, or until you revoke it.
To create one:
- In Kaitoi, open Settings → MCP → MCP Access.
- Click New MCP Token, name it after the client that will use it, and choose its permissions.
- Click Create and copy the token. It is shown once.
Create one token per client, so you can revoke any of them without breaking the others. Tokens only work with the MCP server. They are not Kaitoi Core API keys.
Clients send the token as a header:
Authorization: Bearer <token>
The MCP Setup dialog can generate a full command or configuration with a fresh token for most clients, under Manual configuration with a static token. For Gemini CLI, use the command in the Gemini CLI section rather than the generated one. To write it yourself, keep the token in an environment variable where the client supports one.
Claude Code:
claude mcp add --transport http --scope user kaitoi https://mcp.studio.kaitoi.io \
--header "Authorization: Bearer $KAITOI_MCP_TOKEN"
Codex, which reads the token from the named variable each time it connects:
codex mcp add kaitoi --url https://mcp.studio.kaitoi.io \
--bearer-token-env-var KAITOI_MCP_TOKEN
Cursor:
{
"mcpServers": {
"kaitoi": {
"url": "https://mcp.studio.kaitoi.io",
"headers": {
"Authorization": "Bearer ${env:KAITOI_MCP_TOKEN}"
}
}
}
}
Confirm tools in the current conversation
Check that the current client conversation can list Kaitoi tools. A server
saved in settings is not proof that this conversation has loaded it. Refresh
or reattach through the client's supported connection flow if necessary.
Use get_mcp_guide when available to inspect the current server guidance.
mcp:read and mcp:write have different authority. Write scope is needed for
mutations, execution and relevant external/file actions. Account capabilities
and tool profiles also apply. Some tools are listed but refused on your plan,
including source writes below Studio. A read-only grant hides write tools. Use actual listed schemas rather than inventing tool names.
Choose where work will happen
Scratch: run a transient single-node task with explicit inputs; it cannot be saved as the persistent working graph. Headless: add/connect/edit a working graph and save it deliberately. Attached Studio: explicitly target an opted-in live tab using its attachment and revision. Failed attachment does not permit silent fallback to a different graph.
Keep execution and persistence explicit
A scratch run_node_by_type or run_node_by_search call performs a transient
single-node task; it does not use visible Studio widgets or create a graph
you can later save. Use the persistent headless working graph when you want
to add, connect, reuse or save nodes. Explicit attachment targets an opted-in
live Studio tab and can change its unsaved work.
Ask the agent to name the intended context, preserve the source, report changes separately from execution, and obtain your approval for potentially costly work. A model setting a confirmation field is not human approval. When the client supports Kaitoi's native cost prompt, you approve there. Otherwise Kaitoi accepts the agent's confirmation flag, so configure the client to ask before calling tools that spend credits. See Live Studio sessions, Execution and cost approval, and Results and Run Inspector.
Distinguish connection directions
For Kaitoi calling another server, use Add external MCP servers. This page is for an external AI client calling Kaitoi. Exact client menus and support vary; follow your client's current remote-server and authentication documentation.
Disconnecting
- OAuth clients: open Settings → MCP → MCP Access, find the client under Connected Apps, and click Disconnect. To change a client's permissions, disconnect it and connect it again: you choose them afresh on the Authorize access page.
- Static tokens: find the token under Access Tokens on the same page. You can change its permissions there, or revoke it.
Remove Kaitoi from the client's own settings as well, or it will keep trying to reconnect.
Troubleshooting
The MCP settings page says MCP server access is not available for your account. MCP access has been turned off for your account. Contact support to have it turned back on.
The client reports an invalid token or keeps asking to reconnect. With
OAuth, clear the client's saved Kaitoi sign-in and connect again. In Claude
Code, run /mcp, select kaitoi and clear its authentication. In Codex, run
codex mcp logout kaitoi and then codex mcp login kaitoi. Elsewhere, remove
the server and add it again. With a static token, check the token and any
environment variable the client reads it from. If the token has expired or been
revoked, create a new one under Access Tokens and update the client.
The agent can read but cannot run anything. Check that the connection has the write permission. For an OAuth client, disconnect it under Connected Apps, connect it again and leave the second permission ticked. For a static token, add the permission under Access Tokens. If write is already granted, check the client's own tool settings and the error the run returned.
The agent says Kaitoi is unavailable, or searches the web instead. Check the
connector is switched on for the conversation, then mention Kaitoi by name. In
ChatGPT, pick it with @.
For attachment, revision, execution and result errors, continue with MCP troubleshooting.
Test the connection without running a graph
Ask the client to list your Kaitoi projects (list_projects). This reads
metadata without spending credits on a graph run. MCP executions use your
Kaitoi credits, just like the same operation in Studio. Client model usage
may have its own separate bill.
A read-only grant hides write tools, including Studio attachment and run tools. Reconnect with write access when those operations are intended.
What an agent can do
Use the listed schemas for arguments and result fields. Tool visibility depends on the connection's read/write grant and selected tool profile; the account's plan is checked when an operation runs.
| Work | Tools to discover |
|---|---|
| Health and guidance | get_app_health, get_public_api_docs, get_mcp_guide, get_app_building_guide |
| Find operations | search_nodes, get_node_info, get_node_code, search_user_scripts, list_packages, get_package, list_package_files, read_package_file |
| Build a graph | add_node, update_node, delete_node, connect_nodes, disconnect_nodes, clear_graph, validate_graph |
| Inspect results | get_graph_state, get_graph_value, get_node_output, get_displayable_outputs |
| Execute and observe | start_node_run, start_graph_run, get_graph_run_status, get_graph_run_result, get_graph_run_events, cancel_graph_run |
| Run a scratch operation | run_node_by_type, run_node_by_search |
| Persist work | list_projects, load_project, save_project, upload_file, browse_library |
| Author source | read_file, write_file, update_file, validate_node_script, get_node_source_policy; writes require Studio or Enterprise |
| Research and knowledge | web_search, crawl_url, get_fal_docs, list_knowledge_docs, search_knowledge, get_knowledge_doc |
Live Studio sessions adds attachment and action controls. Timeline and storyboard tools manage editable media. MCP runs can spend Kaitoi credits; reviewing a tool list does not approve execution.
AdMuse supplies 8 tools: ad_ideate, ad_develop,
ad_develop_campaign, ad_get_session, ad_list_sessions, ad_search,
get_ad_muse_operation and cancel_ad_muse_operation. ad_search returns
up to five ads per call with their public details and source links, without
paging; the ad reference library and AdMuse's analysis of each ad are not
available over MCP. Writing operations and searches are billed, and each
account can start a limited number of each per day. Preserve
an operation ID and observe that operation before submitting another.
Last reviewed against Kaitoi on 26 October 2026. View this page as Markdown