Skip to main content
context_status Read this repository’s first-party context state: connection grant state (booleans, property names, permission levels and dates only, never a token), GSC fact-row count, site-fact count, availability floors and manual-input presence. manual_only is a complete configuration, not an error: with no Google connection the manual inputs are the context.
Repository-local stdio MCP only. This tool is absent from hosted MCP and HTTP. It reads local context without starting a cloud job.

Setup and request

Start the local context host with an explicit repository root. Paths are restricted to that root, including symlink resolution.

Input fields

This operation accepts an empty object.

Returned result

Captured from a local fixture repository without external credentials.
  • project (object / null, required): Customer-owned project configuration; additional user fields remain possible.
  • connection (object, required): Sanitized connection metadata. additional fields rejected
  • handoff (object / null, required): Customer-editable saved handoff state.
  • availability (object, required): Property names mapped to saved availability probes.
  • last_fetch_count (integer, required): Saved request-cache entries. minimum: 0
  • gsc_rows (integer, required): Parsed local GSC rows, including window markers. minimum: 0
  • gsc_file_missing (boolean, required): No GSC JSONL file exists.
  • gsc_problems (array, required): Malformed lines are reported without dropping the diagnostic.
  • site_fact_rows (integer, required): Parsed site fact rows. minimum: 0
  • manual_present (boolean, required): Nonempty manual inputs exist.
  • manual_entries (integer, required): Manual statements parsed. minimum: 0
Connection status returns only sanitized grant metadata. Project and handoff state remain customer-owned extensible records. Counts include local records, not a promise of fresh Google data. Download result schema.

Result and recovery

The host returns JSON in both structuredContent and text content. The local context reference describes each result, file ownership and recovery. Start/end dates must be supplied together. Thrown input or file failures return isError: true. Missing manual/profile files and unresolved citations also flag an error. Inspect returned connection states separately: revoked or unavailable access can be result data. Manual-only configuration is valid. See local context, CLI context commands and schema conventions.