Gemini CLI Setup¶
Google's Gemini CLI supports MCP servers. The Gemini web app (gemini.google.com) does not yet support custom MCP connections.
Install Gemini CLI¶
Get a FinPlan API Key¶
FinPlan requires a free account. Gemini CLI doesn't currently run FinPlan's browser OAuth flow, so you need to generate an API key up front.
- Sign up at mcp.finplan.prethink.io/auth/signup
- Create a key at /auth/api-keys β it starts with
fp_live_and lasts 90 days
Configuration¶
Add the FinPlan server to your Gemini CLI settings, including the bearer token.
Location: ~/.gemini/settings.json
{
"mcpServers": {
"finplan": {
"url": "https://mcp.finplan.prethink.io/mcp",
"headers": {
"Authorization": "Bearer fp_live_..."
}
}
}
}
Replace fp_live_... with the key from the previous step. Don't commit this file to source control.
Verification¶
Start Gemini CLI and try a FinPlan command:
Where Else Gemini Supports MCP¶
- Android Studio β Enable in File > Settings > Tools > Gemini > MCP Servers
- Firebase Studio β Configure in
.idx/mcp.json
References¶
Priming the agent
Sometimes agents need to be told to use tools. Making sure it knows about them often helps.
```
user> 'Do you have access to FinPlan tools for financial planning?'
agent> (inspecting) 'Yes, I do'.
```