# WireCat Google Drive MCP server

> Allows AI agents to search, read, and write Google Drive and Docs by importing them as local Markdown snapshots and searchable documents.

- Repository: https://github.com/WireCatLabs/drive-cli
- Page: https://hostedmcp.org/servers/wirecatlabs/drive-cli
- Transport: stdio
- Stars: 1
- License: Apache-2.0
- Latest version: 0.69.0

## Install

### Claude Code

```sh
claude mcp add drive-cli -- npx -y @wirecat/drive-cli
```

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

```json
{
  "mcpServers": {
    "drive-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/drive-cli"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "drive-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/drive-cli"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "drive-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/drive-cli"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.drive-cli]
command = "npx"
args = ["-y", "@wirecat/drive-cli"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "drive-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/drive-cli"
      ]
    }
  }
}
```

## FAQ

### What file types are supported?

The server supports native Google Docs and Sheets, PDF, docx, xlsx, CSV, TSV, and uploaded Markdown or TXT files.

### How can I use this with Claude or ChatGPT in a browser?

You can serve the MCP tools to ChatGPT and Claude in the browser using the --http flag.

### Does it support semantic search?

Yes, it uses a shared local text model for semantic search, which can be downloaded separately.

### Can I restrict the agent to read-only access?

Yes, setting the DRIVE_READ_ONLY=1 environment variable will refuse every change.
