[](https://www.npmjs.com/package/@google/genai) [![Node
Connect Genai to Claude, Cursor or any other MCP client and it stops being a tab you switch to. . The genai mcp server is what makes that connection.
The Google Gen AI SDK is designed to work with Gemini 2.0+ features.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Browser — The Browser tool exposed by this serverStreaming — For quicker, more responsive API interactions use the generateContentStream method which yields chunks as they're generated:Content — The Content tool exposed by this serverPart — Parts will be aggregated on a singular Content, with role 'user'Configuration is passed through the environment: GOOGLE_API_KEY, GOOGLE_GENAI_USE_ENTERPRISE, GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_LOCATION, GEMINI_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
Plenty of browser automation servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Genai's toolset — Browser, Streaming, Content and 1 more — is a fair guide to whether it matches your workflow. It is maintained by google-wombot; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Browser | The Browser tool exposed by this server. |
| Streaming | For quicker, more responsive API interactions use the generateContentStream method which yields chunks as they're generated: |
| Content | The Content tool exposed by this server. |
| Part | Parts will be aggregated on a singular Content, with role 'user'. |
{
"mcpServers": {
"genai": {
"command": "npx",
"args": ["-y", "@google/genai"],
"env": {
"GOOGLE_API_KEY": "your-value",
"GOOGLE_GENAI_USE_ENTERPRISE": "your-value",
"GOOGLE_CLOUD_PROJECT": "your-value",
"GOOGLE_CLOUD_LOCATION": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| GOOGLE_API_KEY | Credential the server authenticates with. | Yes |
| GOOGLE_GENAI_USE_ENTERPRISE | Configuration value read at startup. | Optional |
| GOOGLE_CLOUD_PROJECT | Configuration value read at startup. | Optional |
| GOOGLE_CLOUD_LOCATION | Configuration value read at startup. | Optional |
| GEMINI_API_KEY | Credential the server authenticates with. | Yes |
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
Industrial-strength web extraction — render, scrape, crawl and search entire sites into clean markdown.
The original Chromium automation reference server — simple, screenshot-driven browser control.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Puppeteer-powered browser control that drives pages from the accessibility tree instead of pixels.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.