Connecting an Agent
An Agent is an AI client or a script that reads and writes in Turtle. Claude, Claude Code and other clients that speak MCP connect to Turtle and act as you. An Agent never has more access than you, and what it changes shows under your name and the app's, such as "Ada Example via Claude".
Connect Claude or another AI client
Open the account menu and choose Connect AI. It shows Turtle's MCP address, with Copy, and the steps for Claude, Claude Code and Other clients.
Turtle 0.2.0+38298c2
Claude, on the web and in the Claude Desktop app:
- In Claude, open Settings, then Connectors.
- Choose Add custom connector.
- Name it Turtle and paste the MCP address. Choose Add.
- Choose Connect next to Turtle. Turtle opens in your browser.
- Sign in to Turtle if it asks, then choose Allow.
Claude Code:
- In a terminal, run
claude mcp add --transport http turtle <MCP address>. - Start Claude Code and type
/mcp. Choose turtle, then Authenticate. - Turtle opens in your browser. Sign in if it asks, then choose Allow.
Another client: any client that speaks MCP and signs in with OAuth can connect. Add an MCP server in it, paste the address, and choose Allow when Turtle asks.
If Connect AI says that connecting is not available, your Workspace Admin has not set Turtle's public address, or has turned connecting AI off. If it says that claude.ai probably cannot reach this Turtle, your Turtle runs only inside your network: Claude Code, or a client on your computer, can still connect with a Token.
Allow, and limit access
When a client connects, Turtle asks whether to let it act as you. It names the app and where your answer goes. Allow only if that is the app you are connecting.
Before choosing Allow, open Limit access to narrow what it may do:
- Only reading: it can read but change nothing.
- Only chosen Areas: it reaches only the Areas you tick.
Choose Deny to refuse.
Connected apps
Connected apps in the account menu lists everything that can act as you: the apps you connected and the Tokens you created. Each shows what it may reach, when it was last used, and when it was connected or created.
Disconnect stops it at once.
Turtle 0.2.0+38298c2
Tokens, for scripts and other clients
A client that cannot sign in through OAuth, or a script, uses a Token. Create one under For developers on Connected apps:
- Give it a Name that says what uses it, such as "Backup script".
- Optionally tick Read-only, or Only chosen Areas and the Areas.
- Optionally set the Last day it works. Leave it empty for a Token that does not expire.
- Choose Create Token.
- Copy the Token. Turtle shows it only once.
The client sends it with every request as Authorization: Bearer <token>:
- to the MCP address, which ends in
/mcp(Streamable HTTP), or - to the HTTP API, as
POST /api/<operation>, such asPOST /api/search.
What an Agent can do
Through MCP, an Agent finds one tool for almost every operation people have: reading and writing Pages as Markdown, one Section at a time or whole, creating, moving and deleting Pages and Folders, Tags, Attachments, search, Versions, exports and imports. Only operations that make sense in a browser alone, such as signing in and managing Tokens, are left out.
People editing a Page keep their work when an Agent changes it, and see the change at once. Each change an Agent makes is a Version of its own, so you can see what it did and restore an earlier Version.
Limits
- An Agent acting for you has your Roles, never more. A Token or connection limited to reading, or to chosen Areas, has less.
- A Token limited to chosen Areas cannot create Areas.
- An Agent cannot be mentioned and has no Profile.
- Through MCP, a file sent in one call can be as large as a file that can be attached, 25 MB unless set otherwise. A ZIP to import may be 200 MB at most when sent with the call; a larger one is uploaded first with
POST /api/uploads. (Since 0.3) - If a Workspace Admin turns connecting AI off, connected apps stop working until it is on again. Tokens you created by hand keep working.
Standalone Agents
A Workspace Admin can also create a standalone Agent, with its own name and Tokens, that acts as itself and not as any person. See Members and Agents.