gitea-mcp: pull_request_review_write reply_comment returns HTTP 405 on this instance #92
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
pull_request_review_write method: "reply_comment"fails with HTTP 405 against this repo's Gitea instance (git.dev.rkdr.net), for everycomment_idtried. Thegitea-prsskill (plugins/gitea/skills/gitea-prs/references/reviews.md) documents this method as working, based on the live-verified tool schema — the schema exposesreply_comment/resolve_thread/unresolve_threadonpull_request_review_write, but at leastreply_commentdoesn't actually work against this server.Repro
Called on PR #91, 11 times, once per existing review comment ID (1418, 1408, 1410, 1411, 1406, 1413, 1414, 1415, 1416, 1417, 1425) — all 11 failed identically:
Same error shape for all 11, only
comment_idvaries. Note the request body logged as empty ('') despitebodybeing passed non-empty — worth checking whether the MCP server is failing to serialize the request body before the 405 even happens, or whether that's just how the error wrapper logs it.Investigation
plugins/gitea/docs/research/docs/gitea/api-reference.md(gitea-mcp v1.3.0 research, sourced fromoperation/*.goinhttps://gitea.com/gitea/gitea-mcp) has no mention of a reply/thread-reply endpoint for PR review comments — only thread IDs for notifications (get/mark_read, unrelated to PR review threads). This suggestsreply_comment/resolve_thread/unresolve_threadwere added to gitea-mcp after v1.3.0 (our research snapshot), or the route it calls doesn't exist on whatever Gitea server versiongit.dev.rkdr.netruns.resolve_thread/unresolve_thread— unknown whether they share this bug (same underlying reply/thread feature area).issue_write method: "add_comment"(single top-level PR comment) instead of threaded inline replies. Works fine, just loses the inline-thread UX.Suggested next steps
gitea-mcpversion vs. Gitea server (git.dev.rkdr.net) version — likely an API mismatch (gitea-mcp assumes an endpoint/route the server's Gitea version doesn't expose, or vice versa).https://gitea.com/gitea/gitea-mcp.plugins/gitea/skills/gitea-prs/references/reviews.md's Gotchas section to document this as a known-broken method with the top-level-comment fallback, so future agents don't retry it blind.Impact
Low — a documented fallback exists (top-level PR comment). Not blocking any workflow, just degrades inline-review-reply UX.