G

Google Tasks MCP

by ebmurha · io.github.ebmurha/google-tasks-mcp

MCP server that connects MCP-compatible clients to Google Tasks, enabling reading, searching, creating, completing, updating, deleting, and moving tasks via 19 tools.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-ebmurha-google-tasks-mcp": {
      "command": "uvx",
      "args": [
        "google-tasks-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<YOUR_VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REDIRECT_URI": "<VALUE>",
        "DB_PATH": "./google-tasks.db",
        "DEFAULT_TASKLIST": "<VALUE>",
        "BIND_HOST": "127.0.0.1",
        "BIND_PORT": "8787",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "MCP_OAUTH_ISSUER": "<VALUE>",
        "MCP_OAUTH_CLIENT_ID": "<VALUE>",
        "GOOGLE_OAUTH_KEYS_PATH": "<VALUE>",
        "MCP_OAUTH_CLIENT_SECRET": "<VALUE>",
        "MCP_OAUTH_REDIRECT_URIS": "<VALUE>",
        "MCP_OAUTH_SIGNING_SECRET": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-ebmurha-google-tasks-mcp": {
      "command": "uvx",
      "args": [
        "google-tasks-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<YOUR_VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REDIRECT_URI": "<VALUE>",
        "DB_PATH": "./google-tasks.db",
        "DEFAULT_TASKLIST": "<VALUE>",
        "BIND_HOST": "127.0.0.1",
        "BIND_PORT": "8787",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "MCP_OAUTH_ISSUER": "<VALUE>",
        "MCP_OAUTH_CLIENT_ID": "<VALUE>",
        "GOOGLE_OAUTH_KEYS_PATH": "<VALUE>",
        "MCP_OAUTH_CLIENT_SECRET": "<VALUE>",
        "MCP_OAUTH_REDIRECT_URIS": "<VALUE>",
        "MCP_OAUTH_SIGNING_SECRET": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-ebmurha-google-tasks-mcp": {
      "command": "uvx",
      "args": [
        "google-tasks-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<YOUR_VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REDIRECT_URI": "<VALUE>",
        "DB_PATH": "./google-tasks.db",
        "DEFAULT_TASKLIST": "<VALUE>",
        "BIND_HOST": "127.0.0.1",
        "BIND_PORT": "8787",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "MCP_OAUTH_ISSUER": "<VALUE>",
        "MCP_OAUTH_CLIENT_ID": "<VALUE>",
        "GOOGLE_OAUTH_KEYS_PATH": "<VALUE>",
        "MCP_OAUTH_CLIENT_SECRET": "<VALUE>",
        "MCP_OAUTH_REDIRECT_URIS": "<VALUE>",
        "MCP_OAUTH_SIGNING_SECRET": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-ebmurha-google-tasks-mcp": {
      "command": "uvx",
      "args": [
        "google-tasks-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<YOUR_VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REDIRECT_URI": "<VALUE>",
        "DB_PATH": "./google-tasks.db",
        "DEFAULT_TASKLIST": "<VALUE>",
        "BIND_HOST": "127.0.0.1",
        "BIND_PORT": "8787",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "MCP_OAUTH_ISSUER": "<VALUE>",
        "MCP_OAUTH_CLIENT_ID": "<VALUE>",
        "GOOGLE_OAUTH_KEYS_PATH": "<VALUE>",
        "MCP_OAUTH_CLIENT_SECRET": "<VALUE>",
        "MCP_OAUTH_REDIRECT_URIS": "<VALUE>",
        "MCP_OAUTH_SIGNING_SECRET": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-ebmurha-google-tasks-mcp": {
      "command": "uvx",
      "args": [
        "google-tasks-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<YOUR_VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REDIRECT_URI": "<VALUE>",
        "DB_PATH": "./google-tasks.db",
        "DEFAULT_TASKLIST": "<VALUE>",
        "BIND_HOST": "127.0.0.1",
        "BIND_PORT": "8787",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "MCP_OAUTH_ISSUER": "<VALUE>",
        "MCP_OAUTH_CLIENT_ID": "<VALUE>",
        "GOOGLE_OAUTH_KEYS_PATH": "<VALUE>",
        "MCP_OAUTH_CLIENT_SECRET": "<VALUE>",
        "MCP_OAUTH_REDIRECT_URIS": "<VALUE>",
        "MCP_OAUTH_SIGNING_SECRET": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-ebmurha-google-tasks-mcp": {
      "command": "uvx",
      "args": [
        "google-tasks-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<YOUR_VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REDIRECT_URI": "<VALUE>",
        "DB_PATH": "./google-tasks.db",
        "DEFAULT_TASKLIST": "<VALUE>",
        "BIND_HOST": "127.0.0.1",
        "BIND_PORT": "8787",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "MCP_OAUTH_ISSUER": "<VALUE>",
        "MCP_OAUTH_CLIENT_ID": "<VALUE>",
        "GOOGLE_OAUTH_KEYS_PATH": "<VALUE>",
        "MCP_OAUTH_CLIENT_SECRET": "<VALUE>",
        "MCP_OAUTH_REDIRECT_URIS": "<VALUE>",
        "MCP_OAUTH_SIGNING_SECRET": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GOOGLE_CLIENT_ID secret Yes OAuth 2.0 Client ID for Google Cloud. Required if not using GOOGLE_OAUTH_KEYS_PATH.
GOOGLE_CLIENT_SECRET secret Yes OAuth 2.0 Client Secret for Google Cloud. Required if not using GOOGLE_OAUTH_KEYS_PATH.
GOOGLE_REDIRECT_URI Yes Redirect URI for OAuth callback. Required if using GOOGLE_CLIENT_ID/SECRET. Typically http://127.0.0.1:8787/callback for local HTTP.
DB_PATH No Path to the SQLite database file for storing OAuth tokens and bearer token hashes. Default: ./google-tasks.db
DEFAULT_TASKLIST No Optional default tasklist title or ID.
BIND_HOST No Host address to bind the HTTP server. Default: 127.0.0.1
BIND_PORT No Port to bind the HTTP server. Default: 8787
MCP_BEARER_TOKEN No Bearer token for HTTP mode authentication. Generate via secrets.token_urlsafe(48). Not needed for stdio mode.
MCP_OAUTH_ISSUER No Optional. Base URL of the server for OAuth 2.0 gateway mode (e.g., https://your-domain.example).
MCP_OAUTH_CLIENT_ID No Optional. OAuth 2.0 Client ID for MCP OAuth gateway mode.
GOOGLE_OAUTH_KEYS_PATH No Path to a downloaded OAuth client JSON file (Desktop app type) as an alternative to GOOGLE_CLIENT_ID/SECRET.
MCP_OAUTH_CLIENT_SECRET No Optional. OAuth 2.0 Client Secret for MCP OAuth gateway mode.
MCP_OAUTH_REDIRECT_URIS No Optional. Comma-separated list of redirect URIs for MCP OAuth gateway mode.
MCP_OAUTH_SIGNING_SECRET No Optional. Signing secret for MCP OAuth gateway mode.

Similar servers