What happened?
$ gemini -v
0.35.3
$ gemini mcp add -t http -H "Authorization: token redacted" -s project test-remote https://example.com/mcp
Loaded cached credentials.
MCP server "test-remote" added to project settings. (http)
$ gemini mcp list
Loaded cached credentials.
No MCP servers configured.
Note that the .gemini/settings.json file is correctly created:
{
"mcpServers": {
"test-remote": {
"url": "https://example.com/mcp",
"type": "http",
"headers": {
"Authorization": "token redacted"
}
}
}
}
What did you expect to happen?
Gemini CLI should list the MCP server defined in the project settings.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
│ CLI Version 0.35.3 │
│ Git Commit 52d103469 │
│ Model Auto (Gemini 2.5) │
│ Sandbox no sandbox │
│ OS darwin │
│ Auth Method Signed in with Google (redacted@google.com) │
│ Tier Gemini Code Assist │
│ GCP Project redacted
Login information
No response
Anything else we need to know?
No response
What happened?
Note that the
.gemini/settings.jsonfile is correctly created:{ "mcpServers": { "test-remote": { "url": "https://example.com/mcp", "type": "http", "headers": { "Authorization": "token redacted" } } } }What did you expect to happen?
Gemini CLI should list the MCP server defined in the project settings.
Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.Login information
No response
Anything else we need to know?
No response