- Notifications
You must be signed in to change notification settings - Fork936
Closed
Description
Describe the bug
When an inline comment is specified for thecreate_pull_request_review
tool, it currently only allows comments with theposition
field specified. TheGitHub REST API endpoint for creating pull requests supportsline
as an alternative toposition
. Would it be possible to support this option in the MCP tool?
Affected version
server version v0.1.0 (b89336793c5bc9b9abdd5100d876babbc1031f5d) 2025-04-04T15:38:21Z
Steps to reproduce the behavior
Try posting a pull request with a comments field like:
comments: [ { path: 'file.md', line: 6, body: 'body text here' }]
Expected vs actual behavior
Expected: Review posts with an inline comment on line 6 offile.md
Actual: tool call fails with erroreach comment must have a position