Install google-mcp-server for Opencode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 70/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- bash, node.js, shell
- Ambito
- infrastructure
Direzione di ricerca
Leggi prima i passaggi esistenti di clonazione del progetto e di installazione negli script di setup di questo repo, per riprendere le loro convenzioni su percorso di checkout e idempotenza; dotfiles' config/opencode/opencode.jsonc mostra il percorso assoluto richiesto. Aggiungi un passaggio che clona google-mcp-server in ~/Projects, esegue npm ci e npm run build (Node >= 24) e copia GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET da system-scripts/.env senza committarli. Metti il npm run auth interattivo dietro una richiesta di conferma esplicita, poi verifica che node ~/Projects/google-mcp-server/dist/index.js termini correttamente quando stdin viene chiuso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
A new MCP server, garretpatten/google-mcp-server, now provides Google Calendar and Google Tasks (read/write) to opencode over stdio. It authenticates with the published Google OAuth app shared with system-scripts/backups.
The opencode configuration in garretpatten/dotfiles (config/opencode/opencode.jsonc) already references the server:
"mcp": {
"google": {
"type": "local",
"command": ["node", "/home/garret/Projects/google-mcp-server/dist/index.js"],
"enabled": true,
},
}
The path is machine-specific (absolute), so the setup script must produce that checkout.
Task
Add installation of google-mcp-server to this repository's setup flow so the opencode config works on a fresh machine:
- Clone
https://github.com/garretpatten/google-mcp-serverinto the conventional projects location (e.g.~/Projects/google-mcp-server) — same convention used for other project clones in this repo's scripts. - Run
npm ciandnpm run build(Node >= 24; the repo declaresengines). - Copy the Google OAuth client credentials (
GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET) fromsystem-scripts/.envinto the new repo's.env(never commit them). - Prompt the user to run
npm run authonce — an interactive browser consent flow that storesGOOGLE_REFRESH_TOKENin the repo's.env. This requires user interaction, so gate it or make it an explicit opt-in step rather than an unattended script. - Verify:
node ~/Projects/google-mcp-server/dist/index.jsstarts cleanly (it is a stdio MCP server; exiting cleanly on stdin close is success).
No changes are needed in dotfiles — its opencode.jsonc already consumes the server and sets permissions (read tools allow, write tools ask). Only the installation/checkout step belongs here.
References
- Lingua principale
- Shell
- Stelle
- 1
- Fork
- 0
- Merge medio
- 7h 8m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di garretpatten/fedora-setup-scripts
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Tutte le issue di garretpatten/fedora-setup-scripts
Issue simili
-
bug sev-3
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
nightgauge/nightgauge#3480 ·
I maintainer di solito rispondono entro 1 giorno
-
area: cli difficulty: easy enhancement good first issue help wanted mentor available
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hayagrivai-labs/phantom#297 ·
-
effort:s impact:low raised-by:worker risk:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
medici-finance/assay#7363 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Modules fail to load with -EINVAL on a self-built kernel (split BTF type IDs do not match the image's modules)Forse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaGood first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
armbian/build#11476 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno