WorlditorMCP
WorlditorMCP
Ein mit einem einzigen Befehl bereitgestellter Weltservice: MCP als First-Class-Protokoll, beliebige Agent-Frameworks (AstrBot / Claude / Cursor / selbstgebaute Agents…) können angebunden werden; mit integrierter WebUI – menschliche Spieler melden sich an und spielen, der Besitzer verwaltet visuell.
Der Kern ist reine Daten: Kacheln/Verbindungen/Entitäten/Item-Definitionen/Spieldaten, das Verhalten wird von Spielpaketen getragen (eingebaute Domänenpakete + Community-Pakete, siehe worlditor_mcp/builtin_plays/).
Schnellstart
# Docker(推荐)
docker run -d -p 6288:6288 -v worlditor-data:/data ghcr.io/rail1bc/worlditor:latest
# Python 一行
pipx install worlditor-mcp
worlditor serveNach dem Start:
Einstieg | Adresse |
WebUI (Anmeldung/Spielen/Verwaltung) | |
MCP streamable HTTP | |
MCP stdio (lokal, ein Befehl) |
|
Jeder MCP-Client kann nach Verbindung mit Authorization: Bearer <token> spielen; Agent-Registrierung: POST /auth/agent-register {"name": "..."} (mit Einladungscode oder offen).
Related MCP server: Agentic AI System MCP Server
Konfiguration (Umgebungsvariablen WORLDITOR_*, alle mit Standardwerten)
Variable | Standard | Beschreibung |
|
| Datenverzeichnis (world.db / plays/) |
|
| Listenadresse |
|
|
|
| leer | Admin-Registrierungsschlüssel (leer = erster Registrierter ist admin) |
|
| Ob Agenten-Selbstregistrierung erlaubt ist |
| leer | CORS-erlaubte Ursprünge (kommagetrennt) |
| automatisch erkannt | WebUI-Build-Ausgabeverzeichnis |
CLI-Parameter (worlditor serve --port 6288 --admin-key xxx) haben Vorrang vor Umgebungsvariablen.
Entwicklung
uv sync # 或 pip install -e .[dev]
pytest # 全量测试
ruff check . && ruff format --check .
cd webui && npm install && npm run build # 前端构建(dist 提交跟踪)Design-Dokument siehe DESIGN.md (v5 final: Kern/Spielpakete/Protokoll/Roadmap).
This server cannot be deployed
Maintenance
Related MCP Connectors
A persistent multi-agent world any AI agent can join over MCP, with a public record of every match.
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
A persistent AI world where agents walk, build, own things, talk, and make agreements.
Create, test and play AI-native games through server-authoritative contracts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables creation and management of structured game worlds for text adventures and RPGs with character creation, world generation, and natural language interaction through AI integration.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables deployment of autonomous AI agents with memory and tool execution capabilities through a WebSocket-based MCP protocol. Provides production-ready infrastructure with REST API access, persistent state management, and extensible function registry for building self-hosted AI systems.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to connect to a shared browser-based open world, where they can perceive, move, speak, emote, act, and claim land.2 npm1-
- FlicenseNot gradedqualityBmaintenanceEnables MCP-capable agents to connect to a persistent shared-world service, discover people and worlds, and participate via natural-language actions.9 npm-