Connect
Connect OpenAI Codex
Add Filmo to Codex (CLI and IDE) with OAuth or with an API key read from an environment variable.
Before you start
Link to this section: Before you start| What | What the vendor documents |
|---|---|
| Plan | Plans: not documented by the vendor. |
| Who adds the connector | You, with codex mcp add or config.. Workspace admins can restrict servers with managed requirements. |
| Who connects | codex mcp login filmo for OAuth. |
| Administration | The enterprise mcp_servers requirement. |
verified on 2026-10-09: MCP in Codex · Configuration reference
Use exactly this URL
Type https:// exactly. Do not use the Filmo domain of your company or any other host: the OAuth metadata names this origin, and a client that compares it with what you typed rejects a different one.
Connect with OAuth
Link to this section: Connect with OAuthAdd the server
Add the entry with only
url(see the file below withoutbearer_token_env_var).Log in
Run
codex mcp login filmo; the browser opens Filmo's consent screen.
- If the server advertises
scopes_supported, Codex prefers those scopes during login; otherwise it uses the scopes inconfig.. Filmo's resource metadata advertises every scope: choose in the consent screen.toml - By default Codex uses a client metadata document when the server supports it and dynamic registration otherwise.
The consent screen
Link to this section: The consent screen- Only the
*:readscopes the client asked for are checked (every read scope when it asks for none). - Write scopes,
workflows:runandai:askalways start unchecked, even if the client asks for them; the ones it asked for carry the label “Requested by the integration”. - Check by hand only what the assistant needs, and leave
ai:askunchecked unless you want it to spend AI credits.
To change the scopes later, remove the connector and add it again.
Before you approve, read Authentication.
Connect with an API key
Link to this section: Connect with an API keyExport the key
Set
FILMO_API_KEYin the environment Codex starts from.Name the variable
bearer_token_env_varholds the name of the variable, never its value.
[mcp_servers.filmo]
url = "https://app.filmo.io/api/v1/mcp"
bearer_token_env_var = "FILMO_API_KEY"Keep the key out of the repository
Never paste an API key into a file that goes to version control. The examples read it from the environment or ask for it; if one leaks, revoke it and create another.
Limits of this client
Link to this section: Limits of this client| What | What the vendor documents |
|---|---|
| Tools | A limit on the number of tools: not documented by the vendor. |
| Output | output_token_limit per tool, and tool_output_token_limit for what goes into history. |
| Time | tool_timeout_sec is 60 by default: raise it for filmo_ai_ask, which can take tens of seconds. |
Recommended preset
Link to this section: Recommended presetRental operations (21): orders:read, orders:write, availability:read, items:read, contacts:read, account:read. It includes the order writes, cancelling included: pair it with the approval mode below, or pick a preset marked (read).
Every preset and its size are in Limits and context.
What to put on “ask before running”
Link to this section: What to put on “ask before running”default_tools_approval_mode accepts auto, prompt, writes and approve; writes prompts for tools not marked read-only. Per tool: approval_mode.
The tools that must ask for approval are in Safe writes.
- Scope step-up and listing tools again after login: not documented by the vendor.
Check the connection
Link to this section: Check the connectionAsk the assistant: “Which Filmo account am I connected to?” It should call filmo_account_get, a read tool that returns no personal data.
Related pages
Link to this section: Related pagesIntroduction
MCP quickstart
Connect one assistant, check it with a read tool and choose the scopes it needs.
Access
Authentication and permissions
Authenticate with an API key in a header, or let the client sign in with OAuth 2.1. Either way the scopes decide which tools exist.
Guides
Safe writes
An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.
Was this page helpful?