Skip to content

Conversation

@talalryz
Copy link
Owner

@talalryz talalryz commented Dec 8, 2025

Closes:

Talal Riaz and others added 9 commits October 13, 2025 23:54
This adds HTTP server mode to the GitHub MCP Server, enabling multi-client
support with "bring your own token" OAuth functionality. This is useful for
enterprise scenarios where a single MCP server instance handles multiple
external clients, each authenticating with their own credentials.

Key changes:
- Add `http` command to start HTTP server on configurable port (default 8080)
- Support per-request OAuth tokens via Authorization header
- Fall back to GITHUB_PERSONAL_ACCESS_TOKEN env var if no header provided
- Modify client factories to extract token from request context
- Add comprehensive HTTP server documentation to README

This implementation is inspired by PR github#888 by @Dreadnoth, updated to work
with the current codebase architecture and dependencies.

Co-authored-by: Dreadnoth <[email protected]>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
* Add "trust" option to MCP server configuration for bypassing confirmations

* Additional configuration

* Add co-author

Co-authored-by: Michael Vorburger <[email protected]>

---------

Co-authored-by: Michael Vorburger <[email protected]>
* adding better response

* adding check for subdomain isolation and return raw resp for better better llm response

* adding subdomain for uploads too

* remove unnecessary comments

* better error message

* fix linter
* Add additional toolsets in remote mcp

* Add copilot

* Fix urls

* Move copilot and spaces toolsets to remote-only section

---------

Co-authored-by: LuluBeatson <[email protected]>
* docs: add github_support_docs_search to REMOTE server

* add copilot_spaces

* fix typos

* Add support tool to remote toolsets table
* add toolset default to make configuration easier

* fix readme

* adding transformer to cleanly handle special toolsets

* cleaning code

* fixing cli message

* remove duplicated test

* Update internal/ghmcp/server.go

Co-authored-by: Copilot <[email protected]>

* Update internal/ghmcp/server_test.go

Co-authored-by: Copilot <[email protected]>

* adding error message for invalid toolsets

* fix merge conflict

* add better formatting

---------

Co-authored-by: Copilot <[email protected]>
@talalryz talalryz merged commit 0784de8 into main Dec 8, 2025
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants