# 在 Codex 中安装 threefold

连接到 `https://api.threefold.eco/mcp`。身份验证及实际支持情况取决于客户端；当前的设置方法和替代方案请参阅[安装指南](https://threefold.eco/docs/install.md)。

## Codex 设置

`~/.codex/config.toml`：

```toml
[mcp_servers.threefold]
url = "https://api.threefold.eco/mcp"
```

如有密钥，请将 `http_headers = { "Authorization" = "Bearer tf_live_your_key" }` 添加到同一部分。

对应的代码库插件内置技能；详情请参阅[智能体安装](https://threefold.eco/docs/install.md)。

如果 `npx threefold` 提示软件包不存在，请改用这些针对各客户端的设置。托管服务器无法读取本地代码库文件；如需本地检查，请使用本地 stdio 或 CLI。
