feat(mcp): expose server version and project team tools #138
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/YT-84-mcp-server-team-tools"
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?
The MCP mirrored the CLI's project surface up to
list_vcs_processors, so onceyt server version(YT-82) andyt project team(YT-83) landed, an MCP client could no longer reach either. This adds six tools over the client functions those two issues already shipped: no new REST code.get_server_version(newtools/server.rs) returns the connected server's version and build.list_project_teamreturns the same document asyt project team list --json(team entity, member rows, project-scoped roles), withall: truestanding in for the CLI's--all.add_project_team_member,remove_project_team_member,grant_project_roleandrevoke_project_roletake a holder as exactly one ofuser(login) orgroup(name).The two read tools reject
dry_runand the four write tools accept it, both through the existing central gate indispatch, so the four are listed inMUTATING_TOOLSand the schema tests cover them without new plumbing. Every new args struct implementsLogArgs, logging only the scalar identifiers of the call. Each new description names the YouTrack 2026.1 requirement, so a client pointed at an older instance reads a reason instead of a bare 404.The join that turns the team and assignedRoles collections into holder rows moved from the CLI into
youtrack_client::project_access, with its tests, so both front ends report project access from one implementation rather than two that can drift.#YT-84