Alter Google Drive MCP Server

v0.1.0
io.github.AlterAIDev/google-drive-mcp Checked 2 days ago Published 2 days ago

Multi-user Google Drive MCP server with zero tokens on server, share approvals, and audit.

Values you need

VariableWhat it is
ALTER_AGENT_API_KEYrequired secret Alter agent API key (the only secret the server holds; never a Google token).
ALTER_ACCOUNToptional Optional Google account to use when more than one is delegated to the agent.

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add google-drive-mcp -e 'ALTER_AGENT_API_KEY=<ALTER_AGENT_API_KEY>' -- npx -y --package=@alter-ai/google-drive-mcp@0.1.0 alter-google-drive-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "google-drive-mcp": {
      "args": [
        "-y",
        "--package=@alter-ai/google-drive-mcp@0.1.0",
        "alter-google-drive-mcp"
      ],
      "command": "npx",
      "env": {
        "ALTER_AGENT_API_KEY": "<ALTER_AGENT_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "google-drive-mcp": {
      "args": [
        "-y",
        "--package=@alter-ai/google-drive-mcp@0.1.0",
        "alter-google-drive-mcp"
      ],
      "command": "npx",
      "env": {
        "ALTER_AGENT_API_KEY": "<ALTER_AGENT_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ALTER_AGENT_API_KEY",
      "id": "alter-agent-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "google-drive-mcp": {
      "args": [
        "-y",
        "--package=@alter-ai/google-drive-mcp@0.1.0",
        "alter-google-drive-mcp"
      ],
      "command": "npx",
      "env": {
        "ALTER_AGENT_API_KEY": "${input:alter-agent-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.google-drive-mcp]
command = "npx"
args = ["-y", "--package=@alter-ai/google-drive-mcp@0.1.0", "alter-google-drive-mcp"]
env = { "ALTER_AGENT_API_KEY" = "<ALTER_AGENT_API_KEY>" }

For AI agents

  1. Ask the user for: ALTER_AGENT_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json