Skip to main content
Glama

vrchat_join_group

Join a VRChat group using its unique group ID to access community features and connect with members.

Instructions

Join a VRChat group by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYesMust be a valid group ID

Implementation Reference

  • The async handler function that authenticates the VRChat client, joins the specified group using groupsApi.joinGroup, and returns the JSON response or an error message.
    async (args) => { try { await vrchatClient.auth() const response = await vrchatClient.groupsApi.joinGroup(args.groupId) return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }] } } catch (error) { return { content: [{ type: 'text', text: 'Failed to join group: ' + error }] } } }
  • Zod input schema defining the required 'groupId' parameter as a string.
    { groupId: z.string().describe('Must be a valid group ID') },
  • Direct registration of the 'vrchat_join_group' tool on the MCP server, including description, input schema, and inline handler.
    'vrchat_join_group', 'Join a VRChat group by ID', { groupId: z.string().describe('Must be a valid group ID') }, async (args) => { try { await vrchatClient.auth() const response = await vrchatClient.groupsApi.joinGroup(args.groupId) return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }] } } catch (error) { return { content: [{ type: 'text', text: 'Failed to join group: ' + error }] } } } )
  • src/main.ts:34-34 (registration)
    Invocation of createGroupsTools in the main server setup, which registers the vrchat_join_group tool among others.
    createGroupsTools(server, vrchatClient)

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/sawa-zen/vrchat-mcp'

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