gemini-spark-mcp
Provides GitHub integration with tools to create, list, and delete repositories, push multiple files in a single commit, and upsert file contents.
Provides Vercel integration with tools to list projects and deployments, check deployment status, deploy from files or a GitHub repository, set environment variables, and run a combined deploy-project workflow.
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-spark-mcpCreate a repo called my-app, push the files, and deploy it to Vercel"
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.
Gemini Spark MCP — GitHub & Vercel
MCP server yang bisa kamu deploy sendiri ke Vercel, lalu disambungkan ke Gemini Spark (atau Claude, atau MCP client lain) sebagai remote MCP server. Begitu tersambung, agen bisa: buat repo GitHub, push kode (satu commit untuk banyak file), deploy ke Vercel (langsung dari file atau dari repo GitHub), atur environment variable, dan alur gabungan "buat repo → push → deploy" dalam satu perintah.
Saat pengguna menambahkan URL server ini di Gemini Spark, akan muncul layar izin (consent) untuk akun GitHub dan Vercel secara otomatis — persis seperti menyambungkan connector lain. Setelah keduanya diizinkan, server siap dipakai.
Isi proyek
app/api/mcp/route.ts endpoint MCP utama (yang ditempel di Gemini Spark)
app/connect/ halaman izin (consent) GitHub + Vercel
app/api/oauth/ authorization server sederhana (register/authorize/token/finish)
app/.well-known/ metadata OAuth (dibaca otomatis oleh MCP client)
lib/mcp-tools.ts daftar semua tool (github_*, vercel_*, deploy_project)
lib/github.ts, lib/vercel.ts pemanggil REST API GitHub & Vercel
lib/kv.ts penyimpanan sesi (Upstash Redis)Related MCP server: Vercel MCP
1. Deploy ke Vercel
npm install -g vercel # kalau belum ada
cd gemini-spark-mcp
vercel # ikuti prompt, deploy dulu draft-nyaAtau upload folder ini sebagai project baru lewat dashboard Vercel (New Project → drag & drop folder ini, atau push dulu ke GitHub lalu Import).
2. Siapkan penyimpanan sesi (WAJIB)
Server ini butuh tempat menyimpan token OAuth antar-request (serverless function tidak
punya memori yang bertahan). Paling gampang: Vercel Marketplace → Storage → Upstash →
Redis (ada tier gratis), tinggal klik "Connect to Project" — env var
UPSTASH_REDIS_REST_URL / UPSTASH_REDIS_REST_TOKEN (atau KV_REST_API_URL /
KV_REST_API_TOKEN) otomatis terisi. Atau daftar manual di https://console.upstash.com.
3. Pilih mode untuk GitHub & Vercel
Server ini mendukung dua mode secara independen untuk tiap provider — campur boleh (misal GitHub pakai OAuth asli, Vercel pakai token statis).
Mode A — OAuth asli (sesuai yang diminta: layar izin akun muncul)
GitHub:
Buka https://github.com/settings/developers → New OAuth App
Homepage URL = domain Vercel-mu (mis.
https://gemini-spark-mcp.vercel.app)Authorization callback URL =
https://<domain-mu>/api/oauth/github/callbackSalin Client ID & Client Secret → set sebagai
GITHUB_CLIENT_ID/GITHUB_CLIENT_SECRETdi Vercel Project Settings → Environment Variables.
Vercel:
Buka https://vercel.com/dashboard/integrations/console → Create
Redirect URL =
https://<domain-mu>/api/oauth/vercel/callbackCatat slug integrasinya (terlihat di URL console), Client ID, dan Client Secret
Set
VERCEL_CLIENT_ID,VERCEL_CLIENT_SECRET,VERCEL_INTEGRATION_SLUGdi Vercel Project Settings.
Mode B — Jalan pintas pribadi (tanpa layar izin, langsung pakai token)
Kalau server ini cuma buat kamu sendiri dan mau setup secepat mungkin:
GITHUB_TOKEN— Personal Access Token dari GitHub Settings → Developer settings → Tokens (scoperepo).VERCEL_TOKEN— dari https://vercel.com/account/tokens.VERCEL_TEAM_ID— isi kalau project-mu di bawah sebuah Team.
Kalau salah satu (atau keduanya) diisi, langkah "Hubungkan" untuk provider itu otomatis
dilewati di halaman /connect — dianggap sudah terhubung.
Set semua env var lewat vercel env add <NAMA> atau dashboard, lalu jangan lupa
NEXT_PUBLIC_APP_URL (lihat .env.example) — harus persis domain produksi karena
dipakai sebagai redirect_uri OAuth.
4. Deploy ulang setelah env var diisi
vercel --prod5. Sambungkan ke Gemini Spark
Di Gemini Spark (atau Claude → Settings → Connectors → Add custom connector), masukkan:
https://<domain-mu>/api/mcpKlik tersambung → server ini akan merespons dengan metadata OAuth → Gemini Spark
membuka halaman /connect di browser → tombol Hubungkan GitHub, lalu Hubungkan
Vercel (atau otomatis "Terhubung" kalau pakai Mode B) → tombol Izinkan & lanjutkan.
Setelah itu Gemini Spark mendapat token akses dan tool-tool di bawah langsung bisa dipakai.
Daftar tool
Tool | Fungsi |
| Info akun GitHub yang terhubung |
| Daftar repo |
| Buat repo baru |
| Hapus repo |
| Push banyak file dalam satu commit |
| Tambah/update satu file |
| Daftar project Vercel |
| Daftar deployment |
| Cek status satu deployment |
| Deploy langsung dari kumpulan file |
| Deploy dari repo GitHub yang sudah ada |
| Set environment variable project |
| Alur gabungan: buat repo → push file → deploy ke Vercel, satu panggilan |
Catatan keamanan
Ini scaffold yang sudah jalan penuh (bukan mock), tapi beberapa hal masih sengaja disederhanakan supaya mudah dipahami/dimodifikasi — kalau mau dipakai serius/lintas banyak pengguna, pertimbangkan tambahan berikut sebelum go-live:
Token sesi (
access_tokenkita sendiri) saat ini tidak kedaluwarsa selama 30 hari dan tidak ada mekanisme refresh/revoke dari sisi pengguna — tambahkan halaman "disconnect" kalau perlu.Token GitHub/Vercel disimpan apa adanya di Upstash Redis (terenkripsi saat transit & saat disimpan oleh Upstash, tapi tidak dienkripsi tambahan oleh kode ini) — tambahkan enkripsi di lapisan aplikasi kalau datanya sensitif.
vercel_deploy_from_githubhanya berhasil kalau akun Vercel-mu sudah menautkan GitHub App-nya sendiri ke repo terkait; kalau belum, pakaivercel_deploy_files/deploy_projectyang tidak butuh itu.
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-qualityDmaintenanceA powerful Model Context Protocol (MCP) server enabling seamless Vercel project management, including deployments, domains, environment variables, and team configurations through Cursor's Composer or Codeium's Cascade.Last updated2,81562MIT
- AlicenseCquality-maintenanceAn MCP server that provides tools for interacting with Vercel API, enabling management of deployments, DNS records, domains, projects, and environment variables through natural language.Last updated72,81519
- AlicenseBqualityDmaintenanceAn MCP server that provides various tools for interacting with the Vercel API, enabling management of deployments, DNS records, domains, projects, and environment variables through natural language commands.Last updated72,81520MIT
- Flicense-qualityDmaintenanceAn MCP server that enables Git repository operations and GitHub PR workflows, allowing users to manage repositories, create branches, commit changes, and create pull requests through natural language.Last updated2
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server that gives your AI access to the source code and docs of all public github repos
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/AditechIO7x/gemini-spark-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server