Connect the Google Tasks MCP server to your AI agent Open source, MIT, on npm. Setup instructions for Claude, Cursor and Codex are in the repository; adoption questions — Telegram. GitHub repository Telegram

Google Tasks: Disconnect — MCP tool

Google Tasks MCP tool: Revokes the stored token at Google and deletes the local login; environment credentials are left untouched.

Technical name: logout

What task it solves

I want to disconnect this server from my Google account.

Removes the locally stored tokens so the server stops acting as that account, and tells Google to drop the grant.

When to use it

Use it when handing the machine to someone else, when switching Google accounts, or when a secret may have leaked. Check auth_status first to see what is about to be removed.

What to provide

No parameters.

What it returns

Whether the token was revoked at Google, whether stored data was removed, and whether environment credentials remain in effect afterwards.

What changes in Google Tasks

No Google Tasks data changes. The stored token is revoked at Google's revoke endpoint and the local credentials are deleted irreversibly. If the revoke call fails, the deletion still happens and the grant can be removed at https://myaccount.google.com/permissions.

Example request

Disconnect Google Tasks and delete the saved credentials.

Errors and limitations

Marked destructive because deletion cannot be undone — reconnecting means walking through start_login and finish_login again. Credentials supplied through GOOGLE_TASKS_* environment variables keep working: those live in the MCP client's configuration and must be removed there.

Related MCP tools

Technical details