开站

用 Codex / Claude Code 连接你的网站

点一下「复制给我的 AI」贴进聊天框就接上;也可以一条命令 + 浏览器点「允许」;Codex 接不上看这里

On this page

所有 DlxAi 网站共用一个 MCP 地址:https://mcp.dlxai.ai/mcp,按钥匙认出是哪个站。你网站自己的 https://你的网站/mcp 也照样能用。

最简单:复制给我的 AI

  • 后台「Agent API」页第一块,点「复制给我的 AI」(会签一把 90 天有效的钥匙,并复制一段话)
  • 把这段话贴进 Claude Code 或 Codex 的聊天框,AI 会自己把自己接上(Claude Code 跑 claude mcp add;Codex 写 ~/.codex/config.toml,Windows 是 %USERPROFILE%\.codex\config.toml)
  • AI 没权限改配置时,会把一行命令完整交给你:贴到电脑的终端里回车(Mac 是「终端」,Windows 是 PowerShell,AI 会按你的系统给对应那一行),然后重启 Codex
  • 接上后它会报出你的网站名称

不用钥匙:浏览器授权

命令要贴在电脑的终端里,不是聊天框。

  • Codex:codex mcp add dlxai --url https://mcp.dlxai.ai/mcp → 浏览器自动打开 → 填你的网站地址 → 登录后台、点「允许」→ 回到 Codex 输入 /mcp,看到 dlxai 就接上了
  • Claude Code:claude mcp add --transport http dlxai https://mcp.dlxai.ai/mcp → 打开 claude 输入 /mcp → 选 dlxai → Authenticate → 浏览器里填你的网站地址、登录、点「允许」

接不上?

  • Codex 说改不了配置:让它把那一行交给你,你贴到终端里
  • 浏览器页面说认不出网站:填你在 DlxAi 开的网站地址,例如 yourshop.dlxai.ai,或你绑的自有域名
  • 服务器上没有浏览器:用「复制给我的 AI」那把钥匙,或后台「进阶:用密钥接入」
  • 钥匙认不出是哪个站:确认钥匙是这个站后台签的、没被删;也可以改用你网站自己的地址
Last updated: October 4, 2026
Still stuck? Just ask

Write your question — we look in the docs first, and hand it to AI support if the answer is not there.

If you have connected an AI, you can ask it directly — it reads these same docs, and it can make the change for you.Or email us at support@dlxai.ai。
We use essential cookies; "Accept" also records device traits to prevent abuse. Cookie Policy