Skip to content

Gemini CLI Setup

Google’s Gemini CLI supports MCP servers. The Gemini web app (gemini.google.com) does not yet support custom MCP connections.

Terminal window
npm install -g @google/gemini-cli@latest

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.

  1. Sign up at mcp.finplan.tools/auth/signup
  2. Signing up (or clicking the link in your confirmation email) opens a page showing your first key — copy it then. It starts with fp_live_ and lasts 90 days. To get another key later, sign in at /auth/login and click Generate New Token; if you’re at the 5-key limit, revoke an unused key in the list on that page first

Add the FinPlan server to your Gemini CLI settings, including the bearer token.

Location: ~/.gemini/settings.json

{
"mcpServers": {
"finplan": {
"url": "https://mcp.finplan.tools/mcp",
"headers": {
"Authorization": "Bearer fp_live_..."
}
}
}
}

Replace fp_live_... with the key from the previous step. Don’t commit this file to source control.

Start Gemini CLI and try a FinPlan command:

Terminal window
gemini
Calculate federal income tax for $85,000 filing single in 2026
  • Android Studio — Enable in File > Settings > Tools > Gemini > MCP Servers
  • Firebase Studio — Configure in .idx/mcp.json