Digital Sovereignty for everyone

LH MCP BuddyPress Queries

A pure MCP-abilities plugin wrapping native BuddyPress query APIs — group membership, group listing, activity streams, and the member directory — that aren’t specific to any single vertical. Contrast with LH BuddyPress Group Taxonomies, which is taxonomy-scoped only.

No admin UI, no front-end output — abilities only. Network-activated, so every ability is reachable via each site’s own MCP connector, not just the main site.

Key features

  • Group membership queries: who’s in a group, their role, and (where permitted) their email — for one group or up to 100 groups in a single call
  • Group listing and lookup, independent of any taxonomy
  • Activity-stream queries, scoped to a group or a single user
  • Member directory search, matching BuddyPress’s own directory tabs (active/newest/alphabetical/online/random)
  • Seven read-only MCP abilities in total, deliberately excluding private messages and friend connections — a different risk category, out of scope here

Capability model

Abilities that never return an email address are gated to BuddyPress’s own bp_moderate capability. Abilities that return member email addresses (get-group-members, search-members) are gated to edit_users instead, matching the precedent set by lh-membership/list-members. The one exception is that get-group-members also returns a group’s members, with emails, to an admin of that group, so a team captain can see their own team; group mods get no extra access, and when several groups are requested any the caller may not see come back as not_permitted. Full per-ability detail is in the MCP abilities section below.

Install & setup

  1. Upload/install the plugin as lh-mcp-buddypress-queries.
  2. Activate on any site running BuddyPress. No configuration needed — abilities register automatically.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.