github

command
v0.0.0-...-e1c17e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

README

GitHub Developer Platform

A variant-aware MCP server that exposes different tool sets for different agent types, mirroring the GitHub MCP Server pattern described in SEP-2053's Prior Art section.

Pattern demonstrated: Different tool sets per variant with custom ranking.

Variants

Variant Tools Description
code-review list_pull_requests, get_diff, add_review_comment PR operations and code review
project-management list_issues, create_issue, add_label Issue tracking and labels
security-readonly list_security_alerts, get_advisory Security scanning (read-only)
ci-automation list_workflow_runs, trigger_workflow CI/CD workflow management

Custom Ranking

Clients send a "domain" hint during initialization. The ranking function boosts variants whose domain hint matches the client's requested domain, falling back to priority order.

Run

go run ./examples/server/github

Connect any MCP client to http://localhost:8080.

Demo

See mcp-inspector-variants-demo.mp4 for a walkthrough using MCP Inspector.

Documentation

Overview

Example: GitHub MCP Server — a developer productivity platform that exposes different tool sets for different agent types using MCP server variants. This mirrors the GitHub MCP Server pattern described in SEP-2053's Prior Art section, where a single server exposes code review, project management, security, and CI/CD tools as separate variants with custom ranking.

Capability demonstrated: Different tool sets per variant, custom ranking.

Variants:

  • code-review: PR operations, diffs, and review comments
  • project-management: issue tracking, labels, and assignments
  • security-readonly: security scanning alerts and advisories (read-only)
  • ci-automation: CI/CD workflow management and dispatch

Run:

go run ./examples/server/github

Then connect any MCP client to http://localhost:8080.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL