Install google-mcp-server for Opencode
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, node.js, shell
- Área
- infrastructure
Línea de trabajo
Primero lee los pasos existentes de clonado del proyecto e instalación en los scripts de configuración de este repo, para copiar sus convenciones de ruta de checkout e idempotencia; dotfiles' config/opencode/opencode.jsonc muestra la ruta absoluta requerida. Añade un paso que clone google-mcp-server en ~/Projects, ejecute npm ci y npm run build (Node >= 24), y copie GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET desde system-scripts/.env sin hacer commit de ellos. Condiciona el npm run auth interactivo a una confirmación explícita y, después, verifica que node ~/Projects/google-mcp-server/dist/index.js termina limpiamente cuando se cierra stdin.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Shell
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 7 h 8 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de garretpatten/fedora-setup-scripts
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Todos los issues de garretpatten/fedora-setup-scripts
Issues similares
-
type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nightgauge/nightgauge#3480 ·
Los mantenedores suelen responder en 1 día
-
area: cli difficulty: easy enhancement good first issue help wanted mentor available
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hayagrivai-labs/phantom#297 ·
-
[Bug]: Modules fail to load with -EINVAL on a self-built kernel (split BTF type IDs do not match the image's modules)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoGood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
armbian/build#11476 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
data only (no code) documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Retire schema.sqlAbiertoarch module:platform phase:3 size:S type:chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
gtech-mulearn/mulearnbackend#3354 ·
Los mantenedores suelen responder en 1 día