MCP Server Studio
MCP server for the Google Tasks API: task lists, subtasks, due dates, complete and move tasks.
Registry name: io.github.A1-x-Tech/mcp-google-tasks
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-google-tasks": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_TASKS_CLIENT_ID": "<GOOGLE_TASKS_CLIENT_ID>",
"GOOGLE_TASKS_CLIENT_SECRET": "<GOOGLE_TASKS_CLIENT_SECRET>",
"GOOGLE_TASKS_REFRESH_TOKEN": "<GOOGLE_TASKS_REFRESH_TOKEN>",
"GOOGLE_TASKS_ACCESS_TOKEN": "<GOOGLE_TASKS_ACCESS_TOKEN>",
"GOOGLE_TASKS_OAUTH_PORT": "<GOOGLE_TASKS_OAUTH_PORT>",
"GOOGLE_TASKS_API_BASE": "<GOOGLE_TASKS_API_BASE>",
"GOOGLE_TASKS_TIMEOUT_MS": "<GOOGLE_TASKS_TIMEOUT_MS>",
"GOOGLE_TASKS_MAX_RETRIES": "<GOOGLE_TASKS_MAX_RETRIES>"
}
}
}
}Run in your terminal:
claude mcp add mcp-google-tasks -e GOOGLE_TASKS_CLIENT_ID='<GOOGLE_TASKS_CLIENT_ID>' -e GOOGLE_TASKS_CLIENT_SECRET='<GOOGLE_TASKS_CLIENT_SECRET>' -e GOOGLE_TASKS_REFRESH_TOKEN='<GOOGLE_TASKS_REFRESH_TOKEN>' -e GOOGLE_TASKS_ACCESS_TOKEN='<GOOGLE_TASKS_ACCESS_TOKEN>' -e GOOGLE_TASKS_OAUTH_PORT='<GOOGLE_TASKS_OAUTH_PORT>' -e GOOGLE_TASKS_API_BASE='<GOOGLE_TASKS_API_BASE>' -e GOOGLE_TASKS_TIMEOUT_MS='<GOOGLE_TASKS_TIMEOUT_MS>' -e GOOGLE_TASKS_MAX_RETRIES='<GOOGLE_TASKS_MAX_RETRIES>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-google-tasks": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_TASKS_CLIENT_ID": "<GOOGLE_TASKS_CLIENT_ID>",
"GOOGLE_TASKS_CLIENT_SECRET": "<GOOGLE_TASKS_CLIENT_SECRET>",
"GOOGLE_TASKS_REFRESH_TOKEN": "<GOOGLE_TASKS_REFRESH_TOKEN>",
"GOOGLE_TASKS_ACCESS_TOKEN": "<GOOGLE_TASKS_ACCESS_TOKEN>",
"GOOGLE_TASKS_OAUTH_PORT": "<GOOGLE_TASKS_OAUTH_PORT>",
"GOOGLE_TASKS_API_BASE": "<GOOGLE_TASKS_API_BASE>",
"GOOGLE_TASKS_TIMEOUT_MS": "<GOOGLE_TASKS_TIMEOUT_MS>",
"GOOGLE_TASKS_MAX_RETRIES": "<GOOGLE_TASKS_MAX_RETRIES>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp-google-tasks": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_TASKS_CLIENT_ID": "<GOOGLE_TASKS_CLIENT_ID>",
"GOOGLE_TASKS_CLIENT_SECRET": "<GOOGLE_TASKS_CLIENT_SECRET>",
"GOOGLE_TASKS_REFRESH_TOKEN": "<GOOGLE_TASKS_REFRESH_TOKEN>",
"GOOGLE_TASKS_ACCESS_TOKEN": "<GOOGLE_TASKS_ACCESS_TOKEN>",
"GOOGLE_TASKS_OAUTH_PORT": "<GOOGLE_TASKS_OAUTH_PORT>",
"GOOGLE_TASKS_API_BASE": "<GOOGLE_TASKS_API_BASE>",
"GOOGLE_TASKS_TIMEOUT_MS": "<GOOGLE_TASKS_TIMEOUT_MS>",
"GOOGLE_TASKS_MAX_RETRIES": "<GOOGLE_TASKS_MAX_RETRIES>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp-google-tasks": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_TASKS_CLIENT_ID": "<GOOGLE_TASKS_CLIENT_ID>",
"GOOGLE_TASKS_CLIENT_SECRET": "<GOOGLE_TASKS_CLIENT_SECRET>",
"GOOGLE_TASKS_REFRESH_TOKEN": "<GOOGLE_TASKS_REFRESH_TOKEN>",
"GOOGLE_TASKS_ACCESS_TOKEN": "<GOOGLE_TASKS_ACCESS_TOKEN>",
"GOOGLE_TASKS_OAUTH_PORT": "<GOOGLE_TASKS_OAUTH_PORT>",
"GOOGLE_TASKS_API_BASE": "<GOOGLE_TASKS_API_BASE>",
"GOOGLE_TASKS_TIMEOUT_MS": "<GOOGLE_TASKS_TIMEOUT_MS>",
"GOOGLE_TASKS_MAX_RETRIES": "<GOOGLE_TASKS_MAX_RETRIES>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
GOOGLE_TASKS_CLIENT_ID | No | Google OAuth2 client id (refresh-token flow). |
GOOGLE_TASKS_CLIENT_SECRET | No | Google OAuth2 client secret (refresh-token flow). Treat it as a secret. |
GOOGLE_TASKS_REFRESH_TOKEN | No | Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret. |
GOOGLE_TASKS_ACCESS_TOKEN | No | Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing. |
GOOGLE_TASKS_OAUTH_PORT | No | Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login. |
GOOGLE_TASKS_API_BASE | No | API root override. |
GOOGLE_TASKS_TIMEOUT_MS | No | Per-request timeout in milliseconds. |
GOOGLE_TASKS_MAX_RETRIES | No | Retries on transient errors (429 always; 5xx/network for reads). |