Gemini CLI httpUrl or url for Sume: streaming HTTP versus SSE
In Gemini CLI, httpUrl is for streaming HTTP and url is for SSE. Sume's hosted endpoint is a streamable HTTP server, so use httpUrl with the production URL.

Use httpUrl. Gemini CLI's MCP docs say httpUrl is for a streaming HTTP endpoint and url is for Server-Sent Events. Sume's quickstart describes the hosted endpoint as a streamable HTTP MCP server at https://mcp.sume.com/mcp, so httpUrl is the matching key. Put the URL in the server's entry under mcpServers in your Gemini settings.
The settings that matter
The Gemini column is from its own docs page. The transport description is from the quickstart. The OAuth flow is started in the CLI with /mcp auth, and Sume's consent page lives on the MCP host.
| Setting | What it does | For Sume |
|---|---|---|
| httpUrl | Streaming HTTP endpoint | Use with https://mcp.sume.com/mcp |
| url | SSE endpoint | Not the hosted Sume transport |
| timeout | Default 600,000 ms | Far above Sume's 55 second wait |
| trust | true bypasses confirmations; default false | Leave false for paid tools |
| includeTools / excludeTools | Allow or block tools by name; exclude wins | Hide paid generators |
Common mistakes
Putting the URL under url makes the client try an SSE connection to an endpoint that speaks streamable HTTP, and that mismatch is the first thing to rule out if the server will not connect. Another is pointing at the dev host, which is for Sume development only.
After connecting, ask the agent to call mcp_health and tools_list. If the tool list is short, the session is probably read-only, since OAuth mcp:read hides write and paid tools.
- Check the key name first:
httpUrl, noturl. - Leave
trustoff while you are testing. - Use
mcp_healthto confirm the auth source.
The tradeoff
The 600,000 ms default means Gemini CLI itself will not cut off a Sume wait, so the 55-second server cap is the real limit. You still loop in short slices. Setting a lower per-server timeout would make Gemini fail faster on a hung call, at the cost of cutting off slow but healthy ones.
If you need to test the connection from the command line before you configure anything, the quickstart's first calls are the same for every client: mcp_health, tools_list, tools_schema and account_me. All are reads, so none of them spend credits, and a clean answer from them means the transport key is right.
Sources
Related posts
More in Integrations
- Gemini CLI trust: true removes the prompt; what guards Sume spend
With trust: true, Gemini CLI stops confirming a server's tool calls. For Sume the guards left are idempotency_key, wallet admission and your max_spend_usd.
- GitHub Actions repository variable for the image model id: no commit
Keep the Sume image model id in a GitHub Actions repository variable, so a gpt-image-1 replacement is a settings change or one gh command, not a pull request.
- Haystack MCPTool with StreamableHttpServerInfo and Sume MCP
Connect Haystack to Sume's hosted MCP with MCPTool and StreamableHttpServerInfo: a url, an Authorization header, one tool per MCPTool, and what to call first.
- Intercom outbound message with a Sume avatar clip: email or in-app
Intercom's create-message API sends in_app, email or whatsapp with an HTML or plain body. It documents no video field, so link a Sume clip. How to set it up.
Written by Sume