# Gemini Hub

> Gemini Hub is an open-source MCP server for ai models and llm tooling. Local bridge that shares context between Antigravity IDE and Gemini via Google Drive. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Chrome extension, macOS, Windows, Linux, API, Self-hosted
- **Website:** https://qwnzkkldsfai.github.io/operation-self-sustain/
- **Repository:** https://github.com/qwnzkkldsfai/gemini_hub
- **MCP Registry name:** io.github.qwnzkkldsfai/gemini-hub
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Gemini Hub moves working context from a local IDE session into Gemini's web, desktop and mobile surfaces without manual copy and paste. A background daemon summarizes each Antigravity turn into a fixed Drive file, and hotkeys or a Chrome extension paste that summary into any Gemini chat. Notes pushed back from Gemini are queued and injected into the next Antigravity prompt.

It syncs through a Google Drive desktop mount when one is present, so no Google Cloud setup is needed in that case. On machines without a Drive client, an optional clientless mode uses the Drive and Docs APIs with a desktop OAuth client. A stdio MCP server exposes save_handoff, get_now_context and list_inbox to clients such as Claude Code and Cursor.

The tool suits developers who work across several Antigravity windows or machines and want Gemini to see their current repository state. Its licence is MIT and the source is on GitHub.

## Features

- **Hotkey context copy:** Alt+Shift+J copies the latest Antigravity turn summary to the clipboard for pasting into any Gemini surface.
- **Queued note injection:** Notes sent from Gemini are queued in order and merged into the next Antigravity prompt.
- **Drive-based sync:** Reuses a mounted Google Drive folder on Windows, macOS or Linux to share files across machines.
- **Chrome extension:** A Manifest V3 extension adds a Send to Hub button under Gemini replies and a /hub expansion command.
- **Windowless background daemon:** A detached daemon runs the sync and summarizer without leaving a terminal window open.
- **Stdio MCP server:** Exposes save_handoff, get_now_context and list_inbox to MCP-compatible clients over JSON-RPC stdio.

## Good for

- Pass an IDE session summary into a Gemini chat without retyping it
- Send a snippet from a Gemini reply back to an Antigravity session on another machine
- Give Claude Code or Cursor access to the current Gemini Hub context through MCP
- Capture ideas on a phone and have them picked up at the desk

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add gemini-hub -- docker run -i --rm ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add gemini-hub -- docker run -i --rm ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.gemini-hub]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user gemini-hub docker -- run -i --rm ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gemini-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 3 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `save_handoff`: Saves a handoff note.
- `get_now_context` (name suggests: reads): Returns the current Now context.
- `list_inbox` (name suggests: reads): Lists queued inbox notes.

## FAQ

### Does Gemini Hub need Google Cloud setup?

Not when a Google Drive desktop client is mounted. The clientless mode requires enabling the Drive and Docs APIs and creating a desktop OAuth client.

### What tools does the MCP server expose?

save_handoff, get_now_context and list_inbox.

### What licence is Gemini Hub released under?

MIT.

### Which platforms are supported?

Windows, macOS and Linux for the CLI, with a Chrome, Edge or Brave extension for Gemini Web.

### Is Gemini Hub free?

Yes. Gemini Hub is open source, so you can use and self-host it for free.

### How do I add Gemini Hub to Claude Code?

Run this command in your terminal: claude mcp add gemini-hub -- docker run -i --rm ghcr.io/qwnzkkldsfai/gemini-hub:0.1.2

### What are the best alternatives to Gemini Hub?

The closest alternatives to Gemini Hub are Antigravity Gemini MCP, gemini-antigravity-bridge, AGY-Nexus MCP, Gemini Code Context MCP and GeminiBastionMCP — Remote MCP Bastion for Web Gemini, Claude & ChatGPT.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Antigravity Gemini MCP](https://ai-powered.com/mcp/antigravity-gemini-mcp): Antigravity Gemini MCP is an open-source MCP server for ai models and llm tooling.
- [gemini-antigravity-bridge](https://ai-powered.com/mcp/gemini-antigravity-bridge): gemini-antigravity-bridge is an open-source MCP server for multi-agent frameworks.
- [AGY-Nexus MCP](https://ai-powered.com/mcp/agy-nexus-mcp): AGY-Nexus MCP is an open-source MCP server for developer tools.
- [Gemini Code Context MCP](https://ai-powered.com/mcp/gemini-code-context-mcp): Gemini Code Context MCP is an open-source MCP server for ai models and llm tooling.
- [GeminiBastionMCP — Remote MCP Bastion for Web Gemini, Claude & ChatGPT](https://ai-powered.com/mcp/geminibastionmcp-remote-mcp-bastion-for-web-gemini-claude-an): GeminiBastionMCP — Remote MCP Bastion for Web Gemini, Claude & ChatGPT is an MCP server for ai models and llm tooling.
- [Gemini Pro MCP](https://ai-powered.com/mcp/gemini-pro-mcp): Gemini Pro MCP is a free MCP server for ai models and llm tooling.
- [Antigravity MCP Server](https://ai-powered.com/mcp/antigravity-mcp-server): Antigravity MCP Server is an MCP server for developer tools.
- [Codex Bridge](https://ai-powered.com/mcp/codex-bridge): Codex Bridge is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/gemini-hub
