rockin-worker
Provides tools to sync and query GitHub repositories, including getting top repositories by stars and searching by name.
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., "@rockin-workerShow me the top 5 GitHub repos by stars."
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.
Rockin Worker — GitHub Sync
Mini-worker que sincroniza repositorios de GitHub, los persiste de forma idempotente en SQLite, y expone una Tool para consultarlos (vía CLI y vía servidor MCP).
Setup
Clona el repositorio
Instala las dependencias:
npm install
Copia
.env.examplea.envy añade tu token de GitHub:
GITHUB_TOKEN=
El token necesita el scope public_repo (solo lectura de repos públicos).
Related MCP server: GitHub MCP Server
Cómo ejecutar
Sync (trae y guarda los repos)
npx tsx src/sync.ts
Tool - top items por estrellas (vía CLI)
npx tsx src/tool.ts getTopItems --limit 5
Tool - búsqueda por nombre (vía CLI)
npx tsx src/tool.ts searchByName --query Fin
Servidor MCP (expone ambas tools vía protocolo MCP)
npx tsx src/mcp-server.ts
Tests
npm test
Decisiones y trade-offs
SQLite en vez de JSON: elegí SQLite porque la atomicidad de las transacciones viene prácticamente gratis, evitando problemas de corrupción si el proceso se interrumpe a mitad de escritura.
Clave natural para idempotencia: uso el
idde GitHub como PRIMARY KEY, ya que es único e inmutable para cada repositorio. Esto permite hacer upsert real: si el repo ya existe, se actualiza; si no, se inserta.API elegida - GitHub: elegí GitHub por su reproducibilidad y facilidad de autenticación con un PAT de solo lectura.
Reintentos con backoff y jitter: distingo errores recuperables (429/5xx) de no recuperables (401/404). Solo reintento los recuperables, con backoff progresivo (1s, 2s, 3s) más una variación aleatoria (jitter) de hasta 500ms, para evitar que múltiples reintentos coincidan exactamente en el tiempo.
node:sqlite en vez de better-sqlite3: better-sqlite3 requería compilar con Python, que no tenía configurado. node:sqlite viene integrado en Node.js (v22+) sin dependencias externas ni compilación.
Servidor MCP: expuse dos tools (
getTopItemsysearchByName) como servidor MCP (stdio) usando el SDK oficial de Anthropic, permitiendo que un agente se conecte directamente y las use, replicando el patrón real de producción de Rockin.
Governance
Mínimo privilegio: el token usado tiene scope
public_repo(solo lectura de repositorios públicos), sin permisos de escritura ni acceso a datos privados.Sin PII: los datos sincronizados (id, nombre, estrellas de repositorios) no contienen información personal identificable.
Auditoría: el resumen de ejecución del sync (
fetched, inserted, updated, skipped, errors, apiCalls, durationMs) sirve como registro auditable mínimo de cada ejecución.Coste controlado: existe un tope
maxPages(actualmente 5) como válvula de seguridad frente a volúmenes inesperados de datos.
Qué haría con más tiempo
Implementar sync incremental usando un watermark (
updated_after) para reducir el número de llamadas a la API en sincronizaciones sucesivas.Añadir más tests, incluyendo el comportamiento de la Tool con el caso vacío y del servidor MCP.
Tiempo dedicado
Aproximadamente 9-10 horas, repartido en dos sesiones (sábado y domingo).
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-qualityDmaintenanceProvides MCP servers for GitHub API operations and SQL database queries, enabling users to interact with GitHub repositories and databases through natural language.3MIT
- Alicense-qualityDmaintenanceAn MCP server that provides tools for interacting with the GitHub API, enabling AI assistants to query repositories, pull requests, issues, commits, users, and more.467ISC
- AlicenseAqualityBmaintenanceMCP server that enables AI assistants to look up and analyze GitHub repositories, including stars, forks, description, open issues, and README content.268MIT
- AlicenseBqualityCmaintenanceA comprehensive MCP server that exposes 73 GitHub API tools for managing repositories, pull requests, issues, actions, releases, search, and more, enabling natural language control of GitHub.73MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
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/BryantJavaInt/rockin-worker'
If you have feedback or need assistance with the MCP directory API, please join our Discord server