> ## 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.

# エージェントに Tiro MCP をインストールする

> プロンプト 1 つで、エージェントが Tiro MCP server をインストールし、OAuth でサインインさせ、接続を確認します。

下記のブロックを Claude Desktop、Claude Code、Cursor、ChatGPT、または MCP 対応の任意のクライアントに貼り付けてください。エージェントが指示を読み取り、`https://mcp.tiro.ooo/mcp` に接続し、初回利用時にブラウザ経由でサインインさせます。

**対応クライアント**  ·  Claude Desktop  ·  Claude Code  ·  Cursor  ·  ChatGPT  ·  VS Code (Copilot)  ·  streamable-HTTP に対応した任意の MCP クライアント

## このプロンプトをコピー

```text The Tiro MCP install prompt theme={"system"}
Install the Tiro MCP server in this workspace.

  Server URL :  https://mcp.tiro.ooo/mcp
  Transport  :  HTTP (streamable)
  Auth       :  OAuth (preferred). On first connection, open a browser
                for Google sign-in. Tokens cache locally for 180 days.

If this client cannot run a browser flow, ask me for a Tiro API key
from https://platform.tiro.ooo/dashboard/api-keys and attach the
header:

  Authorization: Bearer <TIRO_API_KEY>

For stdio-only clients, wrap the endpoint with mcp-remote:

  npx -y mcp-remote https://mcp.tiro.ooo/mcp

After connecting, list the Tiro tools that loaded and call
`auth_status` to confirm the session is live. If a step fails, show
me the exact error and the step where it happened — do not retry
silently.
```

<Tip>
  このプロンプトは意図的に **client-agnostic**（クライアント非依存）に作られています。エージェントは実行されている環境に応じて、適切な設定ファイル（`claude_desktop_config.json`、`.vscode/mcp.json`、Cursor の設定など）を選びます。
</Tip>

## エージェントが行う処理

1. 有効な MCP クライアントを検出し、その設定を開きます。
2. `https://mcp.tiro.ooo/mcp` を指す `tiro` server エントリを追加します。
3. クライアントを再起動し（または再起動を促し）、ブラウザで OAuth を完了します。
4. `auth_status` を呼び出して接続を確認し、利用可能なツールを報告します。

問題が発生した場合、エージェントは正確なエラーを表示するため、どの手順をやり直せばよいかがわかります。サイレントなループは発生しません。

## プライバシーと token の取り扱い

* OAuth token はローカルの MCP クライアント設定にのみキャッシュされ、それ以外の場所に送信されることはありません。
* API key を（フォールバックとして）使用する場合は、同じ設定ファイル内に平文で保存されます。共有される dotfile には含めないようご注意ください。
* いずれも [API Keys dashboard](https://platform.tiro.ooo/dashboard/api-keys) からいつでも無効化できます。あるいはクライアントからサインアウトしてください。

***

ご自身で設定したいですか？  → [Manual setup per client](/ja/developers/mcp/setup)   ·   [Available tools](/ja/developers/mcp/tools/overview)   ·   [Troubleshooting](/ja/developers/mcp/troubleshooting)
