/chittyos-mcp:chittygwsfrom chittyos-mcp
Instructs agents on how to utilize the ChittyGWS surface (Google Workspace MCP). Covers connecting to ChittyGWS securely via Cloudflare Access JWT validation, dealing with MCP portal errors, and handling OAuth for external testing apps. Use when agents need to interact with Google Workspace APIs via the MCP server or troubleshoot 404/421/503 errors on the MCP portal.
Ships in chittyos-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill provides instructions for interacting with the ChittyGWS (Google Workspace) MCP surface, particularly regarding authentication, Cloudflare Access, and troubleshooting connection issues from ChatGPT or Claude via the MCP Portal.
ChittyGWS is protected by Cloudflare Access. External clients (like ChatGPT or Claude) connecting through the MCP Portal (https://chatgpt.com/connector/oauth/...) do not bypass this protection.
When the MCP Portal makes a request to the ChittyGWS MCP endpoints (e.g., /mcp), it MUST include a valid Cloudflare Access JWT in the Cf-Access-Jwt-Assertion header.
verifyAccessJwt): The ChittyGWS worker checks for the Cf-Access-Jwt-Assertion header.TEAM_DOMAIN.aud) MUST match the POLICY_AUD configured in the worker's environment.Reference: Validating JSON Web Tokens
For the ChittyGWS worker to successfully authenticate requests, the following environment variables MUST be correctly configured in wrangler.jsonc (or via Cloudflare Secrets):
TEAM_DOMAIN: The Cloudflare Zero Trust team domain (e.g., https://your-team.cloudflareaccess.com).POLICY_AUD: The Audience tag of the Cloudflare Access application protecting the MCP endpoint.If either of these are empty or incorrect, the worker will fail to validate the JWT, resulting in 503 Service Unavailable or 401 Unauthorized errors.
When users report errors like HTTP 404, HTTP 421, or HTTP 503 in the MCP Portal:
HTTP 503 (Service Unavailable):
TEAM_DOMAIN or POLICY_AUD environment variables in the worker, causing the verifyAccessJwt middleware to fail.wrangler.jsonc and ensure these variables are populated with the correct values from the Cloudflare Zero Trust dashboard.HTTP 401 (Unauthorized):
Cf-Access-Jwt-Assertion header is missing, expired, or invalid. The MCP Portal (or proxy, like chittyconnect) might not be passing the header correctly.HTTP 404 / 421:
ChittyGWS integrates with Google Workspace APIs via OAuth 2.0.
{"success":true,"message":"Google OAuth completed"}), they are already authorized.CRITICAL: NEVER reveal API keys, Client IDs, Client Secrets, or other sensitive tokens in conversation history. Treat all values in wrangler.jsonc, .dev.vars, and Cloudflare Secrets as highly sensitive. Do not echo them back in plain text during debugging.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chittyos/chittymarket --plugin chittyos-mcp2 skills in this plugin