The server

cdrm initialize-local-environment   # once, before the first run
cdrm run-server
cdrm run-server starts the Conundrum server on 127.0.0.1 , on port 3005 by default, and keeps its logs in the terminal. Stop it with Ctrl-c .

It serves:

Path What it is
/api/mcp A Model Context Protocol endpoint (streamable HTTP), so AI tools can search and read your notes. Fluster's chat page connects here.
/api/rpc The typed RPC API that Conundrum's own apps use.
/api/v1 A REST API.
/api/ws A WebSocket for live updates.

The local database

The server keeps its data in an embedded database. cdrm initialize-local-environment creates it, and needs to run once before the server's first start. If the server can't open the database, run it again.

Port

Set CDRM_SERVER_PORT to use another port:

CDRM_SERVER_PORT=4100 cdrm run-server

If it isn't set or isn't a number, the server uses 3005 and logs a warning.

In Fluster Fluster's settings have a port field and can start the server when Fluster opens. Fluster runs its bundled cdrm with CDRM_SERVER_PORT set to that port.