github-mcp-wrapper
Provides a proxy wrapper for GitHub's MCP server, handling GitHub App authentication and forwarding MCP requests to GitHub's MCP endpoint.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@github-mcp-wrapperlist my open pull requests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
github-mcp-wrapper
GitHub の MCP サーバーへの接続を肩代わりする薄いサーバー。
呼ぶ側(tsuzuri の runner)はこのサービスの URL だけを知っていればよく、GitHub App の秘密鍵を一切持たない、という形にするための repo。
before: runner ──MCP──> api.githubcopilot.com (runner が App の秘密鍵を持つ)
after: runner ──MCP──> このサービス ──MCP──> api.githubcopilot.comlinear-mcp-wrapper と対になる repo。 中身の作りは揃えてある。
いまの状態: 置いただけ
まだサーバーとして動かない。 tsuzuri から認証まわりのコードを退避させただけで、
プロキシ本体(src/main.py)はまだ無い。tsuzuri 側もまだ何も消していないので、
そちらは今までどおり直接 GitHub を見ている。
ファイル | 出どころ |
| tsuzuri の |
| tsuzuri の |
| tsuzuri の |
| tsuzuri の |
GITHUB_REPO は持ってきていない。あれは「繋ぐのをやめる口」で、呼ぶ側の判断なので
tsuzuri に残っている。
src/auth.py の docstring で、もう合っていない記述
そのままコピーした副作用。中身の理屈は全部生きているが、参照先の名前だけが古い。
「
linear.pyと対になる場所」— そのlinear.pyは linear-mcp-wrapper のsrc/auth.pyになった「
config.pyの Linear の項と同じ理由」— 同上「MCP サーバーへの接続ヘッダに使う(
mcp_tools.github)。唯一の呼び出し元。」— ここを呼ぶのは、これから書くプロキシ本体になる
「REST を直接叩くのはトークン交換の 1 本だけ。それ以外を足さないこと」は生きている。 repo が別になって足しやすくなったぶん、むしろここから効く。
Related MCP server: github-mcp
これから書くもの
プロキシ本体(
src/main.py)。 ここが本番。素通しの HTTP プロキシでは済まない:POST のレスポンスが JSON のことも SSE のこともある (クライアントは
Accept: application/json, text/event-streamで来る)別に GET で長寿命の SSE を張る(サーバー→クライアント方向。切れたら再接続してくる)
mcp-session-idとmcp-protocol-versionを両方向で素通しする必要があるセッション終了は DELETE
バッファしないこと。
await response.json()で受けると SSE がそこで固まる
呼ぶ側の認証。 クライアントから来る
Authorizationは Cloud Run の OIDC ID token にして、ここで installation token(auth.py)に差し替える。 Cloud Run は--no-allow-unauthenticatedで立てるツールの絞り込み(あとで)。 いまは tsuzuri 側の
IMPLEMENT_TOOL_FILTERがget_file_contents,list_commits,get_commitの 3 本に絞っている。動いてから移す
3 をやるときに知っておくこと
上流のツールを全部そのまま渡すと、呼ぶ側のモデル呼び出しごと落ちる。
GitHub の MCP は 90 本を超えて公開していて、Vertex の function declaration が
受け付けないスキーマが混ざっていると 400 INVALID_ARGUMENT になる(tsuzuri で実測)。
create_branch / push_files / create_or_update_file を許可リストに入れないこと。
レビューを通る前の実装が GitHub へ出ていく。URL が readonly なので二重に締まっているが、
その readonly がこちら側に移ったことで、呼ぶ側からは外せなくなった。
開発
uv syncローカルでは GITHUB_TOKEN(PAT)を入れれば App の交換を通らずに済む。
Cloud Run では App ID + installation ID + 秘密鍵(Secret Manager)を使う。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
- SupabaseOAuthcom.supabase
MCP server for interacting with the Supabase platform
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA lightweight stdio-to-http relay that enables the GitHub MCP server to authenticate using a GitHub App instead of a Personal Access Token. It automatically manages fine-grained permissions and short-lived tokens for secure, organizational AI agent workflows.MIT
- AlicenseBqualityAmaintenanceSelf-hosted GitHub MCP server for PR, repo file, and Dependabot operations, supporting multiple MCP clients with personal access token auth.7MIT
- AlicenseBqualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.1514MIT
- AlicenseNot gradedqualityAmaintenanceA remote MCP server that gives MCP clients authenticated access to GitHub: repos, issues, pull requests, file contents, and search, over a proper OAuth 2.1 handshake. Runs on Cloudflare Workers.1Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hotaka052/github-mcp-wrapper'
If you have feedback or need assistance with the MCP directory API, please join our Discord server