ZG

zcaceres/gtasks-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

176 stars 67 forks Качество 79 Тренд 25MIT

zcaceres/gtasks-mcp — это кандидат-сервер MCP, импортированный из https://github.com/zcaceres/gtasks-mcp.

Обзор

zcaceres/gtasks-mcp — это кандидат-сервер MCP, импортированный из https://github.com/zcaceres/gtasks-mcp.

Обзор (машинный перевод)

Этот MCP-сервер интегрируется с Google Tasks, позволяя размещать задачи, читать, искать, создавать, обновлять и удалять задачи.

Компоненты

Инструменты

  • поиск

  • Поиск задач в Google Tasks

  • Вход: query (строка): Поисковый запрос

  • Возвращает задачи с деталями

  • список

  • Перечислить все задачи в Google Tasks

  • Необязательный вход: cursor (строка): курсор для пагинации

  • Возвращает список всех задач

  • создать

  • Создать новую задачу в Google Tasks

  • Входные данные:

  • taskListId (строка, по желанию): ID списка задач

  • title (строка, требуется): Название задачи

  • notes (строка, по желанию): Заметки по задачам

  • due (строка, по желанию): Дата сдачи

  • Возвращает подтверждение создания задачи

  • обновление

  • Обновление существующей задачи в Google Tasks

  • Входные данные:

  • taskListId (строка, по желанию): ID списка задач

  • id (строка, требуется): ID задачи

  • uri (строка, требуется): URI задачи

  • title (строка, по желанию): Новое название задачи

  • notes (строка, по желанию): Новые заметки по заданию

  • status (строка, по желанию): Статус новой задачи («needsAction» или «завершено»)

  • due (строка, по желанию): Новая дата сдачи

  • Возвращает подтверждение обновления задачи

  • удалить

  • Удаление задачи в Google Tasks

  • Входные данные:

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Google Tasks MCP Server

This MCP server integrates with Google Tasks to allow listing, reading, searching, creating, updating, and deleting tasks.

Components

Tools

  • search

    • Search for tasks in Google Tasks
    • Input: query (string): Search query
    • Returns matching tasks with details
  • list

    • List all tasks in Google Tasks
    • Optional input: cursor (string): Cursor for pagination
    • Returns a list of all tasks
  • create

    • Create a new task in Google Tasks
    • Input:
      • taskListId (string, optional): Task list ID
      • title (string, required): Task title
      • notes (string, optional): Task notes
      • due (string, optional): Due date
    • Returns confirmation of task creation
  • update

    • Update an existing task in Google Tasks
    • Input:
      • taskListId (string, optional): Task list ID
      • id (string, required): Task ID
      • uri (string, required): Task URI
      • title (string, optional): New task title
      • notes (string, optional): New task notes
      • status (string, optional): New task status (“needsAction” or “completed”)
      • due (string, optional): New due date
    • Returns confirmation of task update
  • delete

    • Delete a task in Google Tasks
    • Input:
      • taskListId (string, required): Task list ID
      • id (string, required): Task ID
    • Returns confirmation of task deletion
  • clear

    • Clear completed tasks from a Google Tasks task list
    • Input: taskListId (string, required): Task list ID
    • Returns confirmation of cleared tasks

Resources

The server provides access to Google Tasks resources:

  • Tasks (gtasks:///)
    • Represents individual tasks in Google Tasks
    • Supports reading task details including title, status, due date, notes, and other metadata
    • Can be listed, read, created, updated, and deleted using the provided tools

Getting started

  1. Create a new Google Cloud project
  2. Enable the Google Tasks API
  3. Configure an OAuth consent screen (“internal” is fine for testing)
  4. Add scopes https://www.googleapis.com/auth/tasks
  5. Create an OAuth Client ID for application type “Desktop App”
  6. Download the JSON file of your client’s OAuth keys
  7. Rename the key file to gcp-oauth.keys.json and place into the root of this repo (i.e. gcp-oauth.keys.json)

Make sure to build the server with either npm run build or npm run watch.

Installing via Smithery

To install Google Tasks Server for Claude Desktop automatically via Smithery:

Открыть полный README на GitHub

Установка

npx -y @smithery/cli install @zcaceres/gtasks --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "gtasks": { "command": "/opt/homebrew/bin/node", "args": [ "{ABSOLUTE PATH TO FILE HERE}/dist/index.js" ] } } }