GitHub Releases MCP Server
Provides tools for accessing, comparing, and analyzing GitHub repository releases with rich formatting and detailed information.
README
GitHub Releases MCP Server
A powerful Model Context Protocol (MCP) toolkit for GitHub releases management. This server provides comprehensive tools for accessing, comparing, and analyzing GitHub repository releases with rich formatting and detailed information.
Features
- 🔍 Detailed Release Information: Get comprehensive details about specific releases
- 📊 Version Comparison: Compare changes between any two versions
- 📋 Release Listing: Get formatted lists of releases with filtering options
- 🏷️ Semantic Version Support: Handles various version formats (v1.0.0, @1.0.0, 1.0.0)
- 🎯 Pre-release Filtering: Option to include or exclude pre-releases
- 📝 Rich Formatting: Emoji-enhanced output for better readability
- 🔄 Pagination Support: Handles repositories with many releases
- 🔒 Authentication: Optional GitHub token support for private repositories and extended rate limit
Configuration
The server accepts the following optional environment variables:
GITHUB_PERSONAL_ACCESS_TOKEN: GitHub Personal Access Token (optional). If provided, it will be used to authenticate API requests, allowing for higher rate limits and access to private repositories.
Quick Start
You can run this MCP server using npx:
# Using environment variables
GITHUB_PERSONAL_ACCESS_TOKEN=your_token npx @slinerodev/github-releases-mcp
# Or using a .env file
echo "GITHUB_PERSONAL_ACCESS_TOKEN=your_token" > .env
npx @slinerodev/github-releases-mcp
Client Configuration
The server can be used with various MCP clients. Add the following configuration to your client's config file:
- Cursor:
~/.cursor/mcp.json - VS Code:
.vscode/settings.json(usemcp.serversinstead ofmcpServers) - Claude Desktop:
claude_desktop_config.json - Windsurf:
windsurf_config.json
Using Published Version
{
"mcpServers": {
"github-releases": {
"command": "npx",
"args": [
"-y",
"@slinerodev/github-releases-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_token_here"
}
}
}
}
Using Local Development Version
{
"mcpServers": {
"github-releases": {
"command": "npx",
"args": [
"-y",
"tsx",
"${workspaceRoot}/main.ts"
]
}
}
}
Note:
- For VS Code, replace
mcpServerswithmcp.serversin the configuration. - Replace
your_token_herewith your GitHub Personal Access Token if you want to access private repositories or need higher rate limits.
Available Tools
The server provides three specialized tools for working with GitHub releases:
1. github_release_info
Get detailed information about a specific release version.
const result = await mcp.invoke("github_release_info", {
owner: "owner-name",
repo: "repo-name",
version: "1.0.0" // Supports v1.0.0, @1.0.0, 1.0.0
});
Perfect for:
- Understanding what changed in a specific version
- Documentation purposes
- Release note retrieval
2. github_releases_compare
Compare changes between two versions.
const result = await mcp.invoke("github_releases_compare", {
owner: "owner-name",
repo: "repo-name",
fromVersion: "1.0.0",
toVersion: "2.0.0"
});
Perfect for:
- Generating changelogs
- Understanding feature evolution
- Migration guides
- Breaking change analysis
3. github_releases_list
List all releases with filtering options.
const result = await mcp.invoke("github_releases_list", {
owner: "owner-name",
repo: "repo-name",
limit: 10, // Optional: limit number of releases
includePreReleases: false // Optional: include pre-releases
});
Perfect for:
- Project release history overview
- Finding latest versions
- Release frequency monitoring
- Pre-release tracking
Example Response Format
All tools return responses in a consistent, emoji-enhanced format:
🔖 v1.0.0 (First stable release)
🗓️ 2024-03-15T10:30:00Z
📝 This is the release description...
---
🔖 v0.9.0 (Beta) (Pre-release)
🗓️ 2024-03-01T08:15:00Z
📝 Beta version with new features...
Error Handling
The tools handle various error cases gracefully:
- Invalid repository names
- Non-existent versions
- Invalid version formats
- API rate limits
- Network issues
- Authentication errors
Each error returns a clear message explaining what went wrong.
Development
-
Install dependencies:
pnpm install -
Run the server:
pnpm start
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
ISC
Author
Sergio Linero
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。