settings.json, under an
mcpServers object.
Add the connector
settings.json:
The key is
httpUrl, not url. Gemini CLI uses httpUrl for the
streamable HTTP transport and url for legacy SSE endpoints. HeyMCP serves
streamable HTTP, so httpUrl is the one you want.With a bearer token
If you shared with--bearer:
timeout is also accepted if a tool of yours is slow enough to need it.
Check it connected
Start the Gemini CLI and confirm your tools are listed. In the HeyMCP inspector you should see handshake rows fingerprinted as Gemini.It’s not showing up
The server is ignored entirely
The server is ignored entirely
Almost always
url where it should be httpUrl, or a JSON syntax error in
settings.json.Nothing in the HeyMCP inspector
Nothing in the HeyMCP inspector
Gemini never reached the edge. Check the URL and that
heymcp share is
still running.401 in the inspector
401 in the inspector
The
headers block is missing, or the token doesn’t match --bearer.