vrchat-mcp is a Model Context Protocol (MCP) server designed to interact with the VRChat API. It allows users to retrieve various information from VRChat through a standardized protocol.
Purpose
The server provides a way to access VRChat API endpoints in a structured manner, supporting a wide range of functionality, including user authentication, retrieving user and friend information, accessing avatar and world data, and more.
Key Capabilities
The server provides the following VRChat-related tools:
- vrchat_get_friends_list: Get the friends list
- vrchat_send_friend_request: Send a friend request
- vrchat_search_avatars: Search avatars
- vrchat_select_avatar: Select and switch to a specific avatar
- vrchat_search_worlds: Search worlds
- vrchat_list_favorited_worlds: Get the list of favorited worlds
- Instance-related: vrchat_create_instance (create a new instance), vrchat_get_instance (get information about a specific instance)
- Group-related: vrchat_search_groups (search groups), vrchat_join_group (join a group)
- Favorites-related: vrchat_list_favorites (get the favorites list), vrchat_add_favorite (add a new favorite), vrchat_list_favorite_groups (get the list of favorited groups)
- Invite-related: vrchat_list_invite_messages (get the list of invite messages), vrchat_request_invite (request an invite), vrchat_get_invite_message (get a specific invite message)
- Notification-related: vrchat_get_notifications (get the notification list)
Usage
To start the server, make sure the necessary environment variables are set. You can use a command to log in and obtain an authentication token. The obtained token has a very long lifespan, so handle it with care. Then run the corresponding command to start the MCP server, and you can interact with the VRChat API through the defined tools.
When used with Claude Desktop, there is no need to manually run npx vrchat-mcp; simply add the configuration to the Claude Desktop configuration file:
- MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json Then start Claude Desktop as usual. If using nodenv or nvm, you may need to specify the full path to the npx command.
Applicable Scenarios
Suitable for scenarios that require automated interaction with the VRChat platform through the MCP protocol, such as managing friends, avatars, worlds, groups, favorites, and notifications in MCP-enabled clients.
Limitations
Because the MCP server runs via stdio, debugging can be challenging. It is recommended to use MCP Inspector for debugging, which can be started via an npm command, and make sure the environment variables are configured correctly. After startup, Inspector will display a URL that can be accessed in a browser to begin debugging.
Development and Release
After building the project, a new version can be released: pull the latest code from the main branch (git checkout main, git pull origin main), build the package (npm run build), publish to npm (npm publish), and push the changes to the remote repository (git push origin main --tags). Contributions are welcome; please fork the repository and submit a pull request. The project uses the MIT license.