跳轉到主要內容

Documentation index: fetch the complete documentation index at /docs/llms.txt. Use this file to discover all available pages before exploring further.

用戶端

Flowstep MCP — Codex

使用 Streamable HTTP MCP 傳輸方式,將 Flowstep 連接到 OpenAI Codex。

設定

使用 Codex CLI 新增伺服器:

codex mcp add flowstep --url https://api.flowstep.ai/mcp

或直接編輯設定檔。若要在所有地方啟用,請使用全域檔案;若要將其限定於特定範圍,請使用專案檔案(僅限受信任的專案)。

[mcp_servers.flowstep]
url = "https://api.flowstep.ai/mcp"

只要設定了 url,Codex 就會自動選用 Streamable HTTP 傳輸方式,無需傳輸欄位。

驗證

執行:

codex mcp login flowstep

Codex 會在瀏覽器中開啟 https://api.flowstep.ai/oauth/authorize。請使用你的 Flowstep 憑證登入(電子郵件/密碼或 Google SSO),然後在授權畫面點擊 Allow。Codex 會接收回呼並儲存權杖。

連接前你需要一個 Flowstep 帳號。請在 app.flowstep.ai 建立。

驗證連線

codex mcp list

伺服器應會顯示其 OAuth 狀態。在 Codex 工作階段中,輸入 /mcp 以查看已連接的伺服器,然後詢問:

List my Flowstep files

若工具呼叫成功,表示連線正常。

使用範例

Generate a mobile payment screen in Flowstep with a card form and an order summary,
then show me the rendered image.

Codex 會呼叫 ai-design-screens → get-screen-image,並顯示結果。

這個頁面有幫助嗎?