Skip to content
VS Code

Google Tasks MCP for VS Code

io.github.a1-x-tech/mcp-google-tasks

MCP server for the Google Tasks API: task lists, subtasks, due dates, complete and move tasks.

client:VS Code transport:stdio runtime:npm

Install Google Tasks MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-tasks-client-id",
      "description": "GOOGLE_TASKS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-tasks-client-secret",
      "description": "GOOGLE_TASKS_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-tasks-refresh-token",
      "description": "GOOGLE_TASKS_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-tasks-access-token",
      "description": "GOOGLE_TASKS_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-tasks-oauth-port",
      "description": "GOOGLE_TASKS_OAUTH_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-tasks-api-base",
      "description": "GOOGLE_TASKS_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-tasks-timeout-ms",
      "description": "GOOGLE_TASKS_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-tasks-max-retries",
      "description": "GOOGLE_TASKS_MAX_RETRIES",
      "password": true
    }
  ],
  "servers": {
    "mcp-google-tasks": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-tasks"
      ],
      "env": {
        "GOOGLE_TASKS_CLIENT_ID": "${input:google-tasks-client-id}",
        "GOOGLE_TASKS_CLIENT_SECRET": "${input:google-tasks-client-secret}",
        "GOOGLE_TASKS_REFRESH_TOKEN": "${input:google-tasks-refresh-token}",
        "GOOGLE_TASKS_ACCESS_TOKEN": "${input:google-tasks-access-token}",
        "GOOGLE_TASKS_OAUTH_PORT": "${input:google-tasks-oauth-port}",
        "GOOGLE_TASKS_API_BASE": "${input:google-tasks-api-base}",
        "GOOGLE_TASKS_TIMEOUT_MS": "${input:google-tasks-timeout-ms}",
        "GOOGLE_TASKS_MAX_RETRIES": "${input:google-tasks-max-retries}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Google Tasks MCP in other clients