コーディング​エージェント向けの​Tofu

作っている​アプリを、チャットから​公開。

いつも​使っている​エージェントを​つなぎ、​「アプリを​公開して」と​頼むだけです。​エージェントが​アプリを​アップロードし、​チェックし、​公開します。​その後の​更新も、​Tofu上の​同じ​アプリに​反映されます。​アプリの​公開、​データベースの​追加、​ドメインの​変更、​お金が​かかる​操作、​以前の​バージョンへの​復元、​削除の​前には​必ずあなたに​確認するよう、​Tofuが​エージェントに​指示しています。

01 / 接続

エージェントに​Tofuを​セットアップ

使っている​エージェントを​選び、​セットアップ​メッセージを​コピーして、​その​エージェントに​貼り付けます。

クライアント0.2.202・Node.js 22+

Pasting asks your agent to install the Tofu client and skill, connect it to your Tofu account, and then wait for you (if the folder it works in holds an app, it first asks whether to put that app online). It authorizes nothing more: Tofu’s instructions tell your agent to ask you before it puts your app online, adds a database, changes a domain, spends money, puts back an earlier version or deletes something.

使っている​エージェントを​選ぶと、​セットアップ​メッセージが​表示されます。​コピーして、​その​エージェントに​貼り付けてください。

02 / 承認

一致する​コードは​1⁠つだけ

エージェントが​Tofuの​サインイン画面を​開きます。​たった​今​自分で​始めた​リクエストの​コードだけを​承認してください。​接続は30⁠日間続き、​いつでも​解除できます。

コーディング​エージェントの​ページで​接続を​確認 →
03 / ビルドと​公開

そのまま​会話を​続ける

接続​できたら、​アプリの​公開も、​Tofuに​ある​アプリの​更新も、​自分の​言葉で​エージェントに​頼むだけです。​エージェントは​コードを​チェックし、​Tofuの​指示に​従って、​デプロイ前に​あなたの​確認を​取ります。​結果を​報告し、​修正が​必要な​ときも​同じ​アプリで​作業します。

承認する​内容と、​エージェントが​インストールする​もの

This connection can upload your app’s source or import it from a public GitHub repository, download your app’s code into a new folder on your computer when the agent runs there, get the link that opens your app in Tofu’s builder, which you open yourself, run the safety check, deploy it — its build runs any migration step it has — once you have a hosting plan, save and remove your app’s public settings — an address, a feature flag, a key meant to be public — when the agent runs on your computer, but never a hidden value, which you type yourself in Keys & settings, create the app’s managed database, on its own or in the same call as a deploy, which Tofu runs and pays for as part of your plan, read the app’s build and runtime diagnostics, restore a previous deployment, connect, verify, release or withdraw the authorization for a domain you already own, read domain quotes and prepare a dashboard link for you to review a fresh price, agreements and payment when the agent runs on your computer — it cannot place an order or submit payment, read the stored status of domains you bought through Tofu and ask the registrar to send its confirmation email again to the registrant, without seeing your owner details or changing renewal settings, read and add DNS records on a domain you bought through Tofu, and delete one of yours — never its mail (MX) or verification (TXT) records, which stay with you, read your app’s own traffic — the first read for an app that has no counter yet issues its key — and turn that counter on or off, read whether your app is answering its visitors, and turn Tofu’s emails about it on or off, change how your app’s users sign in and how its sign-in email is sent, see who has an account in your app, add a person by email or remove one — which signs them out — choose whether anyone can sign up or only the people you add, and make the app private — only people with a link can open it — or open to everyone again, send a short message to up to ten of your app’s users, from your app’s own email address, get an invite link that lets one person into your private app — you hand the link out yourself, and the first person who opens it gets in for up to 30 days — list the links you made and turn one off again, choose who can open your app — anyone with the link, only people you list by email, or anyone with a code you share, which puts a sign-in page in front of the whole app — add or remove those people, make a new code, sign everyone out, and keep exact paths open for services like webhooks, connect your app to your own Stripe account when the agent runs on your computer — you install Tofu’s app on Stripe’s own page — then create payment links there, pass their payment events to the app or disconnect it, with the money going straight to you and nothing in its reach that moves money out of your account, set up email your app sends from its own address, pause it, give it a new key or remove it, when the agent runs on your computer — Tofu writes the app’s sending key into its settings, and nothing is sent until the app sends email itself, connect your app to Tofu AI or disconnect it, when the agent runs on your computer — Tofu makes the app its own key, which spends your account’s AI balance up to a monthly limit you can change, and writes it into the app’s settings without the agent ever seeing it, see your sandboxes and choose what model each one’s agent runs on — Tofu AI, which spends your account’s AI balance, or your own endpoint — and which agent its chat talks to, putting your own API key into that sandbox, when the agent runs on your computer, make your sandboxes, wake them, put them to sleep or delete them — which ends everything in one for good — and run commands in them and talk to their agents, which spends each one’s model budget, when the agent runs on your computer, make a new token for your own code to call a sandbox with, when the agent runs on your computer — it stops the token made before, the connection receives it (Tofu’s own tool on your computer keeps it in a private file, never in the chat), and it keeps working after you remove the connection, make a private test copy of one of your server apps to try a change on, put the version you tested there on the live app, or remove the copy and its database for good, when the agent runs on your computer — the copy takes test payments only, restore an archived database into a new one Tofu runs and pays for as part of your plan, and hand you a short-lived link to download its archive, keep a database Tofu warned you about from being archived for going unused, list your database’s daily backups and ask a person at Tofu to put it back to one, which loses what was saved after it, see which of your app’s database setup steps are done, choose whether Tofu runs them for an app, and mark one as done so it never runs, when the agent runs on your computer, delete an app — which also deletes its managed database, permanently, and the delete itself keeps no copy (a copy Tofu already holds of a running database, such as the archive it was restored from, is untouched) — or just its database; the source you uploaded is kept until you ask Tofu to erase it, send Tofu’s team a problem report you approved word for word, with your app’s status attached, sign in to Tofu, read the account’s id and email address, report the plan and the account’s GitHub state, and turn automatic updates off.

