auth-preflight

Verify Google MCP authentication before Google Docs, Slides, or Drive tasks.

16|7|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/ai-analyst-lab/ai-analyst-plus --skill auth-preflight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-preflight
Source: https://github.com/ai-analyst-lab/ai-analyst-plus/tree/main/.claude/skills/auth-preflight
Command: npx skills add https://github.com/ai-analyst-lab/ai-analyst-plus --skill auth-preflight

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Verifies Google Workspace MCP authentication at the start of any session that requires Google APIs (Docs, Slides, Drive) to prevent mid-workflow auth failures. This preflight ensures credentials are valid before risky operations and reduces wasted time from failed runs.

Core Features & Use Cases

  • Detects configured Google MCP servers from .mcp.json
  • Locates credentials across standard and alternative storage locations
  • Performs a lightweight create operation to validate access without touching user content
  • Provides actionable guidance to re-authenticate when needed

Quick Start

Run this preflight at session start to confirm MCP authentication before any Google-dependent work.

Frequently Asked Questions about auth-preflight

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check Google Workspace MCP authentication before starting a session?

You can verify Google Workspace MCP authentication by running a preflight check that tests tokens with a lightweight create operation, confirms credential validity, and guides re-authentication to prevent mid-workflow failures.

Why does Google MCP fail mid-workflow when uploading to Drive or editing Docs?

Google MCP fails mid-workflow because credentials are invalid or expired. Running a preflight authentication check at session start detects these bad tokens early to avoid wasted time on failed runs.

Can I validate Google Workspace credentials without modifying or touching my files?

Yes, you can validate Google Workspace credentials without touching your content by performing a lightweight create operation that tests token access and confirms authentication status before risky operations.

Does the preflight auth check locate Google MCP credentials stored in non-standard locations?

Yes, the preflight auth check locates Google MCP credentials across both standard and alternative storage locations by detecting configured servers from .mcp.json to ensure tokens are found before validation.

What is the best way to prevent OAuth token errors during Google Slides or Docs automation?

The best way to prevent OAuth token errors during Google Slides or Docs automation is to run a fail-fast preflight check at session start that verifies MCP configuration and tests tokens before executing dependent actions.

Do I need to manually configure .mcp.json to use an automated Google authentication preflight?

You need existing Google MCP servers configured in .mcp.json because the preflight check reads this file to detect servers, locate credentials, and validate authentication status automatically.