diff --git a/src/pages/dashboard/Endpoints.tsx b/src/pages/dashboard/Endpoints.tsx index 99ec3af..6a7fa03 100644 --- a/src/pages/dashboard/Endpoints.tsx +++ b/src/pages/dashboard/Endpoints.tsx @@ -39,6 +39,8 @@ export default function Endpoints() { }, }, null, 2); + const codexToml = `[mcp_servers.odoo-mcp]\nurl = "${MCP_URL}?api_key=${apiKey || 'your-api-key-here'}"\n`; + return (
+ Add this to your Codex config (~/.codex/config.toml, or a project-level .codex/config.toml):
+
{codexToml}
+
+
+ Each [mcp_servers.<name>] block defines one MCP server. Codex accepts the API key directly as a ?api_key= query param on the URL — no separate headers section needed. Restart Codex after saving for it to pick up the new server.
+