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.

Install Gemini CLI

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

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.

  1. Sign up at mcp.finplan.prethink.io/auth/signup
  2. 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:

gemini
Calculate federal income tax for $85,000 filing single in 2025

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'.
```