> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.faaaster.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I connect Codex to the Faaaster MCP server?

Codex adds Faaaster as a remote MCP server (**Streamable HTTP**), then you authorize it with your Faaaster account, with no API key. The ChatGPT desktop app, which now includes Codex, the IDE extension and the Codex CLI share the same configuration: add the server once, from whichever one you prefer.

> **Server address**: `https://mcp.faaaster.io/mcp`
>
> To limit the agent to a single site, use **This site's address** instead, copied from the site's **AI / MCP** tab. Required roles, approvals and the agent's WordPress identity: [How do I manage my Faaaster sites from my own AI agent?](https://help.faaaster.io/en-us/article/mcp-server-1t6puln/)

## From the ChatGPT app or the IDE extension

1. Open the settings: **Settings** in the ChatGPT app, the gear menu in the IDE extension.
2. Select **MCP servers**, then **Add server**.
3. Name the server, for example `faaaster`, choose **Streamable HTTP** and enter `https://mcp.faaaster.io/mcp` as the address.
4. Save, then select **Restart** in the app, or **Restart extension** in the IDE extension.
5. In the server list, select **Authenticate** for `faaaster`. Your browser opens the Faaaster sign-in page: sign in and authorize access.

To check, ask in a Codex conversation: "List my Faaaster sites."

## From the Codex CLI

1. Add the server:

   ```bash
   codex mcp add faaaster --url https://mcp.faaaster.io/mcp
   ```

   To target a single site, use that site's address instead, in quotes: it contains `?` and `&`, which the terminal would interpret.
2. Sign in:

   ```bash
   codex mcp login faaaster
   ```

   Your browser opens the Faaaster sign-in page. On a machine without a browser, over SSH for example, add `--no-browser`: open the printed address in a browser, sign in, then paste the full redirect address back into the terminal, even if that page doesn't load.
3. Check with `codex mcp list`, then ask in a `codex` session: "List my Faaaster sites."

## Authenticate again

- **App or IDE extension**: in the **MCP servers** list in the settings, select **Authenticate** for `faaaster`.
- **CLI**: `codex mcp login faaaster`.

## Revoke access

- `codex mcp logout faaaster` removes the OAuth credentials stored for Faaaster.
- `codex mcp remove faaaster` deletes the server from the configuration, so also from the app and the extension, which share it.

To cut access on the Faaaster side, whatever the agent, see the **Cut access** section of the article on the Faaaster MCP server.

## OpenAI documentation

- [Model Context Protocol (Codex)](https://learn.chatgpt.com/docs/extend/mcp)
- [Codex CLI commands](https://learn.chatgpt.com/docs/developer-commands?surface=cli)