GitHub Stars MCP Server
GitHub Stars MCP Server
A Model Context Protocol (MCP) server for managing GitHub stars with vector storage, RAG-based Q&A, and Gitea backup.
Features
list_stars - List GitHub starred repositories
sync_stars - Sync and vectorize stars
search_projects - Semantic vector search
ask_about_projects - RAG-based Q&A
fork_to_gitea - Backup projects to Gitea
list_backed_up - List backed up projects
get_project_info - Get project details
Installation
cd github-star-mcp
pip install -e .Configuration
Create the config directory and copy the config template:
mkdir -p ~/.github-star-mcp
cp config.yaml.example ~/.github-star-mcp/config.yamlEdit
~/.github-star-mcp/config.yamlwith your settings:
github_token: your_github_token
github_username: your_username
gitea:
url: http://localhost:3000
token: your_gitea_token
username: your_username
llm:
provider: anthropic # anthropic | openai | ollama
api_key: your_api_key
model: claude-sonnet-4-20250514
base_url: "" # Custom base URL for OpenAI compatible APIs
database:
path: ~/.github-star-mcp/data.dbUsage
Command Line
github-star-mcp --github-token your_token --github-username your_userClaude Desktop
Add the following to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"github-star-mcp": {
"command": "github-star-mcp",
"env": {
"GITHUB_STAR_GITHUB_TOKEN": "your_token",
"GITHUB_STAR_GITHUB_USERNAME": "your_user",
"LLM_API_KEY": "your_key"
}
}
}
}Dependencies
LanceDB - Embedded vector database (auto-created at
~/.github-star-mcp/vectors/)Gitea - Optional, for backup
SQLite - Auto-created, for local storage
Anthropic API - Optional, for RAG Q&A
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/harunme/github-star-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server