A
securityA
licenseA
qualityA command-line tool that enables the use of MCP with the Room protocol, allowing agents to create and interact in peer-to-peer virtual rooms for goal-oriented collaboration.
Last updated -
5
6
5
JavaScript
Apache 2.0
一款具有 Node.js 后端的多人控制面板游戏,具有带交互元素的虚拟房屋环境。
或者对于具有自动重启功能的开发:
服务器将在端口 3002 上启动。
本文档解释了 MCP 游戏中图像显示系统的工作原理。
系统会在虚拟房屋的电视上显示来自server/openai-server/public/image
目录的现有图像。系统现在不再生成新图像(这会导致 500 内部服务器错误),而是检查指定目录中是否存在现有图像。
server/openai-server/public/image
目录中的图像。要将新图像添加到电视:
server/openai-server/public/image
目录中。server/openai-server/public/image
目录是否存在并包含图像文件。MCPGame 可以连接到外部 MCP 后端服务器,以实现终端和电视交互的高级 AI 功能。
main.js
文件并找到顶部的配置部分:MCP_BACKEND_URL
以指向您的 MCP 后端服务器:http://localhost:PORT
(将 PORT 替换为您的后端端口)您的 MCP 后端服务器应实现以下端点:
GET /api/status
- 返回 MCP 系统的状态POST /api/query
- 接受用户查询并返回 AI 响应查询端点应返回以下格式的 JSON:
node server.js
)This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
具有交互元素的多人第一人称 3D 虚拟房屋环境,包括带图像显示系统的电视和用于访问 MCP 系统的计算机终端。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AllAboutAI-YT/mcpgame'
If you have feedback or need assistance with the MCP directory API, please join our Discord server