Skip to main content
Glama
VRChat MCP Server

VRChat MCP Server

by sawa-zen

VRChat MCP

versión npm Licencia: MIT

Japonés | Coreano

Este proyecto es un servidor de Protocolo de Contexto de Modelo (MCP) para interactuar con la API de VRChat. Permite recuperar información diversa de VRChat mediante un protocolo estandarizado.

Descripción general

El servidor MCP de VRChat permite acceder a los puntos finales de la API de VRChat de forma estructurada. Admite una amplia gama de funcionalidades, como la autenticación de usuarios, la recuperación de información de usuarios y amigos, el acceso a datos de avatares y del mundo, y más.

Related MCP server: VRChat MCP OSC

Uso

Para iniciar el servidor, asegúrese de tener configuradas las variables de entorno necesarias:

export VRCHAT_USERNAME=your_username
export VRCHAT_AUTH_TOKEN=your_auth_token

[!NOTA]

Cómo obtener AUTH TOKEN

Puede utilizar el siguiente comando para iniciar sesión y obtener un token de autorización:

$ npx vrchat-auth-token-checker

VRChat Username: your-username
Password: ********

# If 2FA is enabled
2FA Code: 123456

# Success output
Auth Token: authcookie-xxxxx

Código fuente del comando

Por favor, manipule el token obtenido con cuidado ya que tiene una vida útil muy larga.

Luego, ejecute el siguiente comando:

npx vrchat-mcp

Esto iniciará el servidor MCP, lo que le permitirá interactuar con la API VRChat a través de las herramientas definidas.

Uso con Claude Desktop

Para usar este servidor MCP con Claude Desktop, no es necesario ejecutar npx vrchat-mcp manualmente. En su lugar, agregue la siguiente configuración a su archivo de configuración de Claude Desktop:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Ventanas: %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"
      }
    }
  }
}

Luego, inicie Claude Desktop como de costumbre. Si necesita usar nodenv o nvm, quizás deba especificar la ruta completa del comando npx .

Herramientas disponibles

Este servidor de protocolo de contexto de modelo proporciona las siguientes herramientas relacionadas con VRChat:

Relacionado con el usuario

  • vrchat_get_friends_list: Obtener una lista de amigos

  • vrchat_send_friend_request: Enviar una solicitud de amistad

Relacionado con Avatar

  • vrchat_search_avatars: Busca avatares

  • vrchat_select_avatar: Selecciona y cambia a un avatar específico

Relacionado con el mundo

  • vrchat_search_worlds: Buscar mundos

  • vrchat_list_favorited_worlds: Obtener una lista de mundos favoritos

Instancia relacionada

  • vrchat_create_instance: Crea una nueva instancia

  • vrchat_get_instance: Obtener información sobre una instancia específica

Grupo Relacionado

  • vrchat_search_groups: Buscar grupos

  • vrchat_join_group: Únete a un grupo

Favoritos Relacionados

  • vrchat_list_favorites: Obtener una lista de favoritos

  • vrchat_add_favorite: Agregar un nuevo favorito

  • vrchat_list_favorite_groups: Obtenga una lista de grupos favoritos

Invitar a personas relacionadas

  • vrchat_list_invite_messages: Obtener una lista de mensajes de invitación

  • vrchat_request_invite: Solicitar una invitación

  • vrchat_get_invite_message: Obtener un mensaje de invitación específico

Notificación relacionada

  • vrchat_get_notifications: Obtener una lista de notificaciones

Depuración

Primero, construya el proyecto:

npm install
npm run build

Dado que los servidores MCP se ejecutan en stdio, la depuración puede ser complicada. Para una experiencia óptima, recomendamos usar el Inspector MCP.

Puede iniciar el Inspector MCP a través de npm con este comando:

npx @modelcontextprotocol/inspector "./dist/main.js"

Asegúrese de que las variables de entorno estén configuradas correctamente.

Al iniciarse, el Inspector mostrará una URL a la que podrá acceder en su navegador para comenzar a depurar.

Publicación

Para publicar una nueva versión del paquete, siga estos pasos:

  1. Extraiga el código más reciente de la rama principal

    git checkout main
    git pull origin main
  2. Construir el paquete

    npm run build
  3. Publicar en npm

    npm publish
  4. Enviar cambios al repositorio remoto

    git push origin main --tags

Contribuyendo

¡Agradecemos sus contribuciones! Por favor, bifurquen el repositorio y envíen una solicitud de incorporación de cambios para cualquier mejora o corrección de errores.

