Add authenticated-user identity lookup to Gitea MCP #11
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?
Parent
Roadmap #10 — Task-scoped MCP execution profiles for LLM-operated Gitea workflows
Problem
The Gitea MCP tool can inspect repository and PR state, but current workflows cannot safely prove which Gitea account the MCP server is authenticated as.
This blocks safe review and merge automation because Gitea rejects self-review/self-merge when the authenticated user is also the PR author.
Scope
Add a read-only authenticated-user lookup tool, such as:
whoamigetAuthenticatedUsergetCurrentUserThe tool should return safe identity metadata:
Acceptance criteria
Non-goals
Proposed labels
mcp·gitea·identity·security·read-only