gtasks-mcp
gtasks-mcp
Google Tasks 用の Model Context Protocol サーバーです。Claude(または MCP 互換クライアント)からタスクの一覧表示、検索、作成、更新、削除、クリアができます。
zcaceres/gtasks-mcp(MIT)をベースに、Bun ではなく素の Node/TypeScript で再構築し、認証情報をリポジトリから完全に追い出し(下記の セキュリティ を参照)、完全なテストスイートを追加しました。
セットアップ
1. Google Cloud OAuth クライアントを作成する
Google Cloud Console にアクセスし、プロジェクトを作成(または既存のものを使用)します。
Google Tasks API を有効にします(API とサービス → ライブラリ)。
OAuth 同意画面 を構成します(個人利用では「外部」で問題ありません。テストユーザーは自分だけになります)。
認証情報 → OAuth クライアント ID → アプリケーションの種類 デスクトップアプリ を作成します。
JSON ファイルをダウンロードします。
2. OAuth クライアントファイルをインストールする
mkdir -p ~/.gtasks-mcp
mv ~/Downloads/client_secret_*.json ~/.gtasks-mcp/oauth-keys.jsonWindows の場合: %USERPROFILE%\.gtasks-mcp\oauth-keys.json。
3. ビルドと認証
npm install
npm run build
npm run authこれにより、Google の同意フロー用のブラウザウィンドウが開きます。成功すると、~/.gtasks-mcp/ 内の oauth-keys.json の隣に credentials.json(リフレッシュトークン/アクセストークン)が書き込まれます。
4. Claude Code にサーバーを登録する
claude mcp add gtasks -- node /absolute/path/to/gtasks-mcp/dist/index.jsRelated MCP server: mcp-google-tasks
公開ツール
ツール | 説明 |
| タスクを一覧表示(全リスト、または |
| タイトル/メモでタスクを検索 |
| すべてのタスクリストを一覧表示 |
| タスクを作成( |
| タスクを更新( |
| タスクを削除( |
| リストから完了済みタスクをクリア |
セキュリティ
認証情報はこのリポジトリ内に置かれません。
oauth-keys.json(Google Cloud OAuth クライアント)とcredentials.json(npm run authで生成される個人用アクセストークン/リフレッシュトークン)は、どちらも~/.gtasks-mcp/に保存されます。これは OS のユーザー設定領域であり、プロジェクトディレクトリではありません。リポジトリ内に gitignore されたファイルは存在せず、誤ってgit add -fすることもありません。シークレットはリポジトリの作業ツリーからは完全に到達できません。正確なパスはsrc/config.tsを参照してください。credentials.jsonは Google Tasks へのパスワードと同等です。 このファイルを手に入れた人は誰でもあなたのタスクを読み書きできます。それに応じて扱ってください(メールで送らない、チャットに貼らない、共有ストレージにバックアップしない)。依存関係:
@google-cloud/local-auth、googleapis、@modelcontextprotocol/sdkのみ — すべて公式(Google / Anthropic)です。テレメトリなし、サードパーティへのネットワーク呼び出しなし。すべてのリクエストは Google 自身の API に送信されます。既知の許容された推移的脆弱性(
npm audit、2026-08-25 確認):esbuild/vite(開発専用ツール、ランタイムには含まれない)とuuid(gaxios/googleapis経由、このサーバーの実際の使用では信頼できないバッファ入力パスはない)に中程度の深刻度の問題があります。どちらも上流で破壊的なメジャーバージョンアップが必要です。強制的に未テストのアップグレードを行うのではなく、次の定期的な依存関係監査で再確認してください。
開発
npm test # vitest
npm run lint # eslint (narrow scope — see eslint.config.js)
npm run typecheck
npm run buildThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceIntegrates with Google Tasks to enable searching, listing, creating, updating, and deleting tasks through MCP tools. It provides a comprehensive interface for managing task lists and individual task details via the Google Tasks API.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Tasks (list, create, complete, delete tasks) through the Model Context Protocol.2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the Google Tasks API that enables AI agents to read, create, update, delete, and manage Google Tasks.280MIT
- AlicenseNot gradedqualityBmaintenanceProvides an MCP interface to Google Tasks, enabling reading, creating, updating, and completing tasks and task lists, with support for date filtering to generate weekly reports.280MIT
Related MCP Connectors
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/smaurier/gtasks-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server