feat: add GitHub remote MCP server and merge enterprise into local - #9
Merged
Conversation
- com.github-mcp: Merge local + enterprise into one definition with optional GITHUB_HOST input (leave empty for GitHub.com, set for GHES/ghe.com) - com.github-mcp-http: Add remote HTTP server at api.githubcopilot.com/mcp/ with OAuth (note: DCR not supported, requires pre-registered OAuth app) https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
GitHub's remote MCP endpoint supports both OAuth and PAT bearer token authentication. Added optional GITHUB_TOKEN input for hosts that don't have pre-registered GitHub OAuth Apps. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
Schema change:
- Added optional 'headers' field to HTTP transport with ${input:ID} placeholder support
GitHub remote definition:
- Added Authorization header: "Bearer ${input:GITHUB_TOKEN}"
- Changed auth type from oauth to api_key (PAT-only, no DCR/OAuth)
- Made GITHUB_TOKEN required
- Platform does not use DCR or pre-registered OAuth clients
https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
…match - Add `default` property to input schema - Add default value "https://api.github.com" to GITHUB_HOST input - Fix input ID mismatch: GITHUB_TOKEN → GITHUB_PERSONAL_ACCESS_TOKEN to match env var https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
…-nYwV7 # Conflicts: # schemas/server-definition.schema.json
its-mash
added a commit
that referenced
this pull request
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
New Server Definition
Server Name:
Server ID:
Transport: stdio / http
Repository:
Checklist
servers/directorycom.example.server.json)npm run validate servers/your-file.json)npm run check-conflicts)id,name,transport