-
Name Previous Value Current Value Assignee
hille
empty -
I edited the issue because after some investigation I found that there is no API endpoint for code comments.
-
Thanks for creating the issue. Will investigate adding restful api for code comment creation.
-
Already possible with new tod cli and skills
-
Previous Value Current Value Open
Closed
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee |
Not assigned
|
| Labels |
No labels
|
Issue Votes (0)
The MCP server currently exposes getPullRequestCodeComments but no corresponding create tool. The only PR-commenting write tool creates general discussion comments, not line-anchored ones. This means AI assistants using TOD for code review can read existing review comments but can't leave their own inline feedback — they have to fall back to top-level PR comments that lose the file/line context.
I'd like to contribute a createPullRequestCodeComment MCP tool, but while investigating the implementation path I hit a gap that needs your input before I write any code.
What I found:
After inspecting the WADL and CodeCommentResource.java, CodeCommentResource only exposes GET and DELETE on individual comments — there is no POST endpoint to create a code comment via the REST API. The mcp-helper proxy also has no corresponding create-pull-request-code-comment endpoint. So implementing this tool requires work on two levels:
Questions before I start: