Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.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
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).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
.mcp.json (project) or %USERPROFILE%\.claude.json (global).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
.vscode\mcp.json.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
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.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
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.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.
| Name | Required | Description |
|---|---|---|
| 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. |