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

# ArletのMCP

> Arletを各種MCPクライアントと接続する方法

## 目次

* [Claude Code](#claude-code)
* [Claude.aiとClaude for Desktop](#claudeaiとclaude-for-desktop)
* [ChatGPT](#chatgpt)
* [Codex](#codex)
* [VS Code](#vs-code)

***

## Claude Code

### 1. MCPサーバーを追加する

ターミナルで以下のコマンドを実行します。

```bash theme={null}
claude mcp add --transport http arlet https://mcp.arlet.dev/mcp/
```

### 2. 認証

1. Claude Codeを起動します
2. `/mcp`コマンドを実行します
3. `arlet`を選択し、**Authenticate**をクリックします
4. ブラウザが自動的に開きます。DashboardからGitHubまたはGoogleでサインインします
5. 同意画面で**Allow**をクリックします
6. 接続完了

***

## Claude.aiとClaude for Desktop

Claude.aiおよびClaude for Desktopの設定手順は近日公開予定です。
それまでの間、Arlet MCPサーバーに接続する必要がある場合は、上記のClaude Codeの設定をご利用ください。

***

## ChatGPT

<Note>
  MCPを使用したカスタムコネクターは、Web版ChatGPTのProおよびPlusアカウントで利用可能です。
</Note>

### 1. MCPサーバーを追加する

1. [Developer mode](https://platform.openai.com/docs/guides/developer-mode)を有効にします：
   * **Settings** → **Connectors** → **Advanced settings** → **Developer mode**に移動します
2. **ChatGPT Settings**を開きます
3. **Connectors**タブで**Create**をクリックして新しいコネクターを追加します：
   * **Name**: `Arlet`
   * **MCP server URL**: `https://mcp.arlet.dev/mcp/`
   * **Authentication**: `OAuth`
4. **Create**をクリックします

### 2. 認証

会話中にコンポーザーの**Developer mode**ツールにArletコネクターが表示されます。クリックしてDashboardからGitHubまたはGoogleでサインインし、OAuthフローを完了します。

***

## Codex

### 1. MCPサーバーを追加する

ターミナルで以下のコマンドを実行します。

```bash theme={null}
# Install Codex
npm i -g @openai/codex

# Add Arlet MCP
codex mcp add arlet --url https://mcp.arlet.dev/mcp/

# Start Codex
codex
```

### 2. 認証

MCPサーバーを追加する際、CodexはOAuthサポートを検出し、自動的にブラウザを開きます。DashboardからGitHubまたはGoogleでサインインし、同意画面で**Allow**をクリックします。

***

## VS Code

### 1. MCPサーバーを追加する

プロジェクトルートに`.vscode/mcp.json`を作成または編集します。

```json .vscode/mcp.json theme={null}
{
  "servers": {
    "arlet": {
      "url": "https://mcp.arlet.dev/mcp/"
    }
  }
}
```

### 2. 認証

1. コマンドパレットを開きます（`Ctrl+Shift+P` / `Cmd+Shift+P`）
2. **MCP: List Servers**を実行します
3. `arlet`を選択し、**Authenticate**をクリックします
4. ブラウザが自動的に開きます。DashboardからGitHubまたはGoogleでサインインします
5. 同意画面で**Allow**をクリックします
6. 接続完了
