PixelWeaver v0.5.0 /server.src.pixelweaver.config
On this page

Process-wide configuration for PixelWeaver server.

#server.src.pixelweaver.config

#server.src.pixelweaver.config

Process-wide configuration for PixelWeaver server.

Single source of truth for settings that are set once at startup (e.g. from CLI arguments) and then read throughout the application. Both the HTTP server (main.py) and the MCP server (mcp_server.py) share this module so they never drift out of sync.

#get_data_dir

python
def get_data_dir() -> str

Return the currently configured projects data directory.

#set_data_dir

python
def set_data_dir(data_dir: str) -> None

Set the projects data directory (called from CLI before app starts).

Search