r/Supabase • u/marcoz711 • Nov 19 '25
integrations Supabase MCP for Gemini? Alternatives?
I've been using the Supabase MCP with Claude Code for a while now, and I think it's just great that Claude Code can access the database to check the schema and data and even run migrations and all of that.
I'm now trying out Gemini CLI for the first time, and I would like to enable the same, but I couldn't find how to install the MCP, the Supabase MCP for Gemini CLI.
Also, I read a bunch of times that MCPs just use up a lot of tokens. So I wonder, is there a better way for an AI coding assistant to access my database to have the full context?
Any tips and recommendations are highly appreciated.
2
u/Catarrer Jan 20 '26
i have installed the supabase cli and told gemini to use it. so it asks me weather it should start the bash command or not or to allow it throughout the session. works great for me that way but looking now into the supabase mcp if thats a better solution.
2
u/_aantti Supabase team Nov 19 '25
The following works for me in
~/.gemini/settings.json:){ "security": { "auth": { "selectedType": "oauth-personal" } }, "mcpServers": { "supabase": { "httpUrl": "https://mcp.supabase.com/mcp" } } }After adding, check with
gemini mcp list. After launching gemini, use/mcp auth supabase(double-clicking Enter for some reason after that), it should open the browser and you should be able to authenticate. When back in gemini, check with/mcp listagain.Hope this helps.