Skip to content
Gemini CLI

Xata for Gemini CLI

io.github.xataio/mcp

Xata MCP server lets AI agents interact with your Xata projects, and Postgres database branches.

client:Gemini CLI transport:streamable-http

Install Xata in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://api.xata.tech/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Xata in other clients