Latchshot for Gemini CLI
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Latchshot for Gemini CLIcapture https://example.com as a png and report byte count and render time"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Latchshot for Gemini CLI
Give Gemini CLI two bounded tools for public-page artifacts without installing a browser locally:
capture_pagereturns a PNG, JPEG, or PDF plus render diagnostics.get_usagereads the current plan and successful-render allowance without consuming quota.
The extension contains no executable code, hooks, commands, skills, agents, or always-on prompt content. It connects Gemini CLI directly to Latchshot's hosted MCP Streamable HTTP endpoint. Gemini CLI stores the API key as a sensitive extension setting and injects it only into the fixed authorization header.
Requirements
Gemini CLI 0.51.0 or newer.
A recurring Free-plan Latchshot key. The Free plan includes 100 successful renders per UTC calendar month and requires no credit card.
Install
Install the extension from its public GitHub repository:
gemini extensions install https://github.com/BaiqingL/latchshot-gemini-cliReview the manifest when Gemini CLI asks for consent, then enter the Latchshot API key at the configuration prompt. The manifest marks the key as sensitive so Gemini CLI stores it through its secure extension-settings path. Do not pass --skip-settings.
Restart Gemini CLI, then run /extensions list or this terminal command:
gemini extensions listThe Latchshot server should expose capture_page and get_usage. To replace the key later, run:
gemini extensions config latchshot "Latchshot API key"Example
Ask Gemini:
Use Latchshot to capture https://example.com as an 800 by 450 PNG. Report the byte count, render time, navigation state, fonts state, scripts state, and remaining quota.
A controlled integration check should use a disposable key and one public, non-sensitive URL. Artifact size and render time vary by page.
Boundaries
Public HTTP and HTTPS targets on ports 80 and 443 only.
Private, loopback, link-local, metadata, credential-bearing, mixed public/private DNS, and non-web-port targets are rejected.
No cookies, sessions, arbitrary scripts, CAPTCHA solving, proxy rotation, or anti-bot bypass.
The extension exposes no payment or plan-upgrade tool. Failed direct captures do not consume quota, and automatic overages are disabled.
Target pages can observe a browser visit from Latchshot infrastructure. Capture only pages you are authorized to use.
Validate
npm test
npx --yes @google/gemini-cli@0.51.0 extensions validate .The repository uses the gemini-cli-extension GitHub topic so it can be automatically indexed by Gemini CLI's daily gallery crawler after publication and validation. Direct installation from GitHub does not depend on gallery listing. No Google approval, affiliation, or gallery acceptance is claimed.
The repository is MIT licensed. The hosted Latchshot service remains a separate proprietary, quota-metered product.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BaiqingL/latchshot-gemini-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server