30% extra credits on top-ups within 24 hours of signup.

Connect Gemini CLI to Hail over MCP

Gemini CLI and Code Assist read the same MCP config. Run one command to add the Hail tools to Gemini.

Works in Gemini CLI and Code Assist (VS Code and IntelliJ).

Setup

1

Add Hail to Gemini CLI

Add the Hail MCP server with the snippet below. Run gemini mcp add, or edit ~/.gemini/settings.json.

Terminal
gemini mcp add --transport http --scope user hail https://mcp.hail.so
2

Approve access and send a test prompt

Reload the client. On first use, the client opens a browser tab. Sign in to Hail or create an account. Click Allow. Then send the prompt below. The setup works if Hail places the call or sends the message.

gemini "use hail to call dr. allen's office and reschedule"

Notes

OAuthAuto-discovered on the 401. Re-auth with /mcp auth hail.
JSON keyUse httpUrl. The url key selects SSE, the wrong transport.
Scope--scope user: all projects. Default: this project only.
Code AssistReads the same ~/.gemini/settings.json. JSON edit only.
CallbackUses localhost:7777. Keep that port free.
PrivacyHail does not receive chat history. Hail receives only tool arguments.
ManageRevoke or manage this app at hail.so/console/apps.
Self-hostSet HAIL_API_KEY as the bearer. See docs/mcp.

Place your first call from Gemini CLI

Self-host with your own carrier, or use a managed number from Hail.

Create accountRead the Gemini CLI MCP docs