ScreenTapDocs
PricingSupportBack to site

Getting started

  • How it works
  • Installation
  • First-time setup

Connect your agent

  • Overview
  • Claude Code
  • Claude Desktop
  • Cursor
  • Codex
  • Windsurf
  • VS Code
  • Gemini CLI
  • Other clients

Using ScreenTap

  • Giving tasks
  • Tools

Account

  • License & billing
  • Privacy

Help

  • Troubleshooting
Docs / Gemini CLI⌄

Getting started

  • How it works
  • Installation
  • First-time setup

Connect your agent

  • Overview
  • Claude Code
  • Claude Desktop
  • Cursor
  • Codex
  • Windsurf
  • VS Code
  • Gemini CLI
  • Other clients

Using ScreenTap

  • Giving tasks
  • Tools

Account

  • License & billing
  • Privacy

Help

  • Troubleshooting
← PreviousVS CodeNext →Other clients

Connect your agent

Set up Gemini CLI

Add the server URL to settings.json.

  1. 1

    Open ScreenTap

    The MCP server runs while the ScreenTap app is open.

  2. 2

    Add ScreenTap

    Edit ~/.gemini/settings.json and add this. Gemini CLI calls the field httpUrl.

    ~/.gemini/settings.json
    {
      "mcpServers": {
        "screentap": { "httpUrl": "http://127.0.0.1:47811/mcp" }
      }
    }
  3. 3

    Check it's connected

    Start Gemini CLI and run /mcp. ScreenTap and its tools should be listed. Then try:

    Prompt
    Take a screenshot of my iPhone and tell me what's on screen.

Not working?

Check that the ScreenTap app is open and your iPhone is connected, then restart your agent or start a new session. More fixes in Troubleshooting.