v0.6.0

Configuration

Last updated


The settings KuraDB reads from ~/.config/kuradb/config.json and the commands that change them.

config.json


The file is optional; a missing file means all defaults. It is written with indentation by the CLI and read once when the daemon starts.
  1. {
  2. "port": 23456,
  3. "remote": true
  4. }

KeyTypeDefaultSet byEffect
portintegerOmitted: random port 10000 to 65535kura port set <port> / kura port clearFixed HTTP port on 127.0.0.1
remotebooleanfalsekura remote enable / kura remote disableMounts MCP over HTTP at /mcp

Fields at their zero value are omitted from the file. If the file exists but cannot be parsed, the daemon logs a warning and uses the defaults.

When Changes Apply


ChangeApplies
kura port set <port>Immediately; the daemon is stopped and started again (started even if it was not running)
kura port clearOn the next manual restart (kura stop, then kura)
kura remote enable / disableImmediately when a daemon is running; otherwise on the next start
kura add <name>On the next daemon start; databases are not hot-loaded

kura mcp processes read db.json when they start, so restart the MCP client after adding a database.

Environment


KuraDB reads no environment variables. All state lives under ~/.config/kuradb/, resolved from the user's home directory; see Data Layout.

中文