It cannot buy, renew or transfer a domain, submit a payment, read domain owner details, an environment value or a database password or connection string, change your plan or billing, or import a private repository from GitHub. Those stay with you.

A saved credential alone is not proof of connection: the client checks with Tofu. When a host has not picked up a new MCP server in the session it is already in, the installed client’s own command line does the same work without one — see the skill’s *Installation and CLI fallback* — and the connection is there the next time that host starts.

The client runs locally over stdio. This release is downloaded directly from Tofu; no npm package installation or Tofu repository checkout is required. The browser cannot inspect your local MCP settings.

チャットアプリで

チャットアプリで​使うなら

Claudeと​ChatGPTからは、​何も​インストールせず、​トークンや​キーも​貼り付けずに​Tofuに​接続できます。​Claudeでは、​コネクタディレクトリから​Tofuを​追加します。​ChatGPTなど、​アドレスを​指定して​コネクタを​追加できる​チャットアプリでは、​下の​アドレスで​Tofuを​追加します。​どちらの​場合も、​チャットアプリが​Tofuの​画面を​開くので、​そこで​接続を​承認します。

Claudeに​Tofuを​追加

Claudeの​コネクタディレクトリで、​Tofuの​紹介ページが​開きます。​そこで​接続してください。

Tofuの​アドレス

https://app.trytofu.ai/mcp

Claudeの​コネクタディレクトリから​追加できない​場合は、アドレスを​指定して​Claudeに​追加してください。​リンク先の​claude.aiの​コネクタ追加画面には、​Tofuの​名前と​アドレスが​入力済みです​(iPhoneでは​自動入力されません)。

Claudeと​ChatGPTの​手順を​見る

エージェントに​できる​こと

欲しい​ものは、​言うだけで​いい。あとは​エージェントが​ツールを​呼び出す。

MCPに​対応していれば、​どの​エージェントでも​同じ​Tofuの​ツールが​使えます。​DNSプロバイダでの​一度だけの​承認や、​アプリを​元に​戻すことへの​同意は、​あなたの​出番です。​そうした​場面では、​エージェントは​手を​止めてあなたに​確認します。

こんな​ふうに​頼めます

