gemini-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gemini-mcpJudge the credibility of this news article."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-gemini-worker
MCP server (Node.js/TypeScript) yang mengekspos tool judge_document,
summarize_document, dan health_check, dengan Gemini 3.1 Flash Lite sebagai
mesin di baliknya. Dirancang untuk dipanggil Claude (sebagai orchestrator)
lewat Custom Connector di claude.ai / Claude API.
Lihat spec_mcp_server_gemini_flash_lite.md untuk detail desain lengkap.
1. Setup
npm install
cp .env.example .envBuka .env dan isi minimal 2 variabel wajib:
GEMINI_API_KEY=isi_dengan_api_key_gemini_anda
MCP_SERVER_API_KEY=isi_dengan_string_acak_panjang_buatan_anda_sendiriGEMINI_API_KEY didapat dari Google AI Studio / Google Cloud Console.
MCP_SERVER_API_KEY bebas Anda buat sendiri (mis. openssl rand -hex 32) —
ini yang dipakai untuk otentikasi Bearer saat Claude memanggil server ini.
Server tidak akan menyala kalau salah satu dari dua variabel ini kosong
(lihat src/config.ts — fail-fast by design, supaya tidak diam-diam jalan
tanpa kredensial).
Related MCP server: Gemini MCP Server
2. Jalankan lokal (development)
npm run devServer akan listen di http://localhost:8787 (atau sesuai PORT di .env).
Endpoint MCP ada di POST /mcp, endpoint health check tanpa auth di GET /health.
3. Build & jalankan produksi
npm run build
npm start4. Test
npm testIni menjalankan unit test untuk verifyQuote (pagar anti-halusinasi) dan
truncateDocument. Untuk regression test dengan dokumen nyata (lihat spec
§11 poin 3), tambahkan test terpisah yang memakai teks jurnal yang sudah
diverifikasi manual sebelumnya sebagai ground truth.
5. Deploy supaya bisa dipanggil Claude
Server ini wajib reachable dari internet publik (Anthropic connect dari cloud-nya, bukan dari device Anda). Opsi hosting:
Cloudflare Workers (autoscaling + OAuth bawaan, direkomendasikan di spec)
Fly.io / Railway / VPS biasa dengan reverse proxy HTTPS
Setelah deploy, daftarkan sebagai Custom Connector:
claude.ai → Customize → Connectors → tombol "+" → Add custom connector
Masukkan URL:
https://domain-anda.com/mcpKalau pakai Bearer auth sederhana (bukan OAuth penuh), sesuaikan dengan opsi autentikasi yang tersedia di UI Custom Connector saat itu — cek dokumentasi terbaru Anthropic karena UI ini bisa berubah.
Klik Connect.
6. Mengecek server hidup tanpa lewat Claude
curl -X POST http://localhost:8787/mcp \
-H "Authorization: Bearer $MCP_SERVER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Kalau setup benar, respons berisi daftar 3 tool: judge_document,
summarize_document, health_check.
Catatan penting
Versi
@modelcontextprotocol/sdkberkembang cepat — cek APIMcpServer/StreamableHTTPServerTransportterkini di dokumentasi resmi sebelum deploy, karena signature method bisa berubah antar versi major.MAX_DOCUMENT_CHARS,MAX_CONCURRENT_GEMINI_CALLS, danDAILY_TOKEN_BUDGETdi.envadalah kontrol biaya — sesuaikan dengan volume nyata Anda, jangan dibiarkan default kalau traffic sudah signifikan.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceMCP server that lets Claude Code delegate mechanical tasks to a local LLM for summarization, classification, extraction, and drafting.99MIT
- Alicense-qualityDmaintenanceMCP server that connects Claude Desktop to Google Gemini, enabling multimodal analysis with file attachments (video, image, audio, PDF).109MIT
- Alicense-qualityDmaintenanceMCP server that enables Claude Code to interact with Google's Gemini API for code analysis, chat, and summarization tasks.84MIT
- Flicense-qualityDmaintenanceLocal MCP server that exposes fixed tools for GPT, Claude, and Gemini while routing to any OpenAI-compatible chat completions backend with independent configuration per target.1
Related MCP Connectors
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for generating rough-draft project plans from natural-language prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Farid521/gemini-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server