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

# 在 Codex、Claude Code 和 Cursor 中連線 APIXO 遠端 MCP

> 在 Codex、Claude Code、Cursor 等用戶端中，透過 Streamable HTTP 和瀏覽器 OAuth 連線 APIXO 的遠端 MCP。無需執行本機伺服器或提供 API 金鑰。

在 AI 用戶端中選擇 **遠端 Streamable HTTP**，連線 **`https://mcp.apixo.ai/mcp`**，然後透過 **apixo.ai 的瀏覽器 OAuth** 登入。無需在本機安裝 MCP 軟體包或 Node.js，也無需向 AI 用戶端提供 API 金鑰。

> [card] [為您的客戶複製設定說明](https://apixo.ai/mcp)
>
> 選擇您的 AI 用戶端上 APIXO 用於一鍵複製連線說明。

## 開始之前

* 一個 APIXO 帳號和一個可以登入的瀏覽器。
* 一個支援遠端的用戶端 MCP 透過串流 HTTP 和瀏覽器 OAuth。

## 步驟1：新增遠端連接

使用連線名稱\*\*`apixo-mcp`\*\*。

> [tab] Codex
>
> 跑步：
>
> ```bash theme={null}
> codex mcp add apixo-mcp --url https://mcp.apixo.ai/mcp
> ```
>
> 如果您的版本提供登入命令，請執行它來啟動瀏覽器 OAuth：
>
> ```bash theme={null}
> codex mcp login apixo-mcp
> ```
>
> 否則，透過用戶端完成登入 MCP 連接控制。如果 `codex` 無法識別，請參閱 [CLI 未找到於 PATH](https://apixo.ai/docs/zh-hant/integrations/mcp/troubleshooting.md#cli-not-found-on-path)。

> [tab] Claude Code
>
> 跑步：
>
> ```bash theme={null}
> claude mcp add --transport http apixo-mcp https://mcp.apixo.ai/mcp
> ```
>
> 開啟 `/mcp` 選單，選擇 `apixo-mcp`，然後在瀏覽器中完成 OAuth。

> [tab] Cursor
>
> 在 `mcpServers` 下新增此條目，位置為 `~/.cursor/mcp.json` 或專案的 `.cursor/mcp.json`。保留任何現有連接。
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "apixo-mcp": {
>       "url": "https://mcp.apixo.ai/mcp"
>     }
>   }
> }
> ```
>
> 開啟 **Cursor 設定 → MCP**，啟用 `apixo-mcp`，然後登入。

> [tab] 其他客戶
>
> 在用戶端的遠端 MCP 或連接器設定中，新增：
>
> | 設定 | 值 |
> | - | - |
> | 姓名 | `apixo-mcp` |
> | URL | `https://mcp.apixo.ai/mcp` |
> | 運輸 | Streamable HTTP |
>
> 啟用連接並遵循客戶端瀏覽器 OAuth 流程。檢查遠端 MCP 和 OAuth 支援的用戶端文件。

## 步驟 2：完成瀏覽器登入

請在 **apixo.ai** 登入 APIXO 帳戶並授權連線。回到 AI 用戶端，確認 `apixo-mcp` 已連線。若狀態尚未更新，可重新載入用戶端的 MCP 連線清單。

## 步驟 3：使用免費工具驗證

詢問您的代理人：

```text theme={null}
Use the apixo-mcp connection. Call list_models to list image models,
then call get_model_schema for one model returned by that list.
Call get_profile to confirm which APIXO account is connected.
Use only these three free, read-only tools. Do not create a generation.
```

這三個工具均可免費使用，只讀取資料。生成工具（`generate_image`、`generate_video`、`generate_music`、`generate_speech`、`clone_voice`、`design_voice` 和 `generate_task`）按使用量計費。使用 `get_generation` 可查詢任務狀態和結果。

對於 LLMs，呼叫 `list_models` 並指定 `integration_type: llm_gateway`，然後請求 `get_integration_guide` 並提供具體模型 ID。使用傳回的 SDK 設定從專案伺服器呼叫網關。 [Chat API](https://apixo.ai/docs/zh-hant/llm) · [官方SDK](https://apixo.ai/docs/zh-hant/llm/official-sdks.md)

## CI 和無瀏覽器環境

MCP 連線需要透過瀏覽器登入。在 CI 等無法使用瀏覽器的環境中，請從金鑰管理工具讀取 [API 金鑰](https://apixo.ai/dashboard/api-keys)，直接呼叫[生成 API](https://apixo.ai/docs/zh-hant/api-reference/generate-task.md)。如需一次提交多個任務，請使用[批次 API](https://apixo.ai/docs/zh-hant/api-reference/batch-generate.md)。

## 後續步驟

> [card] [APIXO MCP 可以做什麼](https://apixo.ai/docs/zh-hant/integrations/mcp)
>
> 瀏覽工具概述和 MCP 功能

> [card] [故障排除](https://apixo.ai/docs/zh-hant/integrations/mcp/troubleshooting.md)
>
> 修復 OAuth 與客戶端連線問題

> [card] [生成 API 參考](https://apixo.ai/docs/zh-hant/api-reference/generate-task.md)
>
> 了解您應用程式的 REST 任務流程

> [card] [瀏覽模型](https://apixo.ai/docs/zh-hant/models.md)
>
> 探索模型的功能與輸入


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.