Connect Codex to FoundationX
Set up in minutes
Choose where it runs
On your computer through your own Codex, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in FoundationX
A preset of real FoundationX operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect FoundationX
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your Codex first calls in. Codex connects when a session starts — run codex, or restart a running one (in the Codex app, Restart).
Run this in your terminal. The Codex app shares its config, so it gets the server too
<your-link> is your personal server URL — setup mints it for you.
Tools Codex gets
FoundationX
12 toolsList the projects available to the connected organization.
Create a project with its language, description and optional chat settings.
Update generation and embedding settings for an existing project.
List conversations within a project.
Read a page of messages in a conversation.
Create a named conversation in a project.
Send a message and return FoundationX's reply data.
Fetch a single message by conversation and message ID.
Permanently delete a conversation.
List sources available to the connected API key.
Read ingestion status for one or more source IDs.
Retrieve the text extracted from a source.
About Codex
Frequently asked questions
More ways to connect
More tools for Codex
Use FoundationX with other agents
Open your Codex agent in one click.
NoClick runs Codex for you with FoundationX wired in as tools. Connect your account and run.