Codex(OpenAI)

更新时间:2个季度前 · 预计阅读 1 分钟

Codex 是 OpenAI 面向 ChatGPT Plus 用户推出的自主软件工程 Agent,支持通过 TOML 配置文件接入 MCP 服务器。

配置#

添加到 ~/.codex/config.toml:

toml
[mcp_servers.lingo]
command = "npx"
args = ["mcp-remote", "https://mcp.lingo.dev/main"]

无需 API 密钥。

使用方法#

向 Codex 输入:

Set up i18n

也可以提前指定 locale:

Set up i18n with the following locales: en, es, and pt-BR. The default locale is "en".

Codex 会调用 i18n_checklist 工具,并按引导步骤完成整个流程——分析你的项目、获取框架文档,并实现 locale 路由、翻译配置和语言切换器。

下一步#