Get 30% extra credits if you sign up todayends in --:--:--
Google · MCP clientQuickstart · 2 min

Gemini CLI × Hail

Gemini CLI and Code Assist read the same MCP config. One command registers Hail as a tool group Gemini surfaces in any agentic workflow.

Gemini CLICode Assist (VS Code · IntelliJ)

Setup

~60 seconds · no API key
01

Drop Hail into your config

Add the Hail MCP server using the snippet below. Paste it where this client expects MCP servers. The path varies, the shape doesn't.

gemini mcp add (or edit ~/.gemini/settings.json)

SHELL · Terminal
gemini mcp add --transport http --scope user hail https://mcp.hail.so
02

Click Allow. Then try it.

Reload the client. On first use it pops a browser tab. Sign in to Hail, or sign up in 30 seconds. Click Allow and tokens flow back to the client. Then send the prompt below. If a call is placed, an SMS lands, or an email shows up in the inbox view, you're done.

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.
PrivacyChat history never reaches Hail. Only tool arguments do.
ManageRevoke or manage this app at hail.so/console/apps.
Self-hostSet HAIL_API_KEY as the bearer. See docs/setup/mcp.

Hail your first call from this client.

Self-host on your own carrier or claim a managed number. Either way, your agent picks up the phone in ~120 seconds.

Get started →Client docs ↗