Skip to main content
Glama

vrchat_join_group

Add a user to a VRChat group by specifying its unique group ID using the MCP server for direct integration with the VRChat API.

Instructions

Join a VRChat group by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYesMust be a valid group ID

Implementation Reference

  • Handler function that authenticates the VRChat client, joins the group using the provided groupId, and returns the API response as JSON 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') },
  • Registration of the 'vrchat_join_group' tool using server.tool(), including name, description, input schema, and handler function.
    server.tool( '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 }] } } } )

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