← All guides

Google · Coding agent

Use PixelMCP in Gemini CLI

Connect PixelMCP to Google's Gemini CLI.

Before you start: Gemini CLI installed (npm install -g @google/gemini-cli). You'll also need a PixelMCP account. Get 100 free credits
  1. 1

    Add the server

    Run:

    gemini mcp add --transport http pixelmcp https://pixelmcp.com/mcp
  2. 2

    Or edit settings

    Equivalent entry in ~/.gemini/settings.json (or .gemini/settings.json in a project):

    {
      "mcpServers": {
        "pixelmcp": {
          "httpUrl": "https://pixelmcp.com/mcp"
        }
      }
    }
  3. 3

    Sign in

    Start gemini, run the auth command and approve access in your browser:

    /mcp auth pixelmcp

Things to try

  • “Make a 16:9 social card for our README announcing v2.0.”

Menus change often. If a label here doesn't match what you see, look for “Connectors”, “MCP” or “Integrations” in Gemini CLI's settings, or check Google's docs.