Google-Tasks-Local-MCP-Server

Google-Tasks-Local-MCP-Server

Google Tasks MCP Server is a local MCP server that provides AI agents with full, granular access to the Google Tasks API.

Category
访问服务器

README

<div align="center"> <img src="docs/img/logotype.png" alt="Google Tasks MCP Server Banner" width="450">

Build License: MIT Python MCP

Full-spectrum Google Tasks integration for AI agents and elite capsuleers. </div>


<img src="docs/img/logo.png" width="35" height="35"> The Hook

Google Tasks MCP Server is a local Model Context Protocol (MCP) server that provides AI agents with full, granular access to the Google Tasks API. Built using Python and the FastMCP framework, this server enables AI models to manage task lists and tasks, facilitating advanced planning and task organization directly within your AI workflow.


<img src="docs/img/logo.png" width="35" height="35"> Features Checklist

<img src="docs/img/logo.png" width="35" height="35"> Tools

The server exposes a comprehensive toolset for full task orchestration:

  • Task Lists:

    • list_task_lists: Retrieve all task lists.
    • get_task_list: Get details of a specific list.
    • create_task_list: Create a new task list.
    • update_task_list: Replace an existing task list.
    • patch_task_list: Partially update a task list.
    • delete_task_list: Remove a task list and all its tasks.
  • Tasks:

    • list_tasks: List tasks in a list with support for filtering (completed, due dates).
    • get_task: Retrieve detailed information about a single task.
    • create_task: Add a new task with support for hierarchies.
    • update_task: Replace a task.
    • patch_task: Partially update a task (e.g., change status, notes).
    • delete_task: Delete a task.
    • clear_completed_tasks: Hide all completed tasks in a list.
    • move_task: Move a task within a list or between lists, managing parent-child hierarchies.

<img src="docs/img/poster.png" width="100%">


<img src="docs/img/logo.png" width="35" height="35"> Architecture

  • Protocol: Model Context Protocol (MCP) using STDIO transport.
  • Backend: Python 3.10+ with FastMCP.
  • API: Google Tasks API.
  • Authentication: OAuth 2.0 with PKCE (Installed App Flow).

<img src="docs/img/logo.png" width="35" height="35"> Quick Start / Installation

Prerequisites

  • uv installed on your system.
  • A Google Cloud Project with the Google Tasks API enabled.
  • OAuth 2.0 Desktop Application credentials.

1. Google Cloud Configuration

  1. Create a project in the Google Cloud Console.
  2. Enable the Google Tasks API.
  3. Configure the OAuth Consent Screen (add yourself as a test user).
  4. Create OAuth 2.0 Client IDs for a "Desktop app".
  5. Download the client secret JSON or note down the Client ID and Secret.

2. Environment Variables

Set the following variables in your environment or development config:

  • GOOGLE_CLIENT_ID: Your Google OAuth Client ID.
  • GOOGLE_CLIENT_SECRET: Your Google OAuth Client Secret.

<img src="docs/img/logo.png" width="35" height="35"> Integration Guide

Google AntiGravity & Claude Desktop Integration

Add the following to your mcp_config.json or claude_desktop_config.json.

{
  "mcpServers": {
    "google-tasks": {
      "command": "uv",
      "args": [
        "run", "-m", "src.mcp_google_tasks.server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "YOUR_CLIENT_ID",
        "GOOGLE_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
      },
      "cwd": "/path/to/your/google-tasks-mcp-server"
    }
  }
}

[!NOTE] TOKEN_STORAGE_PATH is no longer required as tokens are stored securely in the system keyring.

<img src="docs/img/logo.png" width="35" height="35"> SKILL.md

You will find SKILL.md in docs folder. Optimized for "Google Tasks Local MCP Server" usage.


<img src="docs/img/logo.png" width="35" height="35"> Security

  • Local Execution: The server runs locally; your data never passes through third-party servers except Google.
  • PKCE: Strengthens the OAuth flow for public clients.
  • Secure Storage: Tokens are stored using secure platform-specific mechanisms (Keyring).

<img src="docs/img/logo.png" width="35" height="35"> Captain & Pilot Context

This project follows an elite design philosophy where the FastMCP core handles the "neural link" between the agent and the API.

  • The Orchestrator: Manages the protocol stream and task hierarchies.
  • The Specialized Corps: The Google Tasks API serves as the reliable backend engine for persistent storage and global synchronization.

<img src="docs/img/logo.png" width="35" height="35"> Development & Contribution

Ensure "Immaculate Vibes" by running tests before committing:

# Run pytest
uv run pytest

# Linting and Formatting
uv run ruff check .

<img src="docs/img/logo.png" width="35" height="35"> Footer & Socials

Created by Brandon Lane
"Your README is the storefront of your code. Make it look like a high-end boutique, not a garage sale."

Platform Link
Website brandonlane.xyz
Facebook Brandon Lane
Instagram @brandon.lane.xyz
Messenger Chat with me

License: MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选