Skip to main content
Glama

buddypress_create_group

Create new BuddyPress groups with customizable settings including name, description, status, and forum options to build online communities.

Instructions

Create a new group

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesGroup name
descriptionNoGroup description
statusNoGroup status (public, private, hidden)
enable_forumNoEnable group forum
creator_idNoCreator user ID (default: current user)

Implementation Reference

  • Executes the buddypress_create_group tool by making a POST request to the BuddyPress REST API /groups endpoint using the provided input arguments.
    else if (name === 'buddypress_create_group') { result = await buddypressRequest('/groups', 'POST', args); }
  • Defines the tool metadata including name, description, and input schema for validating parameters when creating a BuddyPress group.
    name: 'buddypress_create_group', description: 'Create a new group', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Group name', required: true }, description: { type: 'string', description: 'Group description' }, status: { type: 'string', description: 'Group status (public, private, hidden)' }, enable_forum: { type: 'boolean', description: 'Enable group forum' }, creator_id: { type: 'number', description: 'Creator user ID (default: current user)' }, }, required: ['name'], },
  • src/index.ts:528-530 (registration)
    Registers the ListTools handler which returns the array of all tools including buddypress_create_group.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vapvarun/buddypress-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server