google-tasks-mcp
MCP server for the Google Tasks API that enables AI agents to read, create, update, delete, and manage Google Tasks.
README
google-tasks-mcp
MCP server for the Google Tasks API. It allows any AI agent (Claude, Cursor, and others) to read, create, update, and delete tasks via Google Tasks.
Tools
| Tool | What it does |
|---|---|
list_task_lists |
Lists all task lists |
list_tasks |
Lists tasks from a list (filters: date, status) |
get_task |
Returns a single task by ID |
create_task |
Creates a task (title, notes, due, parent) |
update_task |
Updates any task field |
complete_task |
Marks a task as completed |
delete_task |
Permanently deletes a task |
move_task |
Moves/reorders a task |
Setup (one-time)
1. Google Cloud Console
- Go to console.cloud.google.com
- Create a project (or select an existing one)
- Open APIs & Services -> Library -> find "Tasks API" -> Enable
- Open APIs & Services -> Credentials
- Create Credentials -> OAuth client ID
- Application type: Desktop app
- Name:
google-tasks-mcp
- Download the JSON file -> rename it to
.credentials.json-> place it in the project root
2. Install dependencies
npm install
3. Authorize (one-time)
npm run auth
A browser window will open -> approve Google access -> tokens will be saved to .tokens.json.
After this, re-authorization is not required because tokens are refreshed automatically.
Connect to Claude Desktop
Open claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add:
{
"mcpServers": {
"google-tasks": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/google-tasks-mcp/src/index.js"]
}
}
}
Restart Claude Desktop -> new tools will appear in the interface.
Connect to Claude Code
claude mcp add google-tasks -- node /ABSOLUTE/PATH/TO/google-tasks-mcp/src/index.js
Connect to Cursor / Windsurf / other agents
Any agent that supports MCP (stdio transport):
{
"mcpServers": {
"google-tasks": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/google-tasks-mcp/src/index.js"]
}
}
}
Example prompts for your agent
"Show all my tasks for this week"
"Create a task 'Open PR' with deadline 2026-03-05"
"Mark task X as completed"
"Move task Y to the top of the list"
Project structure
google-tasks-mcp/
├── src/
│ ├── index.js — MCP server (tools + handlers)
│ ├── auth.js — OAuth2 one-time setup
│ └── tasks-api.js — Google Tasks API wrapper
├── .credentials.json — (gitignored) your OAuth credentials
├── .tokens.json — (gitignored) access + refresh tokens
├── .credentials.example.json
├── .gitignore
└── package.json
Security
.credentials.jsonand.tokens.jsonmust never be committed (already in.gitignore)- Tokens are refreshed automatically via the
googleapisOAuth2 client
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.