Gogcli MCP Server

gogcli-mcp npm v2.29.1 Source verified

Published by chrischall — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.

MCP server wrapping gogcli for Google service access

Trust grade
A
93/100
Last scanned get badge →
Trust
A · 93/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
A Why this grade threat 99 − adoption risk = 93/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 1.2 = 99. What the published surface and source actually contain:

PointsWhat was foundCategory
−1.2 Hardcoded Google API key in test/example/packaging MTC-SRC-008 exfiltration

2. Client adoption risk — 99 − 6 = 93. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 10

high Dynamic code execution in server code (dist/index.js)MTC-SRC-001

In the server's implementation (`dist/index.js:2946`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode); const v

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/index.js

high Dynamic code execution in server code (dist/lib.js)MTC-SRC-001

In the server's implementation (`dist/lib.js:2945`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode); const v

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/lib.js

high Shell/command execution in server code (dist/index.js)MTC-SRC-002

In the server's implementation (`dist/index.js:36058`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ?? (await import("node:child_process")).spawn; const effectiveTimeout = timeout ?? TIMEOUT_MS; return new Promise((

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/index.js

high Shell/command execution in server code (dist/lib.js)MTC-SRC-002

In the server's implementation (`dist/lib.js:27865`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ?? (await import("node:child_process")).spawn; const effectiveTimeout = timeout ?? TIMEOUT_MS; return new Promise((

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/lib.js

high Shell/command execution in server code (src/runner.ts)MTC-SRC-002

In the server's implementation (`src/runner.ts:2`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ildProcess } from 'node:child_process'; import { delimiter, join } from 'node:path'; import { parseBoolEnv, readEnvVar,

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/runner.ts

