Connect
Connect Gemini CLI
Add Filmo to Gemini CLI with OAuth, or with a key kept in your user settings file.
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 gemini mcp add or settings.. Admins can restrict servers with mcp. in the system settings file. |
| Who connects | /mcp auth filmo for OAuth (it needs a browser: not on a headless machine). |
| Administration | mcp. and includeTools in the system settings. |
verified on 2026-10-09: MCP servers in Gemini CLI
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
Run
gemini mcp add --transport http filmo https://.app. filmo. io /api /v1 /mcp Authenticate
Run
/mcp auth filmoin a session. The 401 triggers discovery and dynamic registration; consent in Filmo.
- How Gemini CLI uses the
scopeof a 401 challenge: not documented by the vendor.
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 keyUse the user file
Edit
~, never the project file/. gemini /settings. json ., which is the default scope ofgemini /settings. json gemini mcp addand can go to git.Replace the placeholder
Gemini CLI's documentation expands
$VARonly in theenvblock, not inheaders, so the key lives in that user-level file only.
{
"mcpServers": {
"filmo": {
"httpUrl": "https://app.filmo.io/api/v1/mcp",
"headers": {
"Authorization": "Bearer <your-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 | A tool output limit: not documented by the vendor. |
| Time | timeout per server, 600,000 ms by default. |
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. Combine it with includeTools to list only what you need, 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”Gemini CLI offers proceed once, always allow tool, always allow server, or cancel. trust: true skips confirmations for a server: do not set it for Filmo. includeTools and excludeTools limit the tools.
The tools that must ask for approval are in Safe writes.
- Any use of tool annotations for approval: 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?