Set up the Google Tasks MCP server
The Google Tasks MCP server gives AI agents access to Google Tasks: reading, creating, updating, completing, and organizing tasks and task lists. This guide covers enabling the Google Tasks API, creating an OAuth client in Google Cloud, and connecting the server to MintMCP.
Prerequisites
- A MintMCP admin account
- A Google Cloud project with permission to enable APIs and create OAuth credentials
Enable the Google Tasks API
- Go to console.cloud.google.com and select or create a project.
- Go to APIs & Services → Library, search for Google Tasks API, and click Enable.
Configure the OAuth consent screen
Google requires a configured OAuth consent screen before you can create credentials.
- Go to console.cloud.google.com/auth/audience for your project.
- Set the User type that fits your organization and click Create.
- Fill in the required fields: App name (for example,
MintMCP Google Tasks), User support email, and Developer contact information. - Click Save and continue through the Scopes and Test users pages.
Create the OAuth client
The OAuth client gives MintMCP a Client ID and secret to broker each user's Google sign-in. Create one Web application client and point its redirect URI at MintMCP's callback.
-
Go to console.cloud.google.com/auth/clients and click Create client.
-
Set Application type to Web application and give it a name (for example,
MintMCP Google Tasks). The name only identifies the client in the console.
-
Under Authorized redirect URIs, click Add URI and enter MintMCP's callback URL:
https://app.mintmcp.com/oauth/callback
-
Click Create. Google shows the Client ID and Client secret once; copy both now because you can't view the secret again after closing the dialog.
Reopen the client anytime from the Clients list to edit its redirect URIs or rotate the secret.
Add Google Tasks to MintMCP
- In MintMCP, go to MCP store → Manage store.
- Find the Google Tasks connector, marked Recommended, and click to install it.
- Enter the Client ID and Client Secret from the OAuth client you created.
- Click Install.
The first time a user calls a tool, MintMCP directs them to sign in with Google and consent to the Tasks scope. MintMCP stores and refreshes their token automatically on every subsequent call.
Scope reference
| Capability | Scope |
|---|---|
| Sign-in and account identification | openid, .../userinfo.email, .../userinfo.profile |
| Create, read, update, and delete tasks and task lists | .../tasks |
All scopes use the https://www.googleapis.com/auth/ prefix.
Security considerations
- Each user authenticates individually through OAuth, so tool calls run under that user's own Google Tasks access.
- The
tasksscope grants read and write access to all of the user's task lists and tasks. - Keep the client secret secure: anyone with it can impersonate the app and request access to users' Tasks data.
Troubleshooting
- Sign-in fails with
redirect_uri_mismatch. The redirect URI on the Google Cloud OAuth client doesn't match MintMCP's callback. Open the OAuth client, confirm Authorized redirect URIs containshttps://app.mintmcp.com/oauth/callbackexactly, and save. Changes can take a few minutes to take effect. - Sign-in is blocked before the consent screen appears. The OAuth consent screen is still in Testing status, so only accounts added as test users can sign in. Go to console.cloud.google.com/auth/audience and publish the app.
Next steps
- Tool customization: control which Google Tasks tools are exposed to users
- MCP gateway administration: manage access and permissions