loading…
Search for a command to run...
loading…
Enables AI assistants to manage Google Tasks, including listing, creating, updating, deleting, and completing tasks via the Google Tasks API.
Enables AI assistants to manage Google Tasks, including listing, creating, updating, deleting, and completing tasks via the Google Tasks API.
A Model Context Protocol (MCP) server for Google Tasks. Lets AI assistants list, create, update, delete, and complete tasks via the Google Tasks API.
I prefer Google Tasks over Google Calendar for managing todos. The excellent google-calendar-mcp project only covers the Calendar API, so I built this quick-and-dirty companion to fill the gap. If you'd like to fold Tasks support into that project, PRs are welcome there.
Add to your MCP client config (Cursor, Claude Desktop, etc.):
{
"mcpServers": {
"google-tasks": {
"command": "npx",
"args": ["-y", "@scottie-will/google-tasks-mcp"],
"env": {
"GOOGLE_OAUTH_CREDENTIALS": "/path/to/your/gcp-oauth.keys.json"
}
}
}
}
Option A — CLI (recommended for first run):
GOOGLE_OAUTH_CREDENTIALS=/path/to/gcp-oauth.keys.json npx @scottie-will/google-tasks-mcp auth
Complete the OAuth flow in your browser, then restart your MCP client.
Option B — Via the agent:
Ask your AI assistant to "authenticate with Google Tasks". The authenticate tool will return a URL to visit in your browser. After completing sign-in, tell the agent to verify authentication.
| Tool | Description |
|---|---|
authenticate |
Start or verify Google OAuth authentication |
list-task-lists |
List all task lists for the authenticated user |
list-tasks |
List tasks with optional date filtering and completion status |
get-task |
Get a specific task by ID |
create-task |
Create a new task (supports subtasks via parent) |
update-task |
Update an existing task (partial updates supported) |
delete-task |
Permanently delete a task |
complete-task |
Mark a task as completed |
| Variable | Required | Description |
|---|---|---|
GOOGLE_OAUTH_CREDENTIALS |
Yes | Path to your OAuth credentials JSON file |
GOOGLE_TASKS_MCP_TOKEN_PATH |
No | Custom path for token storage (default: ~/.config/google-tasks-mcp/tokens.json) |
due field is silently discarded. Workaround: prefix the task title with a 24-hour time (e.g. "0900 Team standup") for manual time-based ordering.For full API details, see the Google Tasks API reference.
This server includes built-in instructions metadata (via the MCP protocol) that teaches agents how to use it effectively — covering the auth flow, date-only behavior, sorting quirks, @default task list conventions, and destructive-operation guardrails. Compatible MCP clients (Cursor, Claude Desktop, etc.) surface these instructions automatically.
If your client supports serverUseInstructions in the MCP config, you can also add custom hints. See incident.io's MCP for an example of thorough server instructions.
This server requires:
tasks.googleapis.com)https://www.googleapis.com/auth/tasks (full read/write access to tasks)No API key or service account is needed. The OAuth flow runs locally and tokens are stored on your machine at ~/.config/google-tasks-mcp/tokens.json.
MIT
Выполни в терминале:
claude mcp add google-tasks-mcp -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.