github-mcp
github-mcp
GitHub の書き込みアクセスをツールとして公開する、最小構成のセルフホステッ MCP サーバーです。接続された Claude アカウントが、人間が毎回手動で git push するこなくてもコードをプッシュできるようになります。
ツール
ツール | 説明 |
| デフォルトブランチ、private フラグ、最終プッシュ時刻を取得 |
| ブランチを一覧する |
| 指定したパスのファイル/フォルダを一覧する |
| ファイルのデコード済みコンテンツツ + blob の sha を取得 |
| 1つのコミットで1つ以上のファイルを原子的に作成/更新する (Git Data API: blobs → trees → commit → ref update) — フォルダまるごとを一括にプッシュするにはこれを使用してください |
Related MCP server: GitHub MCP Server
セキュリティ — デプロイ前に必ず読んでください
GITHUB_TOKEN は環境変数として、Manufact (まกたは Render) ダッシュボードの環境変数 UI に直接設定してください。AI アシスタンとのチャットに貼り付けたり、本レポジトリにコミットしたり、ツールの引数として渡したりしないでください。サーバーは process.env からしか読み取りません。トークンをチャットに貼り付けてしまった場合は、漏えいしたものとして失効させ、新しいバーンを生成してダッシュボードで設定し直してください。
推奨トークンスコープ: fine-grained PAT、Contents: Read & write、アクセス対象のレポジトリに限定してください。クラシックな全レポジトリ・トークンは避けてください。
環境変数
GITHUB_TOKEN— ファイングレーン PAT、Contents: Read & write、対象レポジトリにスコープPORT— デフォルトは 8080
ローカル実行
npm install
npm start
curl localhost:8080/api/healthデプロイ
このレポジトリを GitHub にプッシュしてください (最初のプッシュは手動で行う必要があります — ブートストラップの問題で、このサーバーは自分自身をプッシュして存在を生み出すことはできません)。
Manufact:deploy (point at the repo)Manufact は Dockerfile から自動的に一ブルドします。デプロイ後、Manufact の環境変数 UI に GITHUB_TOKEN を設定し、サービスを再起動してください。
Claude カウントをこのサーバに接続する
https://<your-manafacturing-domain>/mcp を指すカスタムコネクタとして追加してください。
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 Servers
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Claude Desktop to GitHub repositories, enabling users to perform git operations and GitHub API interactions through natural conversation.452
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Claude Desktop directly to GitHub repositories and git commands, enabling users to clone repos, check status, commit changes, push code, create repositories, and manage GitHub resources through natural conversation.452
- FlicenseNot gradedqualityCmaintenanceEnables to interact with GitHub repositories directly from Claude, supporting actions like viewing repos, checking status, committing and pushing changes, and managing pull requests.
- FlicenseNot gradedqualityBmaintenanceEnables claude.ai to connect to GitHub MCP using OAuth, providing full toolset for repository, issue, PR, Actions, and gist operations.
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
AI code review for GitHub PRs with an MCP autofix loop for Claude Code and Cursor
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/jayhunsu-ai/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server