MCPOutils MCP/Équipe
Équipe
Inviter, mettre à jour et retirer des membres de l'équipe.
- Readlist_team_membersList the agency's team members — everyone with (or invited to have) access to this agency's OS account. Each row has name, email, role (owner/admin/member), status (Owner / Active / Not Active / Invited), last session, weekly hours capacity, module permissions, and Slack link. Use this to find a member's id before update_team_member, resend_team_invite, revoke_team_invite, or remove_team_member.
- Writeinvite_team_memberInvite a new team member to the agency by email — sends them a signup invite (or, if that email already has an active Synup account elsewhere, an account-link invite instead). They join as a member. Fails if that email is already on this agency's team; for an invite they haven't accepted yet, resend_team_invite sends it again. Page access works as in the app's invite: permissions turns pages on ({ moduleKey: true }), every page not named stays off, and with no permissions they join with no pages on until someone turns them on in Synup (Settings > Team) — tell the user that. If the email can't be sent, nothing is kept and the invite can simply be tried again later. Returns the new (pending) member's id.
- Writeupdate_team_memberEdit a team member's weekly hours capacity, module permissions, or Slack link. Does NOT change their role (owner/admin/member — there is no way to change role through this action; it isn't editable in the product today). Pass only the fields you want to change. A Slack user id can only be linked to one member at a time — assigning it here unlinks it from whoever had it. Identify the member by their id (from list_team_members).
- Writeresend_team_inviteResend a pending team invite email with a fresh 7-day link. Works while the invite is still pending (status "Invited"), and for an account owner who has never signed in (they get the invite with a link to set their own password). Throws if the member already accepted or the owner has already signed in. Identify the member by their id (from list_team_members).
- Writecancel_team_inviteCancel a team invitation that has not been accepted yet (status "Invited"): the invite link stops working and the pending member is deleted. Throws if the member already accepted — use remove_team_member to remove someone who has joined. Cannot be used on the owner. Not reversible; invite them again to restore it.
- Writerevoke_team_inviteDespite the name, this removes someone who ALREADY ACCEPTED: it revokes an accepted team member's access, removing them from the agency entirely (this permanently deletes their membership row — it is not reversible; they'd need to be re-invited). Only works for members who already accepted their invite (status "Active"/"Not Active") — to withdraw a pending invitation use cancel_team_invite instead, or this throws. Cannot be used on the owner.
- Writeremove_team_memberRemove a team member (pending invite or accepted member) from the agency. This permanently deletes their membership row — not reversible; they'd need to be re-invited from scratch. Cannot be used on the owner.