Sign in to YouTube
authenticateLaunch Google sign-in in your browser and return the URL for granting access to your own YouTube channel analytics, then verify sign-in status before reading data.
Instructions
Start Google sign-in in the user's browser and return the sign-in URL immediately.
The user must approve access in the browser (choosing the account or Brand Account that
owns the channel). Afterwards call get_auth_status to confirm. Only works when the MCP
server runs on the user's own computer. Signing in again replaces the stored token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "authenticate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_revenue | No | Also request read access to revenue reports (only useful for monetized channels). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||