SZ

sawa-zen/vrchat-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

71 stars 6 forks 品質 71 トレンド 0MIT

沢-zen/vrchat-mcp は [https://github.com/sawa-zen/vrchat-mcp.] からインポートされた MCP サーバーの候補です

概要

沢-zen/vrchat-mcp は [https://github.com/sawa-zen/vrchat-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

お問い合わせ

このプロジェクトは、VRChat APIとやりとりするためのモデルコンテキストプロトコル(MCP)サーバーです。 標準化されたプロトコルを使用して、VRChat からさまざまな情報を取得できます。

概要

VRChat MCPサーバーは、構造化された方法でVRChatのAPIエンドポイントにアクセスする方法を提供します。 ユーザ認証、ユーザーや友人情報の取得、アバターやワールドデータへのアクセスなど、幅広い機能をサポートしています。

使用法

サーバーを起動するには、必要な環境変数が設定されていることを確認してください。

[!NOTE]

AUTH TOKENの入手方法

ツイート

次のコマンドを使用して、authトークンをログインして取得できます。 ツイート

コマンドソースコード ツイート ** 取得されたトークンは、非常に長い寿命を持っているので、慎重に処理してください**

次に、次のコマンドを実行します。

これにより、MCP サーバーが起動し、定義されたツールでVRChat APIとやり取りすることができます。

Claudeデスクトップでの使用

Claude DesktopでこのMCPサーバーを使用するには、手動でnpx vrchat-mcpを実行する必要はありません。 代わりに、Claude Desktop config ファイルに次の設定を追加します。

  • MacOS: `~/ Library/Application Support/Claude/claude desktop config.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

日本語 | 한국어

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.

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

Command source code

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:

  • vrchat_get_friends_list: Get a list of friends
  • vrchat_send_friend_request: Send a friend request
  • vrchat_search_avatars: Search for avatars
  • vrchat_select_avatar: Select and switch to a specific avatar
  • vrchat_search_worlds: Search for worlds
GitHub で README 全文を見る

インストール

npx vrchat-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "vrchat-mcp": { "command": "npx", "args": ["vrchat-mcp"], "env": { "VRCHAT_USERNAME": "your-username", "VRCHAT_AUTH_TOKEN": "your-auth-token" } } } }