Official TaskKit MCP server for Google Drive file search, management, sharing, and content operations.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add google-drive --env GOOGLE_SERVICE_ACCOUNT_KEY='<GOOGLE_SERVICE_ACCOUNT_KEY>' -- npx mcp-google-drive-server~/.codex/config.toml
[mcp_servers.google-drive]
command = "npx"
args = ["mcp-google-drive-server"]
env = { GOOGLE_SERVICE_ACCOUNT_KEY = "<GOOGLE_SERVICE_ACCOUNT_KEY>" }
# codex mcp add google-drive --env GOOGLE_SERVICE_ACCOUNT_KEY='<GOOGLE_SERVICE_ACCOUNT_KEY>' -- npx mcp-google-drive-server~/.cursor/mcp.json
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": [
"mcp-google-drive-server"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "<GOOGLE_SERVICE_ACCOUNT_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"google-drive": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-google-drive-server"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "<GOOGLE_SERVICE_ACCOUNT_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": [
"mcp-google-drive-server"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "<GOOGLE_SERVICE_ACCOUNT_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": [
"mcp-google-drive-server"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "<GOOGLE_SERVICE_ACCOUNT_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": [
"mcp-google-drive-server"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "<GOOGLE_SERVICE_ACCOUNT_KEY>"
}
}
}
}Environment variables
GOOGLE_SERVICE_ACCOUNT_KEY
Replace the placeholders with your own credentials and keep them out of version control.