You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
sawa-zen / vrchat-mcp Public
This project is a Model Context Protocol (MCP) server for interacting with the VRChat API.
13 stars
1 fork
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
main
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
sawa-zen
Update README.ja.md
Mar 27, 2025
845f4aa
· Mar 27, 2025
History
-------
61 Commits
| | |
| src | | src | feat: Support get instance | Mar 26, 2025 |
| .clinerules | | .clinerules | feat: Support select avatar | Mar 25, 2025 |
| .env.example | | .env.example | chore: add inspector script | Mar 15, 2025 |
| .gitignore | | .gitignore | first commit | Mar 15, 2025 |
| LICENSE | | LICENSE | Create LICENSE | Mar 15, 2025 |
| README.ja.md | | README.ja.md | Update README.ja.md | Mar 27, 2025 |
| README.md | | README.md | Update README.md | Mar 27, 2025 |
| eslint.config.mjs | | eslint.config.mjs | chore: Add eslint | Mar 16, 2025 |
| eyecatch.jpg | | eyecatch.jpg | chore: change eyecatch | Mar 27, 2025 |
| package-lock.json | | package-lock.json | 0.2.1 | Mar 22, 2025 |
| package.json | | package.json | feat: Support get instance | Mar 26, 2025 |
| tsconfig.json | | tsconfig.json | first commit | Mar 15, 2025 |
| View all files | | |
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.
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.
To start the server, ensure you have the necessary environment variables set:
export VRCHAT_USERNAME=your_username
export VRCHAT_PASSWORD=your_password
export VRCHAT_TOTP_SECRET=your_totp_secret
export [email protected]
Note
otpauth://totp/VRChat:[email protected]?secret=XXXXXXXXXXXXXXXXXXX&issuer=VRChat
.XXXXXXXXXXXXXXXXXXX
part as your TOTP secret.This method may have security concerns, so proceed with caution.
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.
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:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"vrchat-mcp": {
"command": "npx",
"args": ["vrchat-mcp"],
"env": {
"VRCHAT_USERNAME": "your-username",
"VRCHAT_PASSWORD": "your-password",
"VRCHAT_TOTP_SECRET": "your-totp-secret",
"VRCHAT_EMAIL": "[email protected]"
}
}
}
}
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.
This is a list of endpoints from the VRChat API that our Model Context Protocol server supports or plans to support. Both GET and POST methods are included to provide comprehensive functionality. The checkboxes indicate the implementation status of each endpoint.
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.
To publish a new version of the package, follow these steps:
Pull the latest code from the main branch
shell
git checkout main
git pull origin main
Update the version as needed
```shell
npm version patch
npm version minor
npm version major
```
Build the package
shell
npm run build
Publish to npm
shell
npm publish
Push changes to the remote repository
shell
git push origin main --tags
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
This project is a Model Context Protocol (MCP) server for interacting with the VRChat API.
You can’t perform that action at this time.