Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

git: add prompts to demonstrate the Prompts feature

オープン
#5,195 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Start with src/git/src/mcp_server_git/server.py and read CONTRIBUTING.md for how reference servers demonstrate protocol features. Inspect the existing helpers and their tests to understand repository confinement and flag-injection guards, then determine how prompts can reuse them for staged diffs or working-tree changes. Done means adding a small number of data-backed prompts that follow those constraints; the specific prompts are a maintainer decision.

索引モデルが issue の本文から書いたものです。

説明

enhancement server-git v2
Problem

The git server registers tools only (src/git/src/mcp_server_git/server.py). CONTRIBUTING.md asks the reference servers to demonstrate protocol features beyond Tools, and Prompts are a natural fit here.

Proposal

Add a small number of data-backed prompts, for example one that embeds the staged diff and asks for a commit message, and one that summarizes working-tree changes. They should reuse the existing helpers so the --repository confinement and flag-injection guards apply unchanged. Whether and which prompts to add is a maintainer's call.

Prior work
  • #4297 by @Ewertonslv

The PR(s) above targeted the pre-refactor code and are closed as part of the backlog triage in #4875; this issue is where the work continues, with the PR(s) as a prototype. Thank you to their authors.

主要言語
TypeScript
スター
91.6k
フォーク
11.9k
平均マージ
6時間 37分
マージ済み PR(30日)
147

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/servers のほかの issue

modelcontextprotocol/servers の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。