Skip to main content
Glama

github-mcp

GitHub の書き込みアクセスをツールとして公開する、最小構成のセルフホステッ MCP サーバーです。接続された Claude アカウントが、人間が毎回手動で git push するこなくてもコードをプッシュできるようになります。

ツール

ツール

説明

get_repo

デフォルトブランチ、private フラグ、最終プッシュ時刻を取得

list_branches

ブランチを一覧する

list_directory

指定したパスのファイル/フォルダを一覧する

get_file

ファイルのデコード済みコンテンツツ + blob の sha を取得

commit_files

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 を指すカスタムコネクタとして追加してください。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Connects Claude Desktop to GitHub repositories, enabling users to perform git operations and GitHub API interactions through natural conversation.
    452
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Connects 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
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables to interact with GitHub repositories directly from Claude, supporting actions like viewing repos, checking status, committing and pushing changes, and managing pull requests.

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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