git: add prompts to demonstrate the Prompts feature
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 57/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 91.6k
- Fork
- 11.9k
- Merge trung bình
- 6 giờ 37 phút
- Pull request đã merge (30 ngày)
- 147
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modelcontextprotocol/servers
-
Clear the four CodeQL alerts in the release scripts (replaceAll for %2F, comment-line check)Đang mởchore v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
modelcontextprotocol/servers#5261 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(git): clarify unconfined default scope and repository confinement options in README and CLIĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
modelcontextprotocol/servers#5231 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(git): clarify unconfined default scope and repository confinement options in README and CLIĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
modelcontextprotocol/servers#5230 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
git: README should state plainly that without --repository every reachable repository is in scopeĐang mởdocumentation server-git v2
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
modelcontextprotocol/servers#5225 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
modelcontextprotocol/servers#5223 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelcontextprotocol/servers
Issue tương tự
-
支持对已取消(cancelled)任务生成报告Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Clouditera/VulnHunter#57 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug bug:behavior clawsweeper:bulk-filed clawsweeper:fix-shape-clear clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
openclaw/openclaw#185297 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apex-dev-tools/apex-log-parser#199 ·
Maintainer thường phản hồi trong vòng 1 ngày