MCP server · Audited from source
Gemini Context MCP server
by ogoldberg/gemini-context-mcp-serverNo licenceAudited 8 Oct 2026 · source 16c6b5c8a911
Is it safe? Yes — SAFE, grade B (89/100). It exposes 12 tools: 7 read, 3 write and 2 destructive. The audit recorded 5 findings (0 critical, 0 high, 1 medium, 4 low). Maintainer's description: MCP server for Cursor that leverages Gemini's much larger context window to enhance the capabilities of the AI tools
Cite
Cite this page
ModelsAtlas. “Gemini Context MCP server (ogoldberg/gemini-context-mcp-server)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/ogoldberg/gemini-context
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
5 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared2 observations
- ShellDeclared2 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | PASS 1 finding |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
ogoldbergUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@utilities/gemini-context-mcpat version 1.0.0 - LicenceNone declaredFrom the repository, as read at the audited commit.
- Last push18 months agoActivity of the repository when we read it.
- Source commit read16c6b5c8a911The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory12 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (5)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
clear_context, mcp_gemini_context_delete_cache
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
LOWSupply chainsupply.unpinned · package.json
@google/generative-ai, @modelcontextprotocol/sdk, commander, dotenv, lodash-es, zod, @jest/globals, @types/commander
- Why
- 14 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · instructions.md:3352
load_dotenv() # load environment variables from .env
- Why
- asks the agent to read credentials
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · instructions.md:4741
curl -LsSf https://astral.sh/uv/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
12 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
clear_context | destructive | Clear the context for a session |
mcp_gemini_context_delete_cache | destructive | Deletes a cache |
add_context | write | Add a new entry to the context |
mcp_gemini_context_create_cache | write | Create a cache for frequently used large contexts |
mcp_gemini_context_update_cache_ttl | write | Updates a cache\ |
discover_capabilities | read | Returns a manifest describing all capabilities of this MCP server |
generate_text | read | Generate text using Gemini with context management |
get_context | read | Retrieve the current context for a session |
get_tool_help | read | Get detailed help and examples for a specific tool |
mcp_gemini_context_generate_with_cache | read | Generate content using a cached context |
mcp_gemini_context_list_caches | read | List all available caches |
search_context | read | Search for relevant context using semantic similarity |
Install
Package version 1.0.0 · audited commit 16c6b5c
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit 16c6b5c only.
claude mcp add gemini-context-mcp --env GEMINI_API_KEY=${GEMINI_API_KEY} --env GEMINI_INPUT_TOKEN_LIMIT=${GEMINI_INPUT_TOKEN_LIMIT} --env GEMINI_MAX_OUTPUT_TOKENS=${GEMINI_MAX_OUTPUT_TOKENS} --env MAX_TOKENS_PER_SESSION=${MAX_TOKENS_PER_SESSION} -- npx -y @utilities/[email protected]{
"mcpServers": {
"gemini-context-mcp": {
"command": "npx",
"args": [
"-y",
"@utilities/[email protected]"
],
"env": {
"GEMINI_API_KEY": "${GEMINI_API_KEY}",
"GEMINI_INPUT_TOKEN_LIMIT": "${GEMINI_INPUT_TOKEN_LIMIT}",
"GEMINI_MAX_OUTPUT_TOKENS": "${GEMINI_MAX_OUTPUT_TOKENS}",
"MAX_TOKENS_PER_SESSION": "${MAX_TOKENS_PER_SESSION}"
}
}
}
}The command pins the package version recorded in the source (1.0.0); the audit covers commit 16c6b5c8a911. Transport: stdio. Reads these environment variables: GEMINI_API_KEY, GEMINI_INPUT_TOKEN_LIMIT, GEMINI_MAX_OUTPUT_TOKENS, MAX_TOKENS_PER_SESSION. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
16c6b5c8a911
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/ogoldberg/gemini-context/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Gemini Context MCP server
What is the Gemini Context MCP server?
What tools does Gemini Context expose?
Is Gemini Context safe to connect to an agent?
What credentials does Gemini Context need?
How does Gemini Context run?
How current is this page?
Sources
- ogoldberg/gemini-context-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 16c6b5c8a911Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Gemini Context MCP server?
- What tools does Gemini Context expose?
- Is Gemini Context safe to connect to an agent?