MCP abilities that change BuddyPress, so an AI assistant can manage groups and a site’s profile fields without anyone opening wp-admin. It can add people to a group, remove or ban them, and promote or demote them; it can change a group’s name, description or web address; it can create profile field groups and fields, change them and put them in order; and it can read and fill in members’ answers to those fields. It is the write-side companion to LH MCP BuddyPress Queries, which stays read-only.
No admin UI and no front-end output: abilities only. Network-activate it on a multisite network; it requires BuddyPress, with the Groups component for the group abilities and Extended Profiles for the profile field abilities.
Key features
- Add, remove or ban up to 100 users in one call, and set their group role (member, mod or admin)
- Rename a group or change its description or web address without telling its members. Old links keep working, and an address another group uses or used before is refused
- Everything goes through BuddyPress’s own functions, so notifications, activity and other plugins’ group hooks behave as they would in the browser
- A pending membership request or invitation is accepted rather than duplicated
- Dry run by default, with a status for every user, so the effect can be checked before anything changes
- A group is never left without an admin
- Site rules come first: a site’s own plugins can refuse any change through a filter, and only approved members of the site can be added
- An optional note explaining each change is recorded in LH Audit Trail
- Profile fields: list field groups and field types, read a field, create groups and fields (with their choices and type settings in one call), update fields and set their order
- Each field type’s settings are described as a schema, so they can be checked before they are saved, and nothing can delete a field or change the type of one that already holds members’ answers
- Members’ answers: set or clear up to 200 answers in one call, for example to load a season’s interview notes, and read them back. Choices are checked against the field’s options, required fields cannot be cleared, and only members of the site can be given answers
Who can use it
Site moderators (BuddyPress’s bp_moderate) can manage any group, and a group’s admins can manage their own group, so a team captain can look after their team. Only site moderators can change a group’s web address. Network administrators are not held to the site rules. Profile fields, and members’ answers to them, can only be managed by site moderators.