low Hardcoded egress to an external endpoint in packaging/dev tooling (tests/worker.test.ts)MTC-SRC-003

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/worker.test.ts:51`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const res = await SELF.fetch('https://example.com/.well-known/oauth-authorization-server'); expect(res.status).toBe

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/worker.test.ts

low Hardcoded Google API key in test/example/packaging (tests/runner.test.ts)MTC-SRC-008

A hardcoded Google API key (a client API key (restricted by referrer/quota, not a private secret)) appears in `tests/runner.test.ts:548`. Verify whether this is a real credential; if so, remove and rotate it.

Evidence: Google API key: AIza…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/runner.test.ts

low Shell/command execution in packaging/dev tooling (tests/auth-log.test.ts)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/auth-log.test.ts:453`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: urce); await expect(exec(['--json', '--color=never', '--no-input', 'gmail', 'search', 'q'], {})).resolves.toBe(

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/auth-log.test.ts

low Shell/command execution in packaging/dev tooling (tests/connector-runtime.test.ts)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/connector-runtime.test.ts:112`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ; const out = await exec(['sheets', 'get', 'A1'], {}); expect(out).toBe('gog output'); const [url, init] =

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/connector-runtime.test.ts

low Shell/command execution in packaging/dev tooling (tests/runner.test.ts)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/runner.test.ts:3`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ockedSpawn } from 'node:child_process'; import { run, runBinary, runExecutor, RunnerTransportError, isRunnerTransportErr

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/runner.test.ts

Tools 103

Each tool and what it can reach — statically extracted from the published source.

  • gog_chat_messages_listingests untrusted input
  • gog_classroom_profile_getingests untrusted input
  • gog_drive_lsreads sensitive data
  • gog_drive_read_bytesingests untrusted input
  • gog_api_callno sensitive capability
  • gog_api_describeno sensitive capability
  • gog_api_listno sensitive capability
  • gog_appscript_contentno sensitive capability
  • gog_appscript_createno sensitive capability
  • gog_appscript_deploymentsno sensitive capability
Show 93 more tools ↓
  • gog_appscript_getno sensitive capability
  • gog_appscript_pullno sensitive capability
  • gog_appscript_run_functionno sensitive capability
  • gog_appscript_versionsno sensitive capability
  • gog_auth_addno sensitive capability
  • gog_auth_add_completeno sensitive capability
  • gog_auth_add_urlno sensitive capability
  • gog_auth_healthno sensitive capability
  • gog_auth_listno sensitive capability
  • gog_auth_servicesno sensitive capability
  • gog_auth_statusno sensitive capability
  • gog_calendar_createno sensitive capability
  • gog_calendar_deleteno sensitive capability
  • gog_calendar_eventsno sensitive capability
  • gog_calendar_getno sensitive capability
  • gog_calendar_respondno sensitive capability
  • gog_calendar_updateno sensitive capability
  • gog_chat_dm_sendno sensitive capability
  • gog_chat_dm_spaceno sensitive capability
  • gog_chat_messages_searchno sensitive capability
  • gog_chat_messages_sendno sensitive capability
  • gog_chat_reactions_createno sensitive capability
  • gog_chat_reactions_deleteno sensitive capability
  • gog_chat_reactions_listno sensitive capability
  • gog_chat_spaces_createno sensitive capability
  • gog_chat_spaces_findno sensitive capability
  • gog_chat_spaces_listno sensitive capability
  • gog_chat_threads_listno sensitive capability
  • gog_classroom_announcements_createno sensitive capability
  • gog_classroom_announcements_getno sensitive capability
  • gog_classroom_announcements_listno sensitive capability
  • gog_classroom_courses_getno sensitive capability
  • gog_classroom_courses_listno sensitive capability
  • gog_classroom_coursework_getno sensitive capability
  • gog_classroom_coursework_listno sensitive capability
  • gog_classroom_invitations_acceptno sensitive capability
  • gog_classroom_invitations_getno sensitive capability
  • gog_classroom_invitations_listno sensitive capability
  • gog_classroom_rosterno sensitive capability
  • gog_classroom_students_getno sensitive capability
  • gog_classroom_students_listno sensitive capability
  • gog_classroom_submissions_getno sensitive capability
  • gog_classroom_submissions_gradeno sensitive capability
  • gog_classroom_submissions_listno sensitive capability
  • gog_classroom_submissions_reclaimno sensitive capability
  • gog_classroom_submissions_returnno sensitive capability
  • gog_classroom_submissions_turn_inno sensitive capability
  • gog_classroom_teachers_getno sensitive capability
  • gog_classroom_teachers_listno sensitive capability
  • gog_classroom_topics_getno sensitive capability
  • gog_classroom_topics_listno sensitive capability
  • gog_contacts_createno sensitive capability
  • gog_contacts_getno sensitive capability
  • gog_contacts_listno sensitive capability
  • gog_contacts_searchno sensitive capability
  • gog_docs_catno sensitive capability
  • gog_docs_createno sensitive capability
  • gog_docs_find_replaceno sensitive capability
  • gog_docs_infono sensitive capability
  • gog_docs_structureno sensitive capability
  • gog_docs_writeno sensitive capability
  • gog_drive_deleteno sensitive capability
  • gog_drive_extract_textno sensitive capability
  • gog_drive_getno sensitive capability
  • gog_drive_mkdirno sensitive capability
  • gog_drive_moveno sensitive capability
  • gog_drive_renameno sensitive capability
  • gog_drive_searchno sensitive capability
  • gog_drive_shareno sensitive capability
  • gog_gmail_getno sensitive capability
  • gog_gmail_replyno sensitive capability
  • gog_gmail_reply_allno sensitive capability
  • gog_gmail_searchno sensitive capability
  • gog_gmail_sendno sensitive capability
  • gog_sheets_appendno sensitive capability
  • gog_sheets_clearno sensitive capability
  • gog_sheets_createno sensitive capability
  • gog_sheets_find_replaceno sensitive capability
  • gog_sheets_getno sensitive capability
  • gog_sheets_metadatano sensitive capability
  • gog_sheets_updateno sensitive capability
  • gog_slides_copyno sensitive capability
  • gog_slides_createno sensitive capability
  • gog_slides_exportno sensitive capability
  • gog_slides_infono sensitive capability
  • gog_slides_list_slidesno sensitive capability
  • gog_slides_read_slideno sensitive capability
  • gog_tasks_addno sensitive capability
  • gog_tasks_deleteno sensitive capability
  • gog_tasks_doneno sensitive capability
  • gog_tasks_getno sensitive capability
  • gog_tasks_listno sensitive capability
  • gog_tasks_listsno sensitive capability

What this scan could not see

Versions 10

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v2.29.1 latest A 93/100 10 1.13.0 2026-09-09
v2.29.0 A 93/100 10 1.13.0 2026-09-07
v2.27.1 A 93/100 10 1.13.0 2026-09-04
v2.27.0 A 93/100 10 1.13.0 2026-09-01
v2.26.0 A 93/100 10 1.13.0 2026-08-29
Show 5 more versions ↓
v2.25.0 A 93/100 10 1.13.0 2026-08-28
v2.24.0 A 93/100 10 1.12.1 2026-08-15
v2.23.2 A 93/100 10 1.12.1 2026-08-14
v2.23.1 A 93/100 10 1.12.1 2026-08-13
v2.22.0 A 93/100 10 1.12.1 2026-08-10

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: A · 93/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/gogcli-mcp/badge.svg)](https://mcptrustchecker.com/registry/gogcli-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/gogcli-mcp"><img src="https://mcptrustchecker.com/registry/gogcli-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/gogcli-mcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan gogcli-mcp --online

Use the free API → How scoring works

More in Developer Tools