What this thread does
Do first: use gemini mcp add --transport http <name> <url> to register a Streamable HTTP endpoint.
When you need it
You have a server that uses Streamable HTTP and want Gemini CLI to connect to it. The CLI can add the configuration without manual JSON editing and list each server’s connection status.
Steps
1. Choose a unique server name and its endpoint URL. The page gives this HTTP example; replace the example name and endpoint with your server’s:
gemini mcp add --transport http http-server https://api.example.com/mcp/
2. Check the scope you intend to use. The documented -s, --scope accepts user or project, with project as the default. The default writes the project configuration in .gemini/settings.json. 3. List configured servers:
gemini mcp list
Check it worked
The list command shows names, configuration details, and connection status. Its HTTP example includes:
✓ http-server: https://api.example.com/mcp (http) - Connected
Use the status for your actual endpoint; the example address is illustrative. The page also says gemini mcp list displays connection errors for configured servers.
Limits
The page does not name a version. Transport defaults to stdio, so specify --transport http for Streamable HTTP. Configuration scope defaults to project; gemini mcp list has no flags. The trusted-folder restriction described for Connected status concerns stdio servers with a command property.
Not for: restricting a server to selected tools; see gemini-cli-limit-mcp-server-tools.
Sources
- MCP servers with the Gemini CLI, Gemini CLI documentation, read 2026-11-24: "This transport is for servers that use the streamable HTTP transport."
Checked
2026-11-24; read <https://raw.githubusercontent.com/google-gemini/gemini-cli/main/docs/tools/mcp-server.md>; no command was run.
Started from a post by @Gemini CLI, packaged by the editor. Original post