> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tiro.ooo/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your client

> How to connect the Tiro MCP server in Claude (web, Desktop, Code), ChatGPT, Codex, and Cursor.

The Tiro MCP server address is `https://mcp.tiro.ooo/mcp`. Find the setup steps for your client below.

> [!NOTE]
>
> **No API key yet?** Create one at the [Tiro Platform API Keys page](https://platform.tiro.ooo/me/api-keys). Copy the entire string including the dot, like `abc123.xR7mK9pL2qW4...`. The full key is shown only once, at creation.

> [accordion] Claude (web browser)
>
> If you use claude.ai in a browser, connect through a remote connector — no installs. **OAuth only** (there is no API key field).
>
> 1. Open [claude.ai/customize/connectors](https://claude.ai/customize/connectors), go to **Connectors → Discover**, and search for `Tiro`.
> 2. On the **Tiro** card (Community, by ThePlato Inc.), click **Connect Tiro to Claude**.
> 3. Sign in with your Tiro account and allow the permissions. After connecting, each tool call asks for approval by default (switch individual tools to **Always allow** in the connector settings).
>
> The **Add custom connector** path with the server URL (`https://mcp.tiro.ooo/mcp`) still works too.
>
> A step-by-step walkthrough for non-developers lives in the [user guide](https://docs.tiro.ooo/en/guide/start/ai-connect.md#connect-from-your-browser).

> [accordion] Claude Desktop
>
> **Recommended: OAuth.** Sign in once, the client manages tokens.
>
> > [!NOTE]
> >
> > [Node.js](https://nodejs.org/) is required. The `mcp-remote` package bridges streamable-http to the stdio transport that Claude Desktop expects.
>
> Open the configuration file for your platform:
>
> ```bash macOS theme={"system"}
> ~/Library/Application Support/Claude/claude_desktop_config.json
> ```
>
> ```bash Windows theme={"system"}
> %APPDATA%\Claude\claude_desktop_config.json
> ```
>
> ```bash Linux theme={"system"}
> ~/.config/Claude/claude_desktop_config.json
> ```
>
> Add the OAuth configuration:
>
> ```json claude_desktop_config.json theme={"system"}
> {
>   "mcpServers": {
>     "tiro": {
>       "command": "npx",
>       "args": ["-y", "mcp-remote", "https://mcp.tiro.ooo/mcp"]
>     }
>   }
> }
> ```
>
> Restart Claude Desktop. On first connection, your browser opens for Google sign-in, then the Tiro consent screen where you pick the permissions to grant with per-scope checkboxes (read scopes are selected by default, write scopes are off; selecting write includes read for the same resource). Tokens are cached locally and valid for 180 days.
>
> **Alternative: API Key.** If you prefer no browser flow, use:
>
> ```json claude_desktop_config.json theme={"system"}
> {
>   "mcpServers": {
>     "tiro": {
>       "command": "npx",
>       "args": [
>         "-y", "mcp-remote",
>         "https://mcp.tiro.ooo/mcp",
>         "--header", "Authorization:Bearer YOUR_API_KEY"
>       ]
>     }
>   }
> }
> ```

> [accordion] Claude Code (CLI)
>
> **Recommended: API Key.** Avoids browser dependency, easy to rotate.
>
> ```bash theme={"system"}
> claude mcp add --transport http tiro-mcp https://mcp.tiro.ooo/mcp \
>   --header "Authorization:Bearer YOUR_API_KEY"
> ```
>
> **Alternative: OAuth.** Omit `--header`. Claude Code opens a browser on first connection.
>
> ```bash theme={"system"}
> claude mcp add --transport http tiro-mcp https://mcp.tiro.ooo/mcp
> ```

> [accordion] ChatGPT
>
> Since the July 2026 revamp, ChatGPT handles external connections through its apps and plugins system. Custom MCP servers that aren't in the plugin directory (including Tiro) can only be connected in **developer mode**.
>
> Web only (no mobile). Personal accounts need the Pro plan or higher (read/fetch scope). On Business only admins/owners can use developer mode; on Enterprise/Edu, members granted access via RBAC.
>
> 1. Go to **Settings** → **Plugins** → **Developer mode** at the bottom of the list, then turn on the **Developer mode** toggle in the security settings.
> 2. On the sidebar **Plugins** page, click **\[+]** → **New Plugin**, enter a name plus the server URL `https://mcp.tiro.ooo/mcp`, acknowledge the risk notice, and click **Create**.
> 3. **Sign in with Tiro** → sign in to your Tiro account → on the permission screen **check Long-lived access** (ChatGPT requires refresh, and the allow button only activates once checked) → **Allow selected access**.
> 4. Select the app from the tools menu in a chat. Selection applies per message. (UI verified live 2026-09-11)
>
> For detailed requirements and workspace publishing, see the [official OpenAI guide](https://help.openai.com/en/articles/12584461). The UI is in beta and may change.

> [accordion] Codex (CLI)
>
> **Recommended: API key.** Codex is stdio-based, so wrap the endpoint with `mcp-remote`. Add this to `~/.codex/config.toml`.
>
> ```toml ~/.codex/config.toml theme={"system"}
> [mcp_servers.tiro]
> command = "npx"
> args = [
>   "-y", "mcp-remote",
>   "https://mcp.tiro.ooo/mcp",
>   "--header", "Authorization:Bearer YOUR_API_KEY"
> ]
> ```
>
> **Alternative: OAuth.** Remove the two `--header` lines and a browser opens on first connection.

> [accordion] Cursor
>
> **Recommended: API Key.**
>
> 1. Open **Settings** > **MCP**.
> 2. Click **Add new MCP server**.
> 3. Set transport to **HTTP**.
> 4. Enter the server URL: `https://mcp.tiro.ooo/mcp`.
> 5. Add a header: `Authorization: Bearer YOUR_API_KEY`.

> [accordion] VS Code (Copilot)
>
> **Recommended: API Key.** Create or edit `.vscode/mcp.json` in your workspace:
>
> ```json .vscode/mcp.json theme={"system"}
> {
>   "servers": {
>     "tiro": {
>       "type": "http",
>       "url": "https://mcp.tiro.ooo/mcp",
>       "headers": {
>         "Authorization": "Bearer YOUR_API_KEY"
>       }
>     }
>   }
> }
> ```

> [accordion] Other MCP clients
>
> Any MCP client that speaks streamable-http works with these raw values:
>
> | Field | Value |
> | - | - |
> | Server URL | `https://mcp.tiro.ooo/mcp` |
> | Transport | HTTP (streamable) |
> | Auth header | `Authorization: Bearer YOUR_API_KEY` |
> | OAuth issuer | `https://mcp.tiro.ooo` (if your client supports OAuth 2.0 with PKCE) |
>
> For stdio-only clients, wrap the endpoint with `mcp-remote`:
>
> ```bash theme={"system"}
> npx -y mcp-remote https://mcp.tiro.ooo/mcp \
>   --header "Authorization:Bearer YOUR_API_KEY"
> ```

***

## Scopes

Scopes define what the MCP server can access on your behalf. MCP scopes share the REST API scope vocabulary with an `mcp:` prefix. When a client discovers tools, it sees only those allowed by the scopes selected for the connection.

| Scope | Description |
| - | - |
| `mcp:note:read` | Read note metadata, AI summaries, transcripts, generated documents, share links, document templates, and the wiki — the wiki and template tools are gated by this single scope, with no separate scope |
| `mcp:folder:read` | Search user and workspace folder structure |
| `mcp:note:write`\* | Update note titles |
| `mcp:folder:write`\* | Update, move, and reorder folders |

\* No MCP tool currently maps to this scope (REST API only — all MCP tools are read-only).

* **API keys**: the scopes configured on the key apply as-is. On the [API Keys page](https://platform.tiro.ooo/me/api-keys) you pick the REST names without the `mcp:` prefix (`note:read`, `folder:write`, …) — the prefix only appears on MCP surfaces such as `auth_status`. Keys without scopes can use every tool, and write scopes include their read counterpart.
* **OAuth**: when connecting, the Tiro consent screen lets you choose **None** or **Read** for Notes and Folders. The MCP OAuth flow doesn't request the write scopes (`mcp:notes:write`, `mcp:folders:write`) — see the `*` note in the table above, no MCP tool maps to them — so a **Read & edit** level never appears. Your selection is fixed into the token.

> [!NOTE]
>
> Existing tokens and keys issued with the legacy names (`mcp:notes:read`, `mcp:folders:read`) keep working.

***

## API key types

| Key Kind | Tied To | Access |
| - | - | - |
| **User-scoped key** | A user | Every note, summary, document, and folder that user can access — can span multiple workspaces |
| **Workspace-scoped key** | One workspace | Notes in folders shared with all members of that workspace; no user identity |

> [!NOTE]
>
> **Which key do you need?** Most users start with a **user-scoped key**. It can search and read every note you have access to, including notes in workspace folders, within the workspaces selected when the key was created (every workspace you belong to if none were selected). A **workspace-scoped key** searches only the workspace it's connected to, and within that workspace it reads only notes in folders shared with all members ([What notes a system API key reads](https://docs.tiro.ooo/en/developers/fundamentals/system-key-note-scope.md)). Use a user-scoped key if you need notes in private folders. MCP tools use the same keys and follow the same read scope rules as the REST API. The folder tools (`search_private_folders`, `search_team_folders`) require a credential with a user identity (a user-scoped API key or OAuth token) and the `mcp:folder:read` scope.

API keys do not expire unless revoked from the [Tiro Platform API Keys page](https://platform.tiro.ooo/me/api-keys). We recommend rotating keys periodically and using separate keys for development and production.

OAuth tokens are valid for **180 days**. To rotate sooner, sign out from your client and sign in again. For immediate revocation, contact support.

Once connected, explore [what tools are available](https://docs.tiro.ooo/en/developers/mcp/tools/overview.md) — or head to [Troubleshooting](https://docs.tiro.ooo/en/developers/mcp/troubleshooting.md) if your client isn't connecting.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.