-
Notifications
You must be signed in to change notification settings - Fork 908
list_commits
returns 30 commits despite perPage
set to 1
#136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It should be perPage, A similar PR was merged yesterday, Same issue in search_repositories |
|
Yess |
@williammartin |
Page site tool parameter names were changed to `perPage` within github#129 while GitHub API uses `per_page` parameter name. This change fixes overlooked inconsistencies. Follow up on github#129 Fixes github#136 Signed-off-by: Alexander Yastrebov <[email protected]>
Page size tool parameter names were changed to `perPage` within github#129 while GitHub API uses `per_page` parameter name. This change fixes overlooked inconsistencies. Follow up on github#129 Fixes github#136 Signed-off-by: Alexander Yastrebov <[email protected]>
Page size tool parameter names were changed to `perPage` within github#90 while GitHub API uses `per_page` parameter name. This change fixes overlooked inconsistencies. Follow up on github#90 Follow up on github#129 Fixes github#136 Signed-off-by: Alexander Yastrebov <[email protected]>
Page size tool parameter names were changed to `perPage` within github#90 while GitHub API uses `per_page` parameter name. This change fixes overlooked inconsistencies. Follow up on github#90 Follow up on github#129 Fixes github#136 Signed-off-by: Alexander Yastrebov <[email protected]>
Page size tool parameter names were changed to `perPage` within github#90 while GitHub API uses `per_page` parameter name. This change fixes overlooked inconsistencies. Follow up on github#90 Follow up on github#129 Fixes github#136 Signed-off-by: Alexander Yastrebov <[email protected]>
Describe the bug
list_commits
does not interpret theperPage
parameter correctly and returns 30 commits (default).Maybe it's a mismatch between
github-mcp-server/pkg/github/repositories.go
Line 35 in 6f7458a
github-mcp-server/pkg/github/repositories.go
Line 56 in 6f7458a
Affected version
Please run
docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
and paste the output belowserver version v0.1.0 (b89336793c5bc9b9abdd5100d876babbc1031f5d) 2025-04-04T15:38:21Z
Steps to reproduce the behavior
Summarize the last change in the repository X/Y
github-mcp-server/pkg/github/repositories.go
Line 56 in 6f7458a
Expected vs actual behavior
The
perPage
parameter should be correctly respected.Logs
The text was updated successfully, but these errors were encountered: