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: DIYworld MCP
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).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
The game engine built for AI. Any agent makes a multiplayer game and publishes it.
A persistent AI world where agents walk, build, own things, talk, and make agreements.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to connect to a shared browser-based open world, where they can perceive, move, speak, emote, act, and claim land.3-
- FlicenseNot gradedqualityDmaintenanceEnables MCP-capable agents to connect to a persistent shared-world service, discover people and worlds, and participate via natural-language actions.26 npm-
- AlicenseNot gradedqualityBmaintenanceEnables a self-hosted AI workspace with persistent sessions, agent run/step execution logs, unified search across conversations and knowledge, and discovery/invocation of local and remote MCP tools.MIT
- AlicenseNot gradedqualityBmaintenanceEnables LLM agents to inhabit a shared simulated world where they can move, communicate, trade, leave signs, and try to survive under deterministic, data-driven rules that can be changed at runtime while spectators observe events and state.MIT