Back to Home
Watashicuvu icon

world-history-engine

Verified Safe

by Watashicuvu

Overview

A narrative graph engine for generating, tracking, and visualizing fictional worlds, usable with LLMs as an MCP server or procedurally.

Installation

Run Command
uv run mcp_server.py

Environment Variables

  • API_KEY
  • MODEL
  • BASE_URL

Security Notes

The server uses Pydantic for data validation and `yaml.safe_dump` for writing configuration files, mitigating common deserialization and injection risks. LLM-powered agents can call tools that modify the world state (e.g., `define_new_archetype`, `add_entity_instance`, `update_entity_tags`, `add_fact`), which introduces inherent risks of unintended state changes if the LLM acts maliciously or incorrectly. However, these tools are constrained by their defined parameters and Pydantic models. Hardcoded API keys are avoided by using environment variables. The potential to modify `data/custom` with arbitrary YAML content via the `define_new_archetype` tool represents the most significant, though mitigated, write-access risk.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens2500
Stars0
Forks0
Last Update2025-12-08

Tags

LLM-AssistedWorld GenerationGraph DatabaseNarrative EngineProcedural Content