Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

Connect Codex ​

Codex connects to WeWeb through a Streamable HTTP server added in its settings. The server is available at:

https://ai-api.weweb.io/v1/mcp

Add the server ​

Follow along in the guide above, or use these steps:

  1. Open your profile menu in Codex and click Settings.
  2. Click Settings again to open Codex settings.
  3. Click MCP servers.
  4. Click Add server.
  5. Name the MCP WeWeb.
  6. Select Streamable HTTP.
  7. Copy the MCP URL from this page:
https://ai-api.weweb.io/v1/mcp
  1. Paste the URL into the URL field in Codex.
  2. Click Save.
  3. Click Authenticate, then sign in to WeWeb and approve access when prompted.

Using the Codex CLI ​

If you work in the terminal, you can register the same server with one command:

bash
codex mcp add WeWeb --url https://ai-api.weweb.io/v1/mcp

Codex then asks you to sign in. If it doesn't, run codex mcp login WeWeb and finish signing in to WeWeb in your browser.

CONTINUE LEARNING

Codex can now call WeWeb tools. Each tool is a single action the agent can run, such as creating a page or adding a table.

See all available tools →