Skip to main content
Glama
GitHub Releases MCP Server

GitHub Releases MCP Server

by SLineroDev

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

Related MCP server: GitHub MCP Server

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 (use mcp.servers instead of mcpServers)

  • 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 mcpServers with mcp.servers in the configuration.

  • Replace your_token_here with 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

  1. Install dependencies:

    pnpm install
  2. Run the server:

    pnpm start

Contributing

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add some amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

License

ISC

Author

Sergio Linero

Available Tools

5 tools
github_org_packagesA

List all packages for a GitHub organization. Returns detailed information about each package including its name, type, visibility, and repository details. Perfect for discovering available packages and their metadata in an organization.

Inputs: org (required), visibility, package_type.

github_release_infoA

Get detailed information about a specific GitHub release version. Supports semantic versioning formats (v1.0.0, @1.0.0, 1.0.0) and returns comprehensive release details including tag name, release title, publication date, and full release notes. Perfect for understanding what changed in a specific version or for documentation purposes.

Inputs: repo (required), owner (required), version (required), package.

github_releases_compareA

Compare changes between two GitHub release versions. Ideal for understanding what changed between versions, generating changelogs, or migration guides. Returns a chronological list of all releases between the two versions with their full release notes, making it perfect for analyzing the evolution of features, bug fixes, and breaking changes. Supports semantic versioning formats (v1.0.0, @1.0.0, 1.0.0).

Inputs: repo (required), owner (required), toVersion (required), fromVersion (required), +1 more.

github_releases_listA

List all GitHub releases for a repository with rich formatting and comprehensive details. Returns releases in chronological order with emojis for better readability (πŸ”– for versions, πŸ—“οΈ for dates, πŸ“ for descriptions). Perfect for getting an overview of a project's release history, finding the latest version, or monitoring release frequency. Supports pagination and filtering of pre-releases.

Inputs: repo (required), owner (required), limit, package, +1 more.

github_repo_readmeA

Fetch the README file for a GitHub repository and return its plain text content. Useful for discovering package names and documentation in monorepos.

Inputs: repo (required), owner (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation2/5

    The first three tools are clearly about GitHub releases, but the last two (github_org_packages and github_repo_readme) are for entirely different purposes, creating confusion about the server's scope. An agent could mistakenly use these unrelated tools when trying to perform release operations.

    Naming Consistency2/5

    The release tools follow a consistent 'github_release_*' pattern, but the other two tools break this pattern with 'github_org_packages' and 'github_repo_readme', leading to inconsistency in the naming scheme.

    Tool Count3/5

    With 5 tools, the count is reasonable, but the inclusion of two unrelated tools makes the set seem thin for a dedicated releases server. A releases-focused set would benefit from more release-specific operations.

    Completeness2/5

    The release tools cover info, compare, and list, but lack essential CRUD operations like create, update, or delete releases. Additionally, the org packages and README tools are unrelated and do not fill any obvious gaps in the release workflow.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers