BuddyPress MCP Server
Provides comprehensive integration with BuddyPress REST API v2 for managing social community features including activities, members, groups, extended profiles, friendships, messages, and notifications on WordPress/BuddyPress sites.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BuddyPress MCP Server show me the latest 5 activities on the community site"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BuddyPress MCP Server
A Model Context Protocol (MCP) server that provides comprehensive integration with BuddyPress REST API v2. This server enables AI assistants like Claude to interact with BuddyPress sites, managing activities, members, groups, profiles, messages, and more.
Features
Activity Management
List, create, update, and delete activity items
Favorite/unfavorite activities
Filter by user, group, scope, and search terms
Member Management
List and search members
Get member profiles
Update member information
Delete members
Group Management
List, create, update, and delete groups
Manage group membership
Handle group invites and membership requests
Filter groups by status, type, and user
XProfile (Extended Profiles)
List profile field groups and fields
Get and update user profile data
Manage custom profile fields
Friends & Social
List friendships
Create and manage friend requests
Delete friendships
Messages
List message threads
Send new messages
Manage conversations
Filter by inbox/sentbox
Notifications
List user notifications
Mark notifications as read/unread
Delete notifications
Components
List active BuddyPress components
Related MCP server: WordPress MCP Server
Installation
Clone or create the directory:
mkdir buddypress-mcp cd buddypress-mcpInstall dependencies:
npm installBuild the TypeScript code:
npm run build
Configuration
Set the following environment variables:
export BUDDYPRESS_URL="http://yourdomain.com"
export BUDDYPRESS_USERNAME="your-username"
export BUDDYPRESS_PASSWORD="your-application-password"Creating an Application Password
For WordPress/BuddyPress authentication:
Go to your WordPress admin dashboard
Navigate to Users → Profile
Scroll to "Application Passwords" section
Create a new application password
Use this password (not your regular password) for authentication
Usage with Claude Desktop
Add this configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"buddypress": {
"command": "node",
"args": [
"/path/to/buddypress-mcp/dist/index.js"
],
"env": {
"BUDDYPRESS_URL": "http://buddypress.local",
"BUDDYPRESS_USERNAME": "admin",
"BUDDYPRESS_PASSWORD": "your-application-password"
}
}
}
}After adding the configuration, restart Claude Desktop.
Available Tools
Activity Tools
buddypress_list_activities- List activity stream itemsbuddypress_get_activity- Get single activitybuddypress_create_activity- Create new activitybuddypress_update_activity- Update activitybuddypress_delete_activity- Delete activitybuddypress_favorite_activity- Favorite/unfavorite activity
Member Tools
buddypress_list_members- List membersbuddypress_get_member- Get single memberbuddypress_update_member- Update member profilebuddypress_delete_member- Delete member
Group Tools
buddypress_list_groups- List groupsbuddypress_get_group- Get single groupbuddypress_create_group- Create new groupbuddypress_update_group- Update groupbuddypress_delete_group- Delete groupbuddypress_list_group_members- List group membersbuddypress_add_group_member- Add member to groupbuddypress_remove_group_member- Remove member from group
XProfile Tools
buddypress_list_xprofile_groups- List field groupsbuddypress_get_xprofile_group- Get field groupbuddypress_list_xprofile_fields- List profile fieldsbuddypress_get_xprofile_field- Get profile fieldbuddypress_get_xprofile_data- Get user profile databuddypress_update_xprofile_data- Update user profile data
Friends Tools
buddypress_list_friends- List friendshipsbuddypress_create_friendship- Create friend requestbuddypress_delete_friendship- Delete friendship
Messages Tools
buddypress_list_messages- List message threadsbuddypress_get_message- Get message threadbuddypress_create_message- Send new messagebuddypress_delete_message- Delete message thread
Notifications Tools
buddypress_list_notifications- List notificationsbuddypress_get_notification- Get single notificationbuddypress_update_notification- Update notification statusbuddypress_delete_notification- Delete notification
Components Tool
buddypress_list_components- List active components
WordPress Abilities API Tools
wordpress_list_abilities- List registered WordPress abilities (filterable by category)wordpress_get_ability- Get full details of an ability including input/output schemaswordpress_execute_ability- Execute any ability (GET for read-only, POST for actions)wordpress_list_ability_categories- List ability categorieswordpress_get_ability_category- Get category details
WordPress Abilities API
The server includes tools for the WordPress Abilities API (WP 6.9+). These tools are future-proof — any plugin that registers abilities will be automatically discoverable and executable through this MCP server.
BuddyPress Abilities mu-plugin
A companion mu-plugin is included in extras/mu-plugins/buddypress-abilities.php that registers 8 BuddyPress-specific abilities:
Ability | Type | Description |
| Read | Member/group/activity counts and active components |
| Read | Recent activity stream items |
| Read | Search members by name |
| Read | Search groups by name/description |
| Read | Profile completion percentage and empty fields |
| Action | Post a new activity update |
| Action | Send a private message |
| Action | Send a friendship request |
To install: Copy the file to your WordPress site's wp-content/mu-plugins/ directory:
cp extras/mu-plugins/buddypress-abilities.php /path/to/wordpress/wp-content/mu-plugins/Requires WordPress 6.9+ and BuddyPress. No configuration needed — abilities register automatically.
Example Usage
Once configured, you can ask Claude to interact with your BuddyPress site:
"Show me the latest 10 activities on my BuddyPress site"
"Create a new activity post with the content 'Hello from MCP!'"
"List all groups and show me their member counts"
"Get the profile data for user ID 5"
"Send a message to users 3 and 4 with subject 'Meeting' and content 'Let's meet tomorrow'"
"Show me all unread notifications for user 2"
"List all available WordPress abilities"
"Execute the buddypress/community-stats ability"
"Search for members named John using the abilities API"Development
Build
npm run buildWatch Mode
npm run watchRun
npm startSecurity Notes
Application Passwords: Always use WordPress Application Passwords instead of your main password
HTTPS: Use HTTPS in production environments
Permissions: Ensure the authenticated user has appropriate permissions
Environment Variables: Never commit credentials to version control
API Reference
This MCP server uses BuddyPress REST API v2. For detailed API documentation, visit:
Troubleshooting
Authentication Errors
Verify your application password is correct
Check that the user has necessary permissions
Ensure the BuddyPress REST API is accessible
Connection Errors
Verify the BUDDYPRESS_URL is correct
Check that the site is accessible
Ensure no firewall or security plugins are blocking API requests
Tool Not Found
Restart Claude Desktop after configuration changes
Check the config file syntax is valid JSON
Verify the path to the built JavaScript file is correct
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
License
MIT License
Support
For issues and questions:
BuddyPress: https://buddypress.org/support/
MCP SDK: https://github.com/anthropics/model-context-protocol
Version History
2.1.0
WordPress Abilities API integration (5 new tools)
BuddyPress abilities mu-plugin (8 abilities)
wordpress://abilities/registryresourcewordpressRequest()/wordpressPaginatedRequest()client functions
2.0.0
Modular architecture refactor
42 new tools, resources, and prompts
1.0.0
Initial release
Support for Activity, Members, Groups, XProfile, Friends, Messages, Notifications
Full CRUD operations for major endpoints
Comprehensive filtering and pagination
Available Tools
36 toolsbuddypress_add_group_memberC
Add a member to a group
Inputs: group_id (required), user_id (required), role.
buddypress_create_activityC
Create a new activity item
Inputs: content (required), user_id, component, type, +2 more.
buddypress_create_friendshipC
Create a friendship request
Inputs: initiator_id (required), friend_id (required).
buddypress_create_groupC
Create a new group
Inputs: name (required), description, status, enable_forum, +1 more.
buddypress_create_messageC
Create a new message
Inputs: recipients (required), subject (required), message (required), sender_id.
buddypress_delete_activityC
Delete an activity item
Inputs: id (required).
buddypress_delete_friendshipC
Delete a friendship
Inputs: id (required).
buddypress_delete_groupC
Delete a group
Inputs: id (required).
buddypress_delete_memberC
Delete a member
Inputs: id (required), reassign.
buddypress_delete_messageC
Delete a message thread
Inputs: id (required).
buddypress_delete_notificationC
Delete a notification
Inputs: id (required).
buddypress_favorite_activityC
Favorite or unfavorite an activity item
Inputs: id (required).
buddypress_get_activityC
Get a single activity item by ID
Inputs: id (required).
buddypress_get_groupB
Get a single group by ID
Inputs: id (required).
buddypress_get_memberC
Get a single member by ID
Inputs: id (required).
buddypress_get_messageC
Get a single message thread
Inputs: id (required).
buddypress_get_notificationC
Get a single notification
Inputs: id (required).
buddypress_get_xprofile_dataC
Get XProfile data for a specific user and field
Inputs: field_id (required), user_id (required).
buddypress_get_xprofile_fieldC
Get a single XProfile field
Inputs: id (required), fetch_field_data.
buddypress_get_xprofile_groupB
Get a single XProfile field group
Inputs: id (required), fetch_fields.
buddypress_list_activitiesC
List activity stream items with optional filters
Inputs: page, per_page, search, user_id, +3 more.
buddypress_list_componentsB
List active BuddyPress components
Inputs: no named parameters.
buddypress_list_friendsC
List friendships
Inputs: user_id, is_confirmed, page, per_page.
buddypress_list_group_membersC
List members of a specific group
Inputs: group_id (required), page, per_page, roles.
buddypress_list_groupsC
List BuddyPress groups with optional filters
Inputs: page, per_page, search, status, +2 more.
buddypress_list_membersB
List BuddyPress members with optional filters
Inputs: page, per_page, search, user_ids, +2 more.
buddypress_list_messagesC
List message threads
Inputs: user_id, box, type, page, +1 more.
buddypress_list_notificationsC
List notifications
Inputs: user_id, is_new, page, per_page.
buddypress_list_xprofile_fieldsC
List XProfile fields
Inputs: profile_group_id, fetch_field_data.
buddypress_list_xprofile_groupsC
List XProfile field groups
Inputs: fetch_fields.
buddypress_remove_group_memberC
Remove a member from a group
Inputs: group_id (required), user_id (required).
buddypress_update_activityC
Update an existing activity item
Inputs: id (required), content.
buddypress_update_groupC
Update an existing group
Inputs: id (required), name, description, status.
buddypress_update_memberC
Update member profile information
Inputs: id (required), name, description, member_type.
buddypress_update_notificationC
Update notification (mark as read/unread)
Inputs: id (required), is_new.
buddypress_update_xprofile_dataC
Update XProfile data for a specific user and field
Inputs: field_id (required), user_id (required), value (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Every tool has a clearly distinct purpose targeting specific BuddyPress resources and actions. The naming convention (resource + action) makes it unambiguous which entity each tool operates on - for example, buddypress_get_activity vs buddypress_update_activity vs buddypress_delete_activity are clearly differentiated operations on the same resource type.
All tools follow a perfect verb_noun pattern with consistent snake_case throughout. The structure is always 'buddypress_[action]_[resource]' or 'buddypress_[action]_[resource]_[subresource]' where applicable. This creates a highly predictable and readable naming convention across all 36 tools.
With 36 tools, this is a comprehensive but heavy API surface. While BuddyPress is a complex social networking platform with multiple components (activities, groups, members, messages, notifications, XProfile), 36 tools feels borderline excessive compared to typical well-scoped servers (3-15 tools). The count suggests thorough coverage but may be overwhelming for agents.
The toolset provides complete CRUD/lifecycle coverage across all major BuddyPress domains: activities, groups, members, messages, notifications, and XProfile data. Each resource type has create, read, update, and delete operations where applicable, plus specialized actions like favorite_activity and add/remove_group_member. No obvious gaps exist for the platform's core functionality.
Maintenance
Related MCP Connectors
Manage your WordPress site from your AI assistant: posts, pages, media, comments and WooCommerce.
Manage your WordPress site from ChatGPT or Claude: posts, WooCommerce, SEO, images and upkeep.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Boost posts and launch community growth campaigns from your AI assistant. OAuth, credit-billed.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with WordPress sites through the REST API. Supports multiple WordPress sites with secure authentication, enabling content management, post operations, and site configuration through natural language.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with WordPress sites through REST APIs, allowing programmatic management of posts, users, comments, categories, and tags with secure authentication.2950MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to manage WordPress sites through natural conversation, supporting post creation, content updates, site queries, and draft-to-publish workflows via the WordPress REST API.9MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to manage WordPress content, design, SEO, WooCommerce, and more through natural language commands.1004MIT