npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@iflow-mcp/vrchat-mcp-osc

v0.1.0

Published

vrchat-mcp-osc - VRChat AI Assistant Integration

Readme

VRChat MCP OSC

VRChat MCP OSC provides a bridge between AI assistants and VRChat using the Model Context Protocol (MCP), enabling AI-driven avatar control and interactions in virtual reality environments.

Overview

By leveraging OSC (Open Sound Control) to communicate with VRChat, VRChat MCP OSC allows AI assistants such as Claude to:

  • Control avatar parameters and expressions
  • Send messages in VRChat
  • Respond to various VR events
    And more—all through the high-level API provided by the Model Context Protocol.

Key Features

  • Avatar Control: Manipulate avatar parameters and expressions
  • Movement Control: Direct avatar movement and orientation
  • Communication: Send messages through VRChat's chatbox
  • Menu Access: Toggle VRChat menu and interface elements
  • Avatar Information: Query avatar properties and parameters
  • Seamless VRChat Integration: Automatic detection of avatar configurations

System Requirements

  • Node.js 18 or higher
  • VRChat with OSC enabled
  • Claude Desktop (with MCP support)

Using with Claude Desktop

Clone and npm link

git clone https://github.com/Krekun/vrchat-mcp-osc
cd vrchat-mcp-osc
npm link

Configure Claude Desktop

Configure Claude Desktop by editing the claude_desktop_config.json file:

{
  "mcpServers": {
    "vrchat-mcp-osc": {
      "command": "npx",
      "args": [
        "vrchat-mcp-osc"
      ]
    }
  }
}

Command Line Options

The server supports various command-line arguments for customization:

# Claude Desktop configuration
{
  "mcpServers": {
    "vrchat-mcp-osc": {
      "command": "npx",
      "args": [
        "vrchat-mcp-osc",
        "--websocket-port", "8765",
        "--websocket-host", "localhost",
        "--osc-send-port", "9000",
        "--osc-send-ip", "127.0.0.1",
        "--osc-receive-port", "9001",
        "--osc-receive-ip", "127.0.0.1",
        "--debug"             
      ]
    }
  }
}

Available Options

| Option | Description | Default | Notes | |--------|-------------|---------|-------| | --websocket-port <port> | WebSocket port | 8765 | For WebSocket communication | | --websocket-host <host> | WebSocket host | localhost | For WebSocket communication | | --osc-send-port <port> | OSC send port | 9000 | Port for sending to VRChat | | --osc-send-ip <ip> | OSC send IP | 127.0.0.1 | Address for sending to VRChat | | --osc-receive-port <port> | OSC receive port | 9001 | Port for receiving from VRChat | | --osc-receive-ip <ip> | OSC receive IP | 127.0.0.1 | Address for receiving from VRChat | | --debug | Enable debug logging | false | Output detailed logs | | --no-relay | Disable relay server | false | When not using relay server |

Available MCP Tools

VRChat MCP OSC exposes the following MCP tools to AI assistants:

| Tool Name | Description | |-----------|-------------| | get_avatar_name | Retrieves the current avatar's name | | get_avatar_parameters | Lists available avatar parameters | | set_avatar_parameter | Sets a specific avatar parameter | | set_emote_parameter | Triggers avatar emotes | | move_avatar | Moves the avatar in a specific direction | | look_direction | Controls avatar's view direction | | jump | Makes the avatar jump | | menu | Toggles the VRChat menu | | voice | Toggles voice features | | send_message | Sends a message to the VRChat chatbox |

Troubleshooting

Common Issues

  1. VRChat not responding to commands

    • Ensure OSC is enabled in VRChat settings
    • Check that the OSC ports match between VRChat and MCP configuration
    • Restart VRChat and Claude Desktop
  2. MCP server not starting

    • Ensure Node.js 18+ is installed
    • Check command line arguments for errors
    • Try running with --debug flag for more detailed logs
    • Use npx vrchat-mcp-osc -- --debug if direct arguments don't work
  3. NPX execution issues

    • If arguments aren't being recognized, try using the double dash format: npx vrchat-mcp-osc -- --debug
    • On Windows, try running in a command prompt with administrator privileges
    • If you're having trouble with global installation, try the local npm link approach

Project Structure

vrchat-mcp-osc/
├── packages/
│   ├── mcp-server/    # MCP server implementation (main entry point)
│   ├── relay-server/  # WebSocket to OSC relay
│   ├── types/         # Shared TypeScript interfaces
│   └── utils/         # Common utilities
└── pnpm-workspace.yaml  # Workspace configuration

Development

Build From Source

# Clone the repository
git clone https://github.com/Krekun/vrchat-mcp-osc
cd vrchat-mcp-osc

# Install dependencies
pnpm install

# Build all packages
pnpm -r build

# Development mode
pnpm -r dev

License

VRChat MCP OSC is dual-licensed as follows:

For Non-Commercial Use: You may use, modify, and redistribute the software under the terms of the MIT License. (See the MIT License file for details.)

For Commercial Use: Commercial use of this software requires a separate commercial license.

By using this software under the MIT License for non-commercial purposes, you agree to the terms of that license. Commercial users must obtain a commercial license as described above.

Acknowledgments

  • VRChat team for the OSC integration
  • Model Context Protocol for the standardized AI interface
  • Anthropic for Claude's MCP implementation