Skip to main content
The TinyCloud MCP server exposes 20 hosted tools or 17 local stdio tools to Model Context Protocol clients. If your agent can install and run the CLI, use the CLI instead: start at agents.tinycloud.xyz/onboarding. Otherwise, clients supporting Streamable HTTP MCP and OpenKey OAuth can use the hosted endpoint below. Meetings are available through the CLI.

Choose your client

This is a connection-method guide, not a claim that TinyCloud is published in every client’s app directory. Client interfaces and administrator settings change; a working transport does not guarantee that an account has the UI. If a bot cannot install the CLI or connect through MCP, sending it a setup link does not add those capabilities. Do not send it an owner private key. Use Windows installation for a Windows shell.
Hosted MCP and the connected AI client receive plaintext tool inputs/results. Local CLI/stdio avoids the hosted MCP hop, but does not make ordinary node storage or AI processing E2EE. Read Security and trust before granting access.

ChatGPT setup

  1. Open ChatGPT on the web and use its custom MCP server connection form. Follow OpenAI’s current custom MCP setup guide for the current UI and account/workspace availability. If the form is absent, check that guidance or your workspace administrator; this guide does not infer a subscription restriction.
  2. Enter https://mcp.tinycloud.xyz/mcp and complete OpenKey OAuth. Use the same OpenKey owner/key that holds your TinyCloud data.
  3. Enable/select the connection in the conversation, ask it to call tinycloud_connect, and complete the scoped approval flow below.
  4. Continue only when tinycloud_connect reports connected: true; ask to list spaces and read one known record before requesting edits.
This is the custom-connection route documented by TinyCloud MCP, not a claim of reviewed/published ChatGPT app status. Actual ChatGPT UI acceptance and mobile availability must be checked in the target account.

Connect a remote MCP client

For example, in Claude (web, iOS or Android), add a custom connector with this URL. Other compatible clients, including ChatGPT, use the same endpoint:
The client discovers OpenKey OAuth from the endpoint, registers its OAuth client, and asks you to sign in. After the connector is enabled:
  1. Ask the client to call tinycloud_connect.
  2. Open the returned approvalUrl and approve the account-registry delegation in OpenKey.
  3. Ask the client to call tinycloud_connect again. It now returns connected: true.
  4. Ask the client to list your spaces, then perform the KV or SQLite operation you want. When a tool returns authority_required, open its approval.url and retry the same tool unchanged.
Hosted mode adds tinycloud_connect and four personal-record tools to the local surface, and omits the local-only tinycloud_auth_import and tinycloud_secrets_status. The service stores a distinct delegated session key for each OpenKey OAuth subject and accepts only delegations from an owner DID carried by that subject’s resource-bound access token. It never receives an owner private key.

Keep personal records naturally

Ask “Log my weight: 80.5 kg today”, “Mark my passport todo done”, or “How much did I run last month?” Claude can keep and read the same records as coding agents using tc-apps, without a local CLI or skill installation. At first use, approve connect and then personal-record access in OpenKey. Records use one grant for get, list, put and delete under xyz.tinycloud.agent-data/ in your default space, not a separate approval for every key. Supply an IANA timezone once; the client must not infer your local date from the hosted server’s clock or require your precise location. In Settings → Connectors → TinyCloud, you can set tinycloud_apps_write to Always allow to avoid per-call tool confirmations. This does not bypass OpenKey permission approval. For edits, read fresh and pass the returned ETag. A put without an ETag creates only; a stale ETag returns CHANGED, not an overwrite. A move requires the source ETag; a delete can also be guarded by one. Inspect each operation’s outcome and a move’s completed steps (written, deleted): an ok envelope does not mean every operation succeeded. Report partial outcomes rather than blindly replaying the batch. TIMEZONE_REQUIRED means the owner’s timezone must be set before the write. For questions over many records, Claude can first answer from the records and offer a fast, searchable copy of your records. This is optional and needs its own approval. KV records remain the source of truth. Developer reference: the copy is the exact SQL database xyz.tinycloud.agent-data.index, with read, write and schema authority; query refreshes derived data, not KV records. COPY_PARTIAL is a successful result with the kinds still to rebuild; the next query resumes them. A nonretryable NODE_ERROR with error.details.reason: "copy_unavailable" needs the node team’s resolution. Answer from KV instead; retrying the copy or changing its name is not a fix. Production requests 30-day grants and uses 15-minute approval links. A missing or expired session returns a fresh connect link in error.details; a missing or expired grant returns an authority_required approval link. Open the new link and retry after approval. If the owner declines, stop rather than asking again in that conversation.
The hosted service can observe plaintext operation inputs and results while it executes them, including delegated secrets. Local stdio removes that hosted service from the path; it does not remove the node or AI-client trust boundary.

Requirements

  • Node.js 22.20 or later
  • The TinyCloud CLI, signed in with tinycloud onboard, for local stdio
  • A hosted deployment with the apps tools for personal records; local stdio does not expose them
  • A TinyCloud node running 1.6.0 or newer
  • Local stdio requires structured tool results; hosted clients can also read canonical JSON in text results

Configure local stdio

Install both packages with Node.js 22.20 or later:
Sign in once with tinycloud onboard (see agents.tinycloud.xyz/onboarding), then start the server with that profile. An onboarded profile signs in with OpenKey, so pass --allow-owner-profile with it. Then add the local stdio server to your MCP client:
The server captures the selected profile at startup. Restart it to select a different profile. Delegation imports persist, so retry can happen in the same process or a later one.

Available tools

These tools use the same versioned operation contracts as the CLI projections. Results use one of four statuses: ok, authority_required, setup_required, or error. Generic data operations plan authority for the exact space and key, prefix, or database in their input. The hosted apps tools use the single records-prefix grant described above instead. When authority is missing, the tool returns authority_required with a tinycloud.auth.request; it does not widen the request or silently fall back to owner authority. Generic KV tools reject the TinyCloud account and secrets spaces. Use the dedicated account and secret tools for those protected spaces. For the account and data discovery sequence, including how to handle authority_required, see Access and explore my TinyCloud. Account registry discovery is capped at 1,000 records, 1 MiB per record, and 4 MiB total serialized output. It fails closed instead of returning a partial registry. Hosted text results include readable canonical JSON as well as structuredContent, except that successful secret values remain structured-only. Read-only results over 100,000 characters return a nonretryable size error with narrowing guidance. This cap never truncates write results or conceals completed writes. Tool-call logs contain only tool name, outcome code, duration and the number of successfully replayed grants—not keys, values, catalog text, SQL or parameters.

KV data safety

tinycloud_kv_list returns at most 100 keys by default, accepts a limit from 1 through 1,000, and reports whether the result was truncated. KV reads and writes are limited to 1 MiB per value. tinycloud_kv_get returns the byte length, metadata, and a tagged representation. Base64 is the default and preserves arbitrary files exactly; request text or json only when the bytes use that representation. A decoded GET can carry a weak representation ETag; use tinycloud_kv_head when a strong validator is needed for a conditional mutation. tinycloud_kv_put accepts one of these tagged content objects:
Choose the write mode deliberately:
  • create succeeds only when the key does not exist.
  • replace requires the current strong ETag from tinycloud_kv_head and fails if the value changed.
  • upsert writes without a precondition and can overwrite an existing value.
For deletion, pass the current ETag to tinycloud_kv_delete when concurrent changes must be preserved. A failed create, replace, or guarded delete returns a precondition error instead of overwriting or deleting newer data. If a conditional mutation reports a retryable database serialization conflict, re-read the key state, which may still be absent. If it exists, compare its current ETag before deciding whether to retry. Deletion immediately removes the key from reads and listings, but retained content-addressed blob bytes, including historical versions, continue to count toward storage quota unless a future garbage collector safely reclaims them.

SQLite reads

tinycloud_sql_schema_inspect uses a fixed query to list user tables, views, indexes, and triggers. tinycloud_sql_query accepts exactly one SQLite SELECT, optional bind parameters, and no write, DDL, attachment, pragma, or multi-statement input. Both read tools request read authority for one exact database. Queries default to 100 rows and 1 MiB. Callers may request up to 1,000 rows and 4 MiB. Schema inspection is capped at 500 objects and 1 MiB. Limits are sent to the node and verified again by the MCP operation; excess results fail rather than being silently truncated. SQL BLOB parameters use { "type": "blob", "base64": "..." }; BLOB results add byteLength to the same tagged representation.

SQLite writes

tinycloud_sql_execute is a destructive, non-idempotent tool. It accepts exactly one INSERT, UPDATE, or DELETE, requires at least one positional ? placeholder, and requires one params value per placeholder. It rejects literal-only mutations, CTEs, DDL, pragmas, attachments, and multiple statements. The input must also set acknowledgeDatabaseWideAuthority: true.
Approving tinycloud.sql/write grants full read, write, and schema-mutation authority over the exact database. The capability is not scoped to the table, row, statement, or mutation types accepted by tinycloud_sql_execute. The MCP tool enforces its narrower DML contract, but the delegation can authorize broader database operations when used outside that tool. Grant it only when database-wide authority is acceptable.
Execution failures are never marked automatically retryable. Because the tool is non-idempotent, inspect database state before deciding whether another write is safe.

Delegated secret flow

  1. Call tinycloud_secrets_get with the secret name and scope.
  2. If the result is authority_required, send the owner its approval.url and one line saying what it allows. The server never silently falls back to owner authority.
  3. In local stdio, pass the code or delegation the owner sends back, exactly as sent, to tinycloud_auth_import. In hosted mode the owner approves and says continue.
  4. Retry tinycloud_secrets_get. Requests are persisted so approval and retry can happen in separate client sessions.
  5. If the result is setup_required, follow its Secret Manager action to add the missing value, then retry.
Secret values appear only in the structured result, not in the text result, TinyCloud logs, errors, request files, or delegation files. Your MCP client may retain structured results in its own transcript, so use a client and retention policy appropriate for secrets.

Owner profiles

Owner-profile data access is disabled by default. A profile signed in with tinycloud onboard is an OpenKey owner profile, so select it explicitly and pass both flags, as in Configure local stdio. Omitting either flag keeps owner data execution closed.