Licencia

Este proyecto está licenciado bajo la Licencia MIT. Consulte el archivo de LICENCIA para más detalles.

Available Tools

18 tools
vrchat_add_favoriteC

Add a new favorite.

Inputs: type (required), favoriteId (required), tags (required).

vrchat_create_instanceC

Create a new instance of a world.

Inputs: worldId (required), type (required), region, ownerId, +7 more.

vrchat_get_current_userB

Retrieve your own VRChat user information

Inputs: no named parameters.

vrchat_get_friends_listC

Retrieve a list of VRChat friend information. The following information can be retrieved: - "bio" - "bioLinks" - "currentAvatarImageUrl" - "currentAvatarThumbnailImageUrl" - "currentAvatarTags" - "developerType" - "displayName" - "fallbackAvatar" - "id" - "isFriend" - "last_platform" - "last_login" - "profilePicOverride" - "pronouns" - "status" - "statusDescription" - "tags" - "userIcon" - "location" - "friendKey"

Inputs: offset, n, offline.

vrchat_get_instanceA

Get information about a specific instance. Note: Detailed information about instance members is only available if you are the instance owner.

Inputs: worldId (required), instanceId (required).

vrchat_get_invite_messageA

Returns a specific invite message. Admin Credentials are required to view messages of other users!

Message type refers to a different collection of messages:
- message = Message during a normal invite
- response = Message when replying to a message
- request = Message when requesting an invite
- requestResponse = Message when replying to a request for invite

Inputs: userId (required), slot (required), messageType.

vrchat_get_notificationsC

Retrieve a list of VRChat notifications.

Inputs: type, sent, hidden, after, +2 more.

vrchat_join_groupC

Join a VRChat group by ID

Inputs: groupId (required).

vrchat_list_favorited_worldsC

List favorited worlds by query filters.

Inputs: featured, sort, n, order.

vrchat_list_favorite_groupsB

Returns a list of favorite groups owned by a user.

Inputs: n, offset, ownerId.

vrchat_list_favoritesC

Returns a list of favorites.

Inputs: n, offset, type, tag.

vrchat_list_invite_messagesA

Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users!

Inputs: userId (required), messageType (required).

vrchat_request_inviteA

Request an invite from a user. IMPORTANT: Always obtain explicit permission from the user before sending an invite request. Note that invite requests cannot be sent to users in private instances. Returns the Notification of type requestInvite that was sent.

Inputs: userId (required), instanceId (required), messageSlot (required).

vrchat_search_avatarsB

Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other people's avatars.

Inputs: featured, sort, user, userId, +9 more.

vrchat_search_groupsC

Search VRChat groups by name or shortCode

Inputs: query (required), offset, n.

vrchat_search_worldsC

Search and list worlds by query filters.

Inputs: featured, sort, user, userId, +6 more.

vrchat_select_avatarC

Select and switch to a specific avatar by its ID.

Inputs: avatarId (required).

vrchat_send_friend_requestC

Send a friend request to another user.

Inputs: userId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific VRChat resources like users, instances, favorites, and searches, with clear boundaries. However, vrchat_list_favorites and vrchat_list_favorited_worlds/vrchat_list_favorite_groups could cause minor confusion as they overlap in listing favorites, though descriptions help differentiate them.

    Naming Consistency5/5

    All tools follow a consistent vrchat_verb_noun naming pattern, using snake_case throughout. This predictability makes it easy to understand each tool's function at a glance, with no deviations in style or structure.

    Tool Count4/5

    With 18 tools, the count is slightly high but reasonable for covering VRChat's social and world management features. It includes core operations like user management, instance handling, and searches, though it might feel a bit heavy compared to more focused servers.

    Completeness4/5

    The tool set covers key VRChat workflows such as user interactions (friends, invites), world/avatar management (search, select, create), and favorites, with good CRUD-like operations. Minor gaps include updating or deleting favorites or instances, but agents can work around these with the available tools.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      A
      maintenance
      A Discord Model Context Protocol server that enables AI assistants to interact with Discord, providing functionality for sending messages, managing channels, handling forum posts, and working with reactions.
      52
      3,822 npm
      114
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
      2
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      A Model Context Protocol server that integrates with FoundryVTT, allowing AI assistants to interact with tabletop gaming sessions through natural language to query actors, roll dice, generate content, and manage game worlds.
      599 npm
      37
      MIT