An MCP server that enables browser control agents to plan and execute UI tasks using Gemini Computer Use.
SaferSkills independently audited gemini-computer-use-mcp (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP (Model Context Protocol) server for building browser-control agents using Gemini Computer Use. This project enables agents to plan and perform UI actions in a browser.
run_browser_task) to instruct a browser to perform a high-level task using the Gemini Computer Use model.@google/genai for planning and executing computer-use steps.Learn more about Gemini Computer Use in the official docs: Gemini Computer Use
run_browser_taskThis project runs as an MCP server. It's typically invoked by an MCP client or controller.
Point your MCP client to this server's executable. If your client supports a config file, use the following configs:
#### stdio Mode
// .mcp.json
{
"mcpServers": {
"gemini-computer-use": {
"type": "stdio",
"timeout": 300,
"command": "npx",
"args": ["--yes", "gemini-computer-use-mcp@latest"],
"env": {
"VERTEX_PROJECT_KEY": "vertex-project-key"
}
}
}
}# ~/.codex/config.toml
tool_timeout_sec = 300
[mcp_servers.gemini-computer-use]
command = "npx"
args = ["--yes", "gemini-computer-use-mcp@latest"]
[mcp_servers.gemini-computer-use.env]
VERTEX_PROJECT_KEY = "vertex-project-key"#### SSE Mode
Start server with:
VERTEX_PROJECT_KEY=vertex-project-key npx --yes gemini-computer-use-mcp@latest --serverThen add:
// .mcp.json
{
"mcpServers": {
"gemini-computer-use": {
"type": "sse",
"timeout": 300,
"url": "http://localhost:8888/sse"
}
}
}#### Streamable HTTP Mode
Start server with:
VERTEX_PROJECT_KEY=vertex-project-key npx --yes gemini-computer-use-mcp@latest --serverThen add:
// .mcp.json
{
"mcpServers": {
"gemini-computer-use": {
"type": "http",
"timeout": 300,
"url": "http://localhost:8888/mcp"
}
}
}# ~/.codex/config.toml
tool_timeout_sec = 300
[mcp_servers.gemini-computer-use]
url = "http://localhost:8888/mcp"| Variable | Description | Required | Default |
|---|---|---|---|
VERTEX_PROJECT_KEY | Vertex AI project key (preferred over GEMINI_API_KEY) | Yes, unless GEMINI_API_KEY is set | |
GEMINI_API_KEY | Your Gemini API key | Yes, unless VERTEX_PROJECT_KEY is set | |
MODEL | The model ID to use | No | gemini-2.5-computer-use-preview-10-2025 |
PROJECT_PATH | Filesystem path used by some tools (defaults to current working directory) | No | (current working directory) |
PORT | Server port to use (only for streamable HTTP) | No | 8888 |
Note: Either GEMINI_API_KEY or VERTEX_PROJECT_KEY must be provided (see src/helpers/config.ts).
Once connected, the client can invoke the tools provided by this server.
#### run_browser_task
| Argument | Description | Required | Default |
|---|---|---|---|
task | The high-level task to perform | Yes |
This tool leverages Gemini Computer Use to plan and perform UI actions to accomplish the provided task. It implements:
localhost:9222 or starts a new instanceSee the official guidance for capabilities and safety considerations: Gemini Computer Use.
npm installGEMINI_API_KEY or VERTEX_PROJECT_KEY. Optionally set MODEL and PROJECT_PATH../run in your terminalThis project is licensed under the MIT License - see the LICENSE file for details. Copyright (c) 2025 Khoa Nguyen
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.