このページを Claude Code に読み込ませて、AI の指示に従ってください。
例: 「https://miyashi.app/dodo/api を読んで、DODO を設定して」。DODO の設定画面の「Claude Code に貼る文をコピー」を使うと、URL とトークンまで入った文を貼れます。
DODO に PC や AI エージェントからやることを送る
PC でまとめた TODO や、AI エージェント(Claude Code など)が整理したやることを、iPhone の DODO のサジェストに送れます。送ったやることには目安の時間を付けられ、DO 画面でタップするとそのまま始められます。プレミアムの機能です。
1. API トークンを発行する(iPhone で)
- DODO の 設定 → 外からやることを流し込む(MCP・API)を開く
- Apple でサインインする(メールアドレスと名前は受け取りません)
- 「API トークンを発行する」を押して、表示されたトークンをコピーする
トークンは発行したときに一度だけ表示されます。PC でのログインは不要で、このトークンを PC 側の設定に貼るだけです。発行し直すと前のトークンは使えなくなります。同じ画面に、URL を埋め込んだ登録コマンドも出ます。
2. MCP で使う(Claude Code など)
DODO はリモート MCP サーバー(Streamable HTTP)を用意しています。npm パッケージのインストールは不要で、URL とトークンを登録するだけです。
claude mcp add --transport http dodo https://api.dodo.miyashi.app/mcp \ --header "Authorization: Bearer dodo_xxxxxxxx"
HTTP のヘッダーを設定できる MCP クライアントなら、同じように使えます。使えるツール:
| ツール | 内容 |
|---|---|
| add_do_suggestions | やることの一式を送る。送るたびに新しい一式になり、アプリには一番新しい一式だけが出る。mode は replace(既定。送ったものだけにする)か append(今の一式に足す)。items の各要素に title(名前)と targetMinutes(目安の分、省略可) |
| list_do_suggestions | 一番新しい一式(アプリに出ているもの) |
| clear_do_suggestions | アプリのサジェストを空にする(空の一式を送る) |
AI エージェントへの頼み方の例:
今日のタスクを DODO に送って
3. REST API で使う(curl・スクリプト)
curl -X POST https://api.dodo.miyashi.app/v1/suggestions \
-H "Authorization: Bearer dodo_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"items":[{"title":"資料作成","targetMinutes":30},"メール返信"],"mode":"replace"}'| メソッド | パス | 内容 |
|---|---|---|
| POST | /v1/suggestions | やることの一式を送る。items には { "title", "targetMinutes" } か、名前だけの文字列を入れる。mode は replace(既定)か append |
| GET | /v1/suggestions | 一番新しい一式(アプリに出ているもの) |
| DELETE | /v1/suggestions | アプリのサジェストを空にする(空の一式を送る) |
4. 制限
- 1回に送れるのは 50 件まで。1つの一式は 100 件まで
- 名前は 30 文字まで(ロック画面の1行に収まる長さ)。目安の時間は 1〜600 分(省略するとアプリの既定値)
- 名前に個人情報(人の名前、連絡先、パスワードやキー、健康やお金のことなど)を入れないでください
- 前の一式は履歴としてサーバーに残ります(アカウントを削除するとすべて消えます)
- 呼び出しは 1 分に 10 回、1 日に 500 回までです(超えるとしばらく受け付けません)
5. AI エージェントへ(設定の手順)
このページを読んだ AI エージェントは、次の順で利用者の設定を手伝ってください。
- 利用者に、iPhone の DODO で 設定 → 外からやることを流し込む(MCP・API)を開き、Apple でサインインして「API トークンを発行する」を押してもらう(プレミアムが必要)。表示される「Claude Code に貼る文」か、URL と API トークンを貼ってもらう
claude mcp add --transport http --scope user dodo https://api.dodo.miyashi.app/mcp --header "Authorization: Bearer <トークン>"を実行する。トークンはリポジトリのファイルに書かない- Claude Code を再起動してもらい、
list_do_suggestionsが呼べることを確かめる - 試しに
add_do_suggestionsで 1 件送り、iPhone の DO 画面のサジェストに出たか利用者に確かめてもらう
使うときは、アプリに出したい一式をまとめて送ってください(mode を省くと、送ったものだけに置き換わります)。やることは 1 つずつ短い名前(30 文字まで)にし、目安の分(targetMinutes)を付けます。名前に個人情報を入れないでください。
6. データの扱い
サーバーに保存するのは、送られたやることの文字列と目安の時間、Apple でサインインしたときの識別子、API トークンのハッシュ値だけです。DO の記録はサーバーに送りません。アプリの「アカウントを削除」で、サーバーの情報はすべて消えます。詳しくは プライバシーポリシー をご覧ください。
Load this page into Claude Code and follow the AI's instructions.
For example: "Read https://miyashi.app/dodo/api and set up DODO." In DODO's settings, "Copy text for Claude Code" gives you a message with the URL and token already filled in.
Send to-dos to DODO from your PC or AI agent
Send to-dos you organized on your PC, or that an AI agent (such as Claude Code) prepared, to the suggestions in DODO on your iPhone. Each to-do can carry an estimated time, and one tap on the DO screen starts it. This is a Premium feature.
1. Issue an API token (on your iPhone)
- In DODO, open Settings → Push in to-dos (MCP, API)
- Sign in with Apple (we do not receive your email address or name)
- Tap "Issue API token" and copy the token
The token is shown only once. You don't sign in on your PC — just paste the token into its settings. Issuing a new token invalidates the previous one. The same screen also shows ready-to-paste commands with the URL filled in.
2. Use it over MCP (Claude Code and others)
DODO provides a remote MCP server (Streamable HTTP). No npm package is needed — just register the URL and token.
claude mcp add --transport http dodo https://api.dodo.miyashi.app/mcp \ --header "Authorization: Bearer dodo_xxxxxxxx"
Any MCP client that lets you set HTTP headers works the same way. Tools:
| Tool | What it does |
|---|---|
| add_do_suggestions | Send a list of to-dos. Each call creates a new list and the app shows only the newest one. mode is replace (default: the list becomes exactly these items) or append (add to the current list). Each item has a title and optional targetMinutes |
| list_do_suggestions | The newest list (the one the app shows) |
| clear_do_suggestions | Empty the suggestions in the app (sends an empty list) |
Example request to an AI agent:
Send today's tasks to DODO
3. Use the REST API (curl, scripts)
curl -X POST https://api.dodo.miyashi.app/v1/suggestions \
-H "Authorization: Bearer dodo_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"items":[{"title":"Write the report","targetMinutes":30},"Reply to emails"],"mode":"replace"}'| Method | Path | What it does |
|---|---|---|
| POST | /v1/suggestions | Send a list of to-dos. Each item is { "title", "targetMinutes" } or a plain title string. mode is replace (default) or append |
| GET | /v1/suggestions | The newest list (the one the app shows) |
| DELETE | /v1/suggestions | Empty the suggestions in the app (sends an empty list) |
4. Limits
- Up to 50 items per request, and up to 100 items in a list
- Titles up to 30 characters (one line on the Lock Screen); estimated time 1–600 minutes (defaults to your setting)
- Do not put personal information in titles (people's names, contact details, passwords or keys, health or financial details)
- Older lists are kept as history on the server (deleting your account removes all of them)
- Calls are limited to 10 per minute and 500 per day
5. For AI agents (setup steps)
If you are an AI agent reading this page, help the user set up in this order.
- Ask the user to open DODO on their iPhone → Settings → Push in to-dos (MCP, API), sign in with Apple and tap "Issue API token" (Premium required), then paste the "text for Claude Code" or the URL and API token.
- Run
claude mcp add --transport http --scope user dodo https://api.dodo.miyashi.app/mcp --header "Authorization: Bearer <token>". Do not write the token into repository files. - Ask the user to restart Claude Code and confirm
list_do_suggestionsworks. - Send one test item with
add_do_suggestionsand ask the user to check that it appears in the suggestions on the DO screen.
Send the whole list you want the app to show (without mode, it replaces the current list). Make each to-do a short title (up to 30 characters) with an estimated targetMinutes, and never put personal information in titles.
6. Your data
The server stores only the text and estimated time of to-dos you send, your Sign in with Apple identifier and a hash of your API token. Your records are never sent to the server. "Delete account" in the app removes everything on the server. See the Privacy Policy.