
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
matrix-game
Advanced tools
A multiplayer text-based game server built with Node.js and the Model Context Protocol (MCP). This server provides MCP interfaces for controlling characters, managing scenes, handling actions, and managing character memories in a text-based game world.
This server supports automatic language detection and returns content in the appropriate language based on your operating system settings.
Supported Languages:
The server automatically detects your system language on startup. All MCP resources, error messages, and server messages are internationalized.
📖 Documentation: See I18N-README.md for detailed i18n usage and implementation.
npm install
npm run build
npm start
The project consists of a single server with two MCP endpoints:
http://localhost:3000/mcphttp://localhost:3000/admin/mcpcreate_character: Create a new characterget_character: Get character by IDget_character_by_name: Get character by namelist_characters: List all charactersupdate_character: Update character informationcreate_scene: Create a new sceneget_scene: Get scene by IDget_scene_by_name: Get scene by nameget_scene_details: Get detailed scene information (characters, items, connections)list_scenes: List all scenesconnect_scenes: Connect two scenes with a door or roadget_scene_connections: Get connections from a scenemove_character: Move character to adjacent scenespeak_public: Make public announcementspeak_private: Send private messagepick_item: Pick up item from scenedrop_item: Drop item in current sceneuse_item: Use item (consumes item, may affect stats)create_item: Create new itemget_character_items: Get items owned by characteradd_short_memory: Add short-term memoryadd_long_memory: Add long-term memoryget_short_memories: Get short-term memoriesget_long_memories: Get long-term memoriesupdate_short_memory: Update short-term memoryupdate_long_memory: Update long-term memorydelete_short_memory: Delete short-term memorydelete_long_memory: Delete long-term memorycreate_character_permission: Create a permission for a character (requires manager or super admin)update_character_permission: Update a character's permission level (requires manager or super admin)revoke_character_permission: Revoke a character's permission (requires manager or super admin)list_all_permissions: List all permissions (requires manager or super admin)get_permission_stats: Get permission statistics (requires manager or super admin)create_super_admin: Create a super admin permission (requires super admin)cleanup_expired_permissions: Clean up expired permissions (requires super admin)The server uses SQLite for data persistence. The database file game.db will be created automatically when the server starts.
The server includes predefined item effects:
health_potion: +20 healthmental_tonic: +15 mental statepoison: -30 healthstress_relief: +25 mental stateenergy_drink: +10 health, +10 mental stateThe server includes a web interface for monitoring and managing the game world:
The server provides both MCP tools and Web interface:
Default mode (Web + MCP info):
npm run build
npm start
MCP stdio mode (for AI agents):
npm run build
npm run start:stdio
Web only mode:
npm run build
npm run start:web
This will start:
--stdio modeOpen http://localhost:3000 in your browser to access the web interface and MCP configuration.
{
"name": "create_scene",
"arguments": {
"name": "Town Square",
"description": "A bustling town square with a fountain in the center"
}
}
{
"name": "create_character",
"arguments": {
"name": "Alice",
"description": "A young adventurer with bright eyes",
"personality": "Curious and brave, always seeking new experiences",
"current_scene_id": 1
}
}
{
"name": "create_item",
"arguments": {
"name": "health_potion",
"description": "A red potion that restores health",
"scene_id": 1
}
}
{
"name": "pick_item",
"arguments": {
"character_id": 1,
"item_id": 1
}
}
{
"name": "use_item",
"arguments": {
"character_id": 1,
"item_id": 1
}
}
npm run build: Compile TypeScriptnpm run dev: Watch mode compilationnpm start: Run the server (Web interface + MCP info)npm run start:stdio: Run MCP server in stdio modenpm run start:web: Run web interface onlyMIT
FAQs
Matrix-inspired multiplayer text-based game server with MCP interfaces
We found that matrix-game demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.