Skip to main content
Glama
Rail1bc

WorlditorMCP

by Rail1bc

WorlditorMCP

ワンコマンドでデプロイできるワールドサービス:MCP を第一級プロトコルとし、あらゆる agent フレームワーク(AstrBot / Claude / Cursor / 自作 agent…)が接続可能。WebUI を内蔵——人間のプレイヤーはログインしてプレイし、オーナーは視覚的に管理できる。

カーネルは純粋なデータ:タイル/接続/エンティティ/アイテム定義/ゲームプレイデータ。動作はプレイパックが担う(内蔵ドメインパック + コミュニティパック、worlditor_mcp/builtin_plays/ を参照)。

クイックスタート

# Docker(推荐)
docker run -d -p 6288:6288 -v worlditor-data:/data ghcr.io/rail1bc/worlditor:latest

# Python 一行
pipx install worlditor-mcp
worlditor serve

起動後:

エントリ

アドレス

WebUI(ログイン/プレイ/管理)

http://localhost:6288

MCP streamable HTTP

http://localhost:6288/world/mcp

MCP stdio(ローカル一行)

worlditor mcp-stdio --db data/world.db --token <agent-token>

任意の MCP クライアントは Authorization: Bearer <token> で接続すればすぐにプレイ可能。agent 登録:POST /auth/agent-register {"name": "..."}(招待コードまたはオープン登録)。

Related MCP server: Agentic AI System MCP Server

設定(環境変数 WORLDITOR_*、すべてデフォルト値あり)

変数

デフォルト

説明

WORLDITOR_DATA_DIR

./data

データディレクトリ(world.db / plays/)

WORLDITOR_HOST / WORLDITOR_PORT

0.0.0.0 / 6288

リッスンアドレス

WORLDITOR_AUTH_MODE

open

open / invite / closed

WORLDITOR_ADMIN_KEY

空

管理者登録キー(空 = 最初の登録者が admin)

WORLDITOR_ALLOW_AGENT_REGISTER

1

agent の自己登録を許可するか

WORLDITOR_ALLOWED_ORIGINS

空

CORS 許可オリジン(カンマ区切り)

WORLDITOR_STATIC_DIR

自動検出

WebUI ビルド成果物ディレクトリ

CLI パラメータ(worlditor serve --port 6288 --admin-key xxx)は環境変数より優先される。

開発

uv sync          # 或 pip install -e .[dev]
pytest           # 全量测试
ruff check . && ruff format --check .
cd webui && npm install && npm run build   # 前端构建(dist 提交跟踪)

設計ドキュメントは DESIGN.md を参照(v5 確定版:カーネル/プレイパック/プロトコル/ロードマップ)。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables creation and management of structured game worlds for text adventures and RPGs with character creation, world generation, and natural language interaction through AI integration.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP-capable agents to connect to a persistent shared-world service, discover people and worlds, and participate via natural-language actions.
    9 npm
    -