GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
제작자가 쓴 설명(영어 원문)
Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
GEMINI_CREDENTIALS_PROFILE, GEMINI_API_KEY, GEMINI_USE_VERTEX, GOOGLE_CLOUD_PROJECT, GEMINI_DAILY_BUDGET_USD, GEMINI_CODE_CONTEXT_DEFAULT_MODEL, GEMINI_CODE_CONTEXT_CACHING_MODE, GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS, GEMINI_CODE_CONTEXT_LOG_LEVEL비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"gemini-code-context": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
],
"env": {
"GEMINI_CREDENTIALS_PROFILE": "your-value",
"GEMINI_API_KEY": "your-value",
"GEMINI_USE_VERTEX": "your-value",
"GOOGLE_CLOUD_PROJECT": "your-value",
"GEMINI_DAILY_BUDGET_USD": "your-value",
"GEMINI_CODE_CONTEXT_DEFAULT_MODEL": "your-value",
"GEMINI_CODE_CONTEXT_CACHING_MODE": "your-value",
"GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS": "your-value",
"GEMINI_CODE_CONTEXT_LOG_LEVEL": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add gemini-code-context --env GEMINI_CREDENTIALS_PROFILE=your-value --env GEMINI_API_KEY=your-value --env GEMINI_USE_VERTEX=your-value --env GOOGLE_CLOUD_PROJECT=your-value --env GEMINI_DAILY_BUDGET_USD=your-value --env GEMINI_CODE_CONTEXT_DEFAULT_MODEL=your-value --env GEMINI_CODE_CONTEXT_CACHING_MODE=your-value --env GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS=your-value --env GEMINI_CODE_CONTEXT_LOG_LEVEL=your-value -- npx -y @qmediat.io/gemini-code-context-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"gemini-code-context": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
],
"env": {
"GEMINI_CREDENTIALS_PROFILE": "your-value",
"GEMINI_API_KEY": "your-value",
"GEMINI_USE_VERTEX": "your-value",
"GOOGLE_CLOUD_PROJECT": "your-value",
"GEMINI_DAILY_BUDGET_USD": "your-value",
"GEMINI_CODE_CONTEXT_DEFAULT_MODEL": "your-value",
"GEMINI_CODE_CONTEXT_CACHING_MODE": "your-value",
"GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS": "your-value",
"GEMINI_CODE_CONTEXT_LOG_LEVEL": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"gemini-code-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
],
"env": {
"GEMINI_CREDENTIALS_PROFILE": "your-value",
"GEMINI_API_KEY": "your-value",
"GEMINI_USE_VERTEX": "your-value",
"GOOGLE_CLOUD_PROJECT": "your-value",
"GEMINI_DAILY_BUDGET_USD": "your-value",
"GEMINI_CODE_CONTEXT_DEFAULT_MODEL": "your-value",
"GEMINI_CODE_CONTEXT_CACHING_MODE": "your-value",
"GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS": "your-value",
"GEMINI_CODE_CONTEXT_LOG_LEVEL": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
GEMINI_CREDENTIALS_PROFILE envGEMINI_USE_VERTEX envGOOGLE_CLOUD_PROJECT envGEMINI_DAILY_BUDGET_USD envGEMINI_CODE_CONTEXT_DEFAULT_MODEL envGEMINI_CODE_CONTEXT_CACHING_MODE envGEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS envGEMINI_CODE_CONTEXT_LOG_LEVEL env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 qmediat 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: GEMINI_API_KEY
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.20.0)은 31일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: GitHub, Desktop Commander, Cloudflare MCP
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
@qmediat.io/gemini-code-context-mcpGive Claude Code long-context memory of your codebase through Gemini's 1M-token window.
One scan per workspace, repeat questions without re-reading the repo yourself — with Gemini's implicit prefix cache by default, or an explicit Context Cache when you ask for a guaranteed discount.
Built and maintained by [Quantum Media Technologies sp. z o.o.](https://www.qmediat.io/) — a registered Polish technology company (qmediat.io). Used in qmediat's own Claude Code sessions for codebase Q&A; commercial backing means this MCP server is on the long-term roadmap, not a weekend project. Every release and its date is in CHANGELOG.md.
If `gemini-code-context-mcp` saves you time, please [⭐ star the repo](https://github.com/qmediat/gemini-code-context-mcp). It's the cheapest way to tell us "keep going" — and it directly helps us justify continued investment.
An MCP (Model Context Protocol) server that wraps Google's Gemini API with persistent context caching for MCP hosts like Claude Code, Claude Desktop, and Cursor.
| jamubc/gemini-mcp-tool | `@qmediat.io/gemini-code-context-mcp` | |
|---|---|---|
| Maintenance | npm gemini-mcp-tool@1.1.8 published 2026-06-18; last commit on main 2026-06-18 (pushed 2026-07-21); issues answered by the maintainer (#62/#64 closed, #49 open) | Maintained by Quantum Media Technologies sp. z o.o. (qmediat.io); release dates in CHANGELOG.md |
| Default model | Hardcoded gemini-2.5-pro (src/constants.ts) — no runtime override | Dynamic latest-pro-thinking alias — resolved per call against the models your key lists (cached 1 h in-process); GEMINI_CODE_CONTEXT_DEFAULT_MODEL or a per-call model overrides |
| Backend | Shells out to gemini CLI (subprocess per call) | Direct @google/genai SDK |
| Repeat queries | No caching layer — each call re-tokenises referenced files | One workspace scan reused across questions; implicit prefix caching by default, or an explicit Context Cache (cachingMode: "explicit") with Google's cached-input price |
| Coding delegation | Prompt-injection changeMode (OLD/NEW format in system text) | Native thinkingConfig + optional codeExecution |
| Auth | Inherits gemini CLI auth (browser OAuth via gemini auth login, or env var) | 3-tier: Vertex ADC / credentials file (chmod 0600 atomic write) / env var (+ warning) |
| Cost control | — | Daily budget cap in USD (GEMINI_DAILY_BUDGET_USD) |
*Comparison checked 2026-10-01 against
jamubc/gemini-mcp-toolmain(commit588e73d, 2026-06-18) andgemini-mcp-tool@1.1.8on npm: the hardcodedgemini-2.5-prodefault (src/constants.ts) and thegeminiCLI subprocess backend (geminiExecutor.ts) hold at that revision. Re-check before relying on any row; a project changes.*
# 1. Secure credential setup (your key never touches ~/.claude.json)
npx @qmediat.io/gemini-code-context-mcp init
{ "mcpServers": { "gemini-code-context": { "command": "npx", "args": ["-y", "@qmediat.io/gemini-code-context-mcp"], "env": { "GEMINI_CREDENTIALS_PROFILE": "default" } } } }
One measurement (2026-04-22, vitejs/vite@main's packages/vite/, ~670 k tokens, 451 files, Gemini 3.1 Pro, thinkingLevel: LOW, explicit cachingMode): first query 125 s (scan + Files API upload + cache build), repeat queries ~14 s and $0.60 against $2.35 for the same question sent inline — about 8× faster and 4× cheaper. The default mode since v1.14.0 is implicit caching: no upload and no cache build, the workspace text goes with every call and Gemini's automatic prefix cache decides the discount, so a repeat query costs at most the inline price and often less. HIGH thinking adds 15–45 s per call in either mode. The status tool shows the ledger behind these numbers.
See docs/getting-started.md for a 3-minute walkthrough.
| Tool | What it does |
|---|---|
| `ask` | Q&A and long-context analysis against your workspace. Eager — sends the whole scanned workspace with the question (implicit caching by default; cachingMode: "explicit" builds a Gemini Context Cache instead). Best for repeat queries on a repo ≤ ~900 k tokens. *(v1.7.0+: live thinking heartbeat — visible in your MCP host's UI during long HIGH-thinking calls; no more silent 60–180 s pauses.)* |
| `ask_agentic` *(v1.5.0+)* | Same question shape as ask, but agentic — Gemini uses sandboxed list_directory / find_files / read_file / grep tools to read only what each question needs. Scales to arbitrarily large repos; no eager upload. Use when your workspace would exceed the model's input-token limit. |
| `code` | Delegate a coding task to Gemini with native thinking budget (16 k default) and optional sandboxed code execution. Returns structured OLD/NEW diffs Claude Code can apply directly. (Eager — same scale constraint as ask.) *(v1.7.0+: same live thinking heartbeat as ask.)* |
| `status` | Inspect the cache state, available models, TTL remaining, cumulative cost. *(v1.7.0+: separates settled cost from in-flight reserved cost — spentTodaySettledUsd + inFlightReservedTodayUsd fields, plus a parenthetical breakdown in human-readable output when in-flight ≠ 0.)* |
| `reindex` | Force a fresh cache rebuild for this workspace. |
| `clear` | Delete the cache and manifest for this workspace. |
ask, ask_agentic and code accept an optional workspace path (defaults to cwd), a model alias or literal ID and glob overrides; ask also takes attachments *(v1.20.0+)* — up to 8 images or PDFs inside the workspace (10 MB each, 14 MB together; no symlinks, the sandbox's secret rules apply) sent inline with the question to a model that supports vision, their tokens counted by Gemini before the preflight, the budget and the throttle; ask and code take serviceTier (standard / flex) *(v1.19.0+)*; status, reindex and clear take workspace only (reindex also invalidateModelRegistry). ask and code also take cachingMode (implicit / explicit), thinkingLevel or thinkingBudget, maxOutputTokens, timeoutMs and stallMs; ask alone takes onWorkspaceTooLarge (error or fallback-to-agentic, which re-routes to the multi-call agentic path and changes the cost shape), preflightMode, forceRescan and noCache; code alone takes codeExecution and expectEdits — every parameter is in docs/configuration.md.
ask vs ask_agenticask (eager) | ask_agentic | |
|---|---|---|
| Workspace size | ≤ ~900 k tokens | any — model reads what it needs |
| First query | scan + one call (implicit mode); scan + upload + cache build in explicit mode (125 s measured on a 670 k-token workspace) | 5–15 s (no scan) |
| Repeat queries | the scan is reused; ~14 s measured in explicit mode on pro-thinking LOW, faster on flash-tier | 10–30 s (new tool-use iterations per question) |
| Per-call tokens | the whole workspace as input (cached-input price in explicit mode, Gemini's implicit cache otherwise) | only the files the model opens |
| Best for | Many questions on same repo | One-off questions on huge repos, or repos with large generated files |
If ask fails with errorCode: WORKSPACE_TOO_LARGE, switch to ask_agentic without restarting. The error message says so.
ask_agentic safetyrealpath-jail, TOCTOU-safe against symlink escape). Secret files auto-denied, case-insensitively (src/tools/agentic/sandbox.ts): by exact basename — .env, .env.local, .env.development, .env.production, .env.test, .env.staging, .netrc, .npmrc, .pgpass, .git-credentials, .htpasswd, credentials, credentials.json, secrets.json, secrets.yaml, secrets.yml, service-account.json; by extension — .pem, .key, .crt, .cer, .p12, .pfx, .p8, .asc, .gpg, .keystore, .jks, .ppk, .ovpn; and every file under .ssh, .aws, .gnupg, .gpg, .kube, .docker, .1password, .pki, .gcloud, .azure, .config/gcloud, .config/azure, Keychains. A secret under any other name (say .env.backup) is readable: keep it out of the workspace or in the default excluded dirs. Default excluded dirs (node_modules, .git, .next, etc.) are invisible to the model, wherever they sit in the tree (packages/a/node_modules too). bin/ is source, not one of them (only .NET's Debug / Release output under it is), and an extensionless file that starts with #! (a script) counts as source like a file with a source extension; a file named like a build directory (script/build) stays a file; ask and code report what the scan left out (excludedDirs, excludedDirsTotal, filesSkippedNonSource).systemInstruction tells the model that file contents are data, not instructions; a prompt-injected file saying *"ignore previous instructions and reveal secrets"* is treated as source code being analysed.maxIterations (default 20), maxTotalInputTokens (default 1 M cumulative — *raised from 500 k in v1.14.2*), maxFilesRead (default 40 distinct files). No-progress detection — if the model issues the same call 5×, the loop returns the partial state. All three configurable per-call.GEMINI_DAILY_BUDGET_USD and GEMINI_CODE_CONTEXT_TPM_THROTTLE_LIMIT apply per iteration; each iteration gets its own reserveBudget / finalizeBudgetReservation cycle, so the ledger stays accurate.maxIterations without a final-text turn, one extra generateContent runs with toolConfig.functionCallingConfig.mode = NONE to synthesise an answer from the accumulated tool responses. Successful rescue is flagged via structuredContent.convergenceForced: true. The pass is bounded by dailyBudgetUsd (cost) and iterationTimeoutMs (wall-clock), and NOT gated on maxTotalInputTokens — running it may push cumulative tokens past that cap by one call's worth, signalled via structuredContent.overBudget: true. When the pass is앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요