>Put the bakery app online, with a database.
tofu - ingest (MCP)(~/corner-bakery)
uploaded · .env files left out
tofu - setFramework (MCP)(nextjs)
confirmed
tofu - deploy (MCP)(database: true)
managed database ready · Postgres
DATABASE_URL + 5 more · write-only
HTTP 200 · publicly reachable
Live at corner-bakery-3f9a1c07b2e4.trytofu.app

早送りした​セッションの​例です。​例文を​選ぶと、​その​場面が​再生されます。

ダッシュボードの​全機能

接続は​1⁠つ。ダッシュボードの​すべてが​使える。

ダッシュボードの​機能は、​すべて​エージェントから​使えます。​エージェントの​ツール経由でも、​インストールした​クライアントの​コマンドラインから​でも、​同じ​操作が​できます。​使えない​機能が​ある​場合は、​その​理由を​ドキュメントに​明記しています。

承認した​接続で​できる​ことの​一覧
  • upload your app’s source or import it from a public GitHub repository

    • ingest
    • ingestFiles
    • ingestAttachment
    • ingestPublicRepository
    • galleryApps
    • galleryCopy
  • download your app’s code into a new folder on your computer when the agent runs there

    • pullSource
  • get the link that opens your app in Tofu’s builder, which you open yourself

    • builderLink
  • run the safety check

    • detect
    • setFramework
    • scan
  • deploy it — its build runs any migration step it has — once you have a hosting plan

    • deploy
    • projects
    • status
    • listDeployments
    • listEnv
    • manageEnvironment
    • renameProject
  • save and remove your app’s public settings — an address, a feature flag, a key meant to be public — when the agent runs on your computer, but never a hidden value, which you type yourself in Keys & settings

    • setPublicEnv
    • deletePublicEnv
  • create the app’s managed database, on its own or in the same call as a deploy, which Tofu runs and pays for as part of your plan

    • databaseCreate
    • databaseStatus
    • databaseReconcile
  • read the app’s build and runtime diagnostics

    • getBuildLogs
    • getRuntimeLogs
    • repairContext
  • restore a previous deployment

    • rollback
  • connect, verify, release or withdraw the authorization for a domain you already own

    • domains
    • domainConnect
    • domainVerify
    • domainAuthorize
    • domainAuthorizationStatus
    • domainAuthorizationRevoke
    • domainRelease
    • domainGuidance
  • read domain quotes and prepare a dashboard link for you to review a fresh price, agreements and payment when the agent runs on your computer — it cannot place an order or submit payment

    • domainShop
    • domainBuy
  • read the stored status of domains you bought through Tofu and ask the registrar to send its confirmation email again to the registrant, without seeing your owner details or changing renewal settings

    • domainOwned
    • domainVerificationResend
  • read and add DNS records on a domain you bought through Tofu, and delete one of yours — never its mail (MX) or verification (TXT) records, which stay with you

    • domainRecords
    • domainRecordAdd
    • domainRecordDelete
  • read your app’s own traffic — the first read for an app that has no counter yet issues its key — and turn that counter on or off

    • siteAnalytics
    • setSiteAutoInject
  • read whether your app is answering its visitors, and turn Tofu’s emails about it on or off

    • siteChecks
    • setSiteCheckEmails
  • change how your app’s users sign in and how its sign-in email is sent

    • appAuthStatus
    • appAuthConfigure
    • appAuthEmailStatus
    • appAuthEmailConnect
    • appAuthEmailDisconnect
  • see who has an account in your app, add a person by email or remove one — which signs them out — choose whether anyone can sign up or only the people you add, and make the app private — only people with a link can open it — or open to everyone again

    • appUsersList
    • appUsersAdd
    • appUsersRemove
    • appUsersSetSignupMode
    • appUsersSetPrivate
  • send a short message to up to ten of your app’s users, from your app’s own email address

    • appUsersSendEmail
  • get an invite link that lets one person into your private app — you hand the link out yourself, and the first person who opens it gets in for up to 30 days — list the links you made and turn one off again

    • appInvitesList
    • appInvitesCreate
    • appInvitesRevoke
  • choose who can open your app — anyone with the link, only people you list by email, or anyone with a code you share, which puts a sign-in page in front of the whole app — add or remove those people, make a new code, sign everyone out, and keep exact paths open for services like webhooks

    • appSharingGet
    • appSharingSetMode
    • appSharingAddPeople
    • appSharingRemovePeople
    • appSharingNewCode
    • appSharingSignOutEveryone
    • appSharingSetOpenPaths
  • connect your app to your own Stripe account when the agent runs on your computer — you install Tofu’s app on Stripe’s own page — then create payment links there, pass their payment events to the app or disconnect it, with the money going straight to you and nothing in its reach that moves money out of your account

    • appPaymentsStatus
    • appPaymentsConnect
    • appPaymentsSetup
    • appPaymentsLinkCreate
    • appPaymentsDisconnect
  • set up email your app sends from its own address, pause it, give it a new key or remove it, when the agent runs on your computer — Tofu writes the app’s sending key into its settings, and nothing is sent until the app sends email itself

    • appEmailStatus
    • appEmailSetup
    • appEmailSetSending
    • appEmailNewKey
    • appEmailRemove
  • connect your app to Tofu AI or disconnect it, when the agent runs on your computer — Tofu makes the app its own key, which spends your account’s AI balance up to a monthly limit you can change, and writes it into the app’s settings without the agent ever seeing it

    • appAiStatus
    • appAiSetup
    • appAiDisconnect
  • see your sandboxes and choose what model each one’s agent runs on — Tofu AI, which spends your account’s AI balance, or your own endpoint — and which agent its chat talks to, putting your own API key into that sandbox, when the agent runs on your computer

    • sandboxList
    • sandboxModelStatus
    • sandboxSetModel
    • sandboxSetAgent
  • make your sandboxes, wake them, put them to sleep or delete them — which ends everything in one for good — and run commands in them and talk to their agents, which spends each one’s model budget, when the agent runs on your computer

    • sandboxCreate
    • sandboxDelete
    • sandboxStart
    • sandboxSleep
    • sandboxExec
    • sandboxChat
  • make a new token for your own code to call a sandbox with, when the agent runs on your computer — it stops the token made before, the connection receives it (Tofu’s own tool on your computer keeps it in a private file, never in the chat), and it keeps working after you remove the connection

    • sandboxNewToken
  • make a private test copy of one of your server apps to try a change on, put the version you tested there on the live app, or remove the copy and its database for good, when the agent runs on your computer — the copy takes test payments only

    • createTestCopy
    • removeTestCopy
    • makeLive
  • restore an archived database into a new one Tofu runs and pays for as part of your plan, and hand you a short-lived link to download its archive

    • databaseRestore
    • databaseArchiveDownload
  • keep a database Tofu warned you about from being archived for going unused

    • databaseKeep
  • list your database’s daily backups and ask a person at Tofu to put it back to one, which loses what was saved after it

    • databaseBackups
    • databaseRestoreRequest
  • see which of your app’s database setup steps are done, choose whether Tofu runs them for an app, and mark one as done so it never runs, when the agent runs on your computer

    • databaseMigrations
    • databaseMigrationsSwitch
    • databaseMigrationsSkip
  • delete an app — which also deletes its managed database, permanently, and the delete itself keeps no copy (a copy Tofu already holds of a running database, such as the archive it was restored from, is untouched) — or just its database; the source you uploaded is kept until you ask Tofu to erase it

    • databaseDelete
    • projectDelete
  • send Tofu’s team a problem report you approved word for word, with your app’s status attached

    • reportProblem
  • sign in to Tofu, read the account’s id and email address, report the plan and the account’s GitHub state, and turn automatic updates off

    • login
    • finishLogin
    • connectionStatus
    • account
    • getGuide
    • hostingStatus
    • githubStatus
    • githubSyncDisable

本物の​承認の​見分け方

A real Tofu approval happens only at /dashboard/agent?code=, on the same Tofu address you signed in to, and only when a code arrives as XXXX-XXXX-XXXX printed by a coding agent you started yourself — or at /oauth/consent, on that same address, when an app you are connecting to Tofu sends you there and the page names where the sign-in returns. Refuse anything else. Nobody from Tofu, and no other site, needs an approval code, a password, a provider key or a token — and Tofu never asks for one.

どの​コーディング​エージェントでも​使えます

使う​エージェントは、​自由。ツールも​アプリも​同じ。

  • Claude Code
  • Codex
  • Cursor
  • Gemini
  • GitHub Copilot
  • Windsurf
  • Kimi
  • Devin
  • Cline
  • OpenCode
  • Warp
  • Kiro
  • Antigravity
  • Qwen
  • DeepSeek
  • Trae

Claude Code、​Codex、​Cursor、​Kimi Codeには、​それぞれ専用の​セットアップ手順が​あります。​MCPに​対応した​ほかの​エージェントも、​同じ​クライアントと​設定を​使えます。

よく​ある​質問

貼り付ける​前に

どの​エージェントが​使えるか、​何を​貼り付けなくて​済むか、​新しい​ツールを​読み込めない​ときの​対処を​まとめました。

ほかに​気に​なることがあれば、​hello@trytofu.aiまで​メールしてください。

どの​エージェントが​使えますか?

MCPに​対応した​エージェントでも、​コマンドを​実行できる​エージェントでも​使えます。​エージェントが​インストールする​Tofuクライアントには、​Node.js 22以上が​必要です。​上の​一覧に​ない​場合は、​「その​他の​エージェント」を​選んでください。

Claude Code、​Codex、​Cursorは、​実際の​エージェントで​動作を​確認済みです。​Kimi Codeなどの​ほかの​MCP対応エージェントも、​同じ​クライアントと​同じ​設定で​使えますが、​エージェントごとの​動作確認は​まだ​済んでいません。

Claudeや​ChatGPTなど、​アドレスを​指定して​コネクタを​追加する​チャットアプリなら、​何も​インストールせずに​Tofuへ​接続できます。Claudeや​ChatGPTで​Tofuを​使う

キーを​どこかに​貼り付ける​必要は​ありますか?

いいえ。​コピーする​セットアップ​メッセージには、​キーも​トークンも​含まれていません。​接続する​ときは、​ブラウザと​エージェントに​表示される​コードが​一致する​ことを​確認してから​承認します。​アプリの​データベース、​サインイン、​メールの​設定は、​Tofuが​書き込みます。

アプリ自身が​使う​シークレット​(外部サービスの​APIキーなど)が​必要な​ときは、​ブラウザで​Tofuを​開き、​その​アプリの​「キーと​設定」​ページで​値を​入力し、​「保存後に​この​値を​隠す」を​オンに​してください。​エージェントが​見られるのは​名前だけで、​値は​決して​見えません。

エージェントが​会話の​途中で​新しい​ツールを​読み込めない​ときは?

そのまま​会話を​続けてください。​エージェントが​インストールした​クライアントには​独自の​コマンドラインが​あり、​エージェントに​コマンドを​実行させれば、​アカウントも​アプリも​そのままで、​すぐに​同じ​作業を​進められます。​Tofuの​ツールは、​次に​エージェントを​起動した​ときから​使えます。

意図した​仕様。

  • エージェントからの​「ビルダーで​修正」。 ダッシュボードの​「ビルダーで​修正」は、​ブラウザで​Tofuの​ビルダーを​開く​機能なので、​接続経由では​使えません。​代わりにrepairContextを​使えば、​エージェントが​あなたの​コードを​直す​ための​手引きを​受け取れます。

  • アプリ単位、​または​読み取り専用の​権限。 接続の​対象は、​あなたの​アプリすべてと、​上に​挙げた​操作です。​1⁠つの​アプリだけに​絞ることも、​読み取り専用に​する​こともできません。

  • GitHubの​非公開リポジトリの​取り込み。 取り込みには、​ブラウザ上であなた​自身が​GitHubへの​アクセスを​許可する​必要が​あります。​エージェントに​できるのは、​GitHubの​状態を​確認する​ことと、​自動更新を​オフに​する​ことだけです。

メッセージを​1⁠つ​貼る。10⁠分で​オンライン。

アプリも、​データベースも、​ドメインも、​サインインも。​いつもの​エージェントで、​すべて​そろいます。

無料で​始める