Sign in to Google Search Console
loginStart Google OAuth sign-in in your browser to authenticate Search Console access and save credentials locally; optionally wait for completion or return the sign-in URL.
Instructions
Starts Google sign-in in the user's browser (OAuth with a local loopback redirect) and saves the credentials on this machine. Waits up to waitSeconds for the user to finish; if they need longer, it returns the sign-in URL and keeps listening for five minutes. Needs an OAuth client, either from an earlier gsc-mcp auth or the GSC_OAUTH_CLIENT_ID/GSC_OAUTH_CLIENT_SECRET environment variables.
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": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| write | No | Also grant permission to submit and delete sitemaps (full "webmasters" scope). Default false (read-only). | |
| waitSeconds | No | How long to wait for the browser sign-in before returning. Default 45. |