
GitHub Stars
HTTP-SSEMCP server for searching GitHub starred repositories using natural language
MCP server for searching GitHub starred repositories using natural language
A Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
English | 简体中文
This project creates a searchable database of your GitHub starred repositories by:
repo
scopeClone this repository
Set up Cloudflare R2:
Configure GitHub Secrets for the CI/CD workflow:
GH_TOKEN
: GitHub token for fetching starred repositoriesR2_ACCOUNT_ID
: Cloudflare account IDR2_ACCESS_KEY_ID
: R2 access keyR2_SECRET_ACCESS_KEY
: R2 secret keyR2_BUCKET
: R2 bucket nameConfigure Cloudflare AutoRAG:
AUTO_RAG_NAME
environment variable in your Cloudflare WorkerMCP_API_KEY
: API key for securing MCP server access (generate a secure random string)To develop locally:
# Install dependencies pnpm install # Fetch your GitHub stars locally pnpm dev:stars # Run MCP server locally pnpm dev:mcp
Deploy to Cloudflare Workers:
pnpm deploy
The GitHub Action will automatically:
Once deployed, you can interact with the MCP Server using any MCP-compatible client:
The MCP server requires API key authentication for security. Include your MCP_API_KEY
in the request headers:
Authorization: Bearer your-mcp-api-key
Streamable HTTP: https://your-worker-url.workers.dev
search_github_stars
Searches through your starred GitHub repositories.
Parameters:
query
(string): Natural language query to search repositoriesResponse: