Schema quality: 20 required parameters missing descriptions, 92 optional parameters undescribed
@RossTarrant 已經在處理了。
開始於 2026年6月1日。
評估
這個 Issue 還沒有評估資料。
描述
Running static schema analysis on the GitHub MCP server reveals 112 issues (20 errors, 92 warnings) across 26 tools. The most impactful: required parameters with no description, which forces AI agents to guess what values to provide.
Summary:
| Severity | Count | Impact |
|---|---|---|
| Error (E103) | 20 | Required parameters with no description |
| Warning (W102) | 72 | Optional parameters with no description |
| Warning (W103) | 20 | Required string params with no enum/pattern/example |
Examples of what agents see:
create_issue requires title and body with no description. An agent doesn't know:
- Is
bodyplain text or markdown? - What's the maximum length?
- Should
titleinclude a prefix like[BUG]?
search_repositories requires query with no description. An agent doesn't know:
- Is this GitHub search syntax (
language:go stars:>100)? - Or plain text?
- What qualifiers are available?
create_pull_request requires title, body, head, base with no descriptions. An agent must guess:
- Is
heada branch name or a ref likerefs/heads/feature? - Is
baserequired to bemainor can it be any branch?
What good parameter descriptions look like:
{
"name": "query",
"type": "string",
"description": "GitHub search query using search syntax (e.g. 'language:go stars:>100'). See https://docs.github.com/en/search-github/searching-on-github"
}
How this was found:
mcp-assert lint --server "npx -y @modelcontextprotocol/server-github"
Adding descriptions to required parameters would significantly reduce agent misuse of these tools.
- 主要語言
- Go
- 星號
- 33.1k
- 分支
- 5k
- 平均合併
- 2 天 1 小時
- 30 天內合併 PR
- 25
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/github-mcp-server 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
github/github-mcp-server#3235 ·
-
enhancement
難度 1/5 1 小時以內 新手友好度 88/100
github/github-mcp-server#3042 · 2 則留言 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
github/github-mcp-server#3032 · 1 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 74/100
github/github-mcp-server#2803 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
github/github-mcp-server#2740 ·
查看 github/github-mcp-server 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
-
bug group: validation priority: low
難度 2/5 1-3 小時 新手友好度 75/100
codecheckers/chekhov#51 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100