Skip to content
Back to skills

Nyxs Google Connectors

ASecurity

How Nyxs talks to Google Workspace's remote MCP servers (Gmail, Calendar, Drive…) and shows their confirmations. Use when changing src/lib/mcp.ts's requests to a *.googleapis.com MCP server, src/lib/mcpElicitation.ts, a connector's "Allow once / Don't allow" question, or when a Google connector answers "Header missing", "Header mismatch" or "requires user confirmation".

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsgonodeapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add nyxs-code/nyxs-code --skill nyxs-google-connectors --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nyxs Google Connectors?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nyxs Google Connectors
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nyxs-code-nyxs-google-connectors/badge)](https://www.skillsdirectory.com/skills/nyxs-code-nyxs-google-connectors)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nyxs-google-connectors
description: How Nyxs talks to Google Workspace's remote MCP servers (Gmail, Calendar, Drive…) and shows their confirmations. Use when changing src/lib/mcp.ts's requests to a *.googleapis.com MCP server, src/lib/mcpElicitation.ts, a connector's "Allow once / Don't allow" question, or when a Google connector answers "Header missing", "Header mismatch" or "requires user confirmation".
---

# Google's Workspace MCP servers

Gmail, Calendar and the other Workspace connectors are remote MCP servers
(`gmailmcp.googleapis.com`, `calendarmcp…`; `isGoogleWorkspaceMcp`). Guide:
https://developers.google.com/workspace/guides/mcp-elicitation

## What every tools call needs

From `workspaceHeaders` and `workspaceMcpMeta` (`src/lib/mcpElicitation.ts`), added in
`McpHttpClient.send` (`src/lib/mcp.ts`) for `tools/*` methods:

- Headers `MCP-Protocol-Version: 2026-07-28`, `Mcp-Method: <method>`, and on `tools/call`
  `Mcp-Name: <tool>`. Missing → "Header missing"; not matching the body → "Header mismatch"
  (-32020).
- **`Accept-Language: <app language>`** (`getLanguage()`): Google writes the confirmation question
  and its choices in it; without it, everything comes in English.
- `params._meta` with `clientCapabilities.elicitation.form`: a client that doesn't say it can
  show a form gets "This action requires user confirmation, which this client does not support",
  and mail it didn't send hidden.

## Confirmations

A call that needs approval answers `resultType: "input_required"` with an `elicitation/create`
form: one `approval_choice` field whose `title` is the question, `enum` the codes and
`enumNames` the labels, plus a Markdown `message` preview. Nyxs asks it in the chat's question
card (`askMcpApproval`) and repeats the same call with the answer (`answerInputRequests`).

- Show the server's choices as it sends them; **don't replace them with Nyxs' own labels**. The
  codes are `ALLOW_ONCE`, `DENY_ONCE`, `ALLOW_TOOL_ALWAYS`, `ALLOW_RESOURCE_ALWAYS`,
  `ALLOW_AUDIENCE_ALWAYS`, `ALLOW_OWNER_ALWAYS`, and each prompt offers a subset with wording that
  depends on the resource ("for this email", "for these recipients"). The language comes from
  `Accept-Language`.
- Dismissing the card declines; no chat to ask in cancels. Google treats both as "don't allow".
- The `message` preview may stay in English: the guide doesn't say it's localized.

## Tests

`src/lib/__tests__/mcpElicitation.test.ts` has a fake Workspace server that checks the headers
like Google does; extend it for any new header or flow. `localStorage` is stubbed there
(`vi.stubGlobal`) because the test runs in node.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.