Skip to main content

What You Need

  • A LanderLab account.
  • Gemini CLI installed on your machine. See the Gemini CLI documentation for installation instructions.
Note: This guide covers Gemini CLI only. The Gemini web app at gemini.google.com does not currently support connecting to external MCP servers.

Step 1: Open the Config File

Gemini CLI stores MCP server configuration in a settings file. Open or create:

Step 2: Add the LanderLab Server

Add the following to your settings.json file. If the file already has content, add the landerlab block inside the existing mcpServers object.
No API key and no headers are needed.

Step 3: Sign In

Restart your terminal session and run:
Your browser opens a LanderLab sign-in page. Log in, review the access request, and click Authorize. Return to the terminal once it confirms.

Verify the Connection

Start a new session and ask:
Gemini CLI will call workspaces_list and return your results.

Example Prompts

  • “List all my landers and their publish status”
  • “Show analytics for lander X over the last 7 days”
  • “Unpublish lander X”
  • “Show all leads from workspace 1”

Troubleshooting

LanderLab tools not available - Check that the JSON in your settings.json is valid (no missing commas or brackets). Confirm the file is saved at ~/.gemini/settings.json and restart Gemini CLI. Server listed but not authenticated - Run /mcp auth landerlab again. If the browser does not open, copy the URL printed in the terminal. 401 Unauthorized - Your session expired or access was revoked in LanderLab. Re-run the auth command. Migrating from the API key setup - Remove the headers block and the old url value, then follow Step 2.