Vrchat Mcp
This project is a Model Context Protocol (MCP) server for interacting with the VRChat API.
Overview
What is VRChat MCP?
VRChat MCP (Model Context Protocol) is a server designed to facilitate interactions with the VRChat API. It allows developers and users to create and manage custom models and avatars within the VRChat environment, enhancing the overall user experience. This protocol serves as a bridge between the VRChat platform and external applications, enabling seamless integration and functionality.
Features of VRChat MCP
- API Integration: VRChat MCP provides a robust API that allows developers to access and manipulate VRChat data, including user avatars, worlds, and interactions.
- Custom Model Management: Users can upload, manage, and customize their 3D models and avatars, ensuring a personalized experience in VRChat.
- Real-time Interaction: The server supports real-time communication, allowing users to interact with their models and the VRChat environment dynamically.
- User-Friendly Interface: The MCP server comes with an intuitive interface that simplifies the process of managing models and API interactions.
- Open Source: Being an open-source project, VRChat MCP encourages community contributions and enhancements, fostering a collaborative development environment.
How to Use VRChat MCP
- Set Up the Server: Begin by downloading the VRChat MCP server from the official repository. Follow the installation instructions provided in the documentation.
- Configure API Access: Obtain your API keys from the VRChat developer portal and configure them in the MCP server settings.
- Upload Models: Use the provided interface to upload your custom models and avatars. Ensure they meet the VRChat requirements for optimal performance.
- Interact with the API: Utilize the API endpoints to fetch, update, or delete data related to your models and avatars. Refer to the API documentation for detailed instructions on available endpoints.
- Test and Iterate: After setting up, test your models in the VRChat environment. Make adjustments as necessary based on user feedback and performance.
Frequently Asked Questions
Q: What is the purpose of VRChat MCP?
A: VRChat MCP serves as a server for managing and interacting with the VRChat API, allowing users to create and customize their models and avatars.
Q: Is VRChat MCP free to use?
A: Yes, VRChat MCP is an open-source project, making it free for anyone to use and contribute to.
Q: Can I contribute to the VRChat MCP project?
A: Absolutely! Contributions are welcome. You can fork the repository, make your changes, and submit a pull request for review.
Q: What are the system requirements for running VRChat MCP?
A: The system requirements may vary, but generally, a standard server setup with adequate RAM and processing power should suffice. Refer to the documentation for specific requirements.
Q: Where can I find support for VRChat MCP?
A: Support can be found in the community forums, GitHub issues page, or through the documentation provided in the repository.
Details
This project is a Model Context Protocol (MCP) server for interacting with the VRChat API. It allows you to retrieve various information from VRChat using a standardized protocol.
<a href="https://youtu.be/0MRxhzlFCkw"> <img width="300" src="https://github.com/user-attachments/assets/85c00cc4-46b3-4f66-ab36-bf2891fdb283" alt="YouTube" /> </a> <a href="https://glama.ai/mcp/servers/u763zoyi5a"> <img width="380" height="200" src="https://glama.ai/mcp/servers/u763zoyi5a/badge" /> </a>Overview
The VRChat MCP server provides a way to access VRChat's API endpoints in a structured manner. It supports a wide range of functionalities, including user authentication, retrieving user and friend information, accessing avatar and world data, and more.
Usage
To start the server, ensure you have the necessary environment variables set:
export VRCHAT_USERNAME=your_username
export VRCHAT_AUTH_TOKEN=your_auth_token
[!NOTE]
How to obtain AUTH TOKEN
You can use the following command to login and obtain an auth token:
$ npx vrchat-auth-token-checker VRChat Username: your-username Password: ******** # If 2FA is enabled 2FA Code: 123456 # Success output Auth Token: authcookie-xxxxx
Please handle the obtained token with care as it has a very long lifetime
Then, run the following command:
npx vrchat-mcp
This will launch the MCP server, allowing you to interact with the VRChat API through the defined tools.
Usage with Claude Desktop
To use this MCP server with Claude Desktop, you do not need to run npx vrchat-mcp
manually. Instead, add the following configuration to your Claude Desktop config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"vrchat-mcp": {
"command": "npx",
"args": ["vrchat-mcp"],
"env": {
"VRCHAT_USERNAME": "your-username",
"VRCHAT_AUTH_TOKEN": "your-auth-token"
}
}
}
}
Then, start Claude Desktop as usual. If you have to use nodenv or nvm, you may need to specify the full path to the npx
command.
Available Tools
This Model Context Protocol server provides the following VRChat-related tools:
User Related
- vrchat_get_friends_list: Get a list of friends
- vrchat_send_friend_request: Send a friend request
Avatar Related
- vrchat_search_avatars: Search for avatars
- vrchat_select_avatar: Select and switch to a specific avatar
World Related
- vrchat_search_worlds: Search for worlds
- vrchat_list_favorited_worlds: Get a 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 for groups
- vrchat_join_group: Join a group
Favorites Related
- vrchat_list_favorites: Get a list of favorites
- vrchat_add_favorite: Add a new favorite
- vrchat_list_favorite_groups: Get a list of favorite groups
Invite Related
- vrchat_list_invite_messages: Get a 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 a list of notifications
Debugging
First, build the project:
npm install
npm run build
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector "./dist/main.js"
Be sure that environment variables are properly configured.
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Publishing
To publish a new version of the package, follow these steps:
-
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
-
Push changes to the remote repository
git push origin main --tags
Contributing
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Server Config
{
"mcpServers": {
"vrchat-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--sawa-zen--vrchat-mcp--vrchat-mcp",
"npm run start"
],
"env": {
"VRCHAT_USERNAME": "vrchat-username",
"VRCHAT_PASSWORD": "vrchat-password",
"VRCHAT_TOTP_SECRET": "vrchat-totp-secret",
"VRCHAT_EMAIL": "vrchat-email"
}
}
}
}