Agent Install
Use this page when you want an AI agent to install and configure Demarkus for you.
Copy/Paste Brief for Agents
Install and configure Demarkus on this machine.
Goals:
1. If on macOS, prefer building from source first (until signed binaries are available).
2. Otherwise, use the official install script from:
https://raw.githubusercontent.com/latebit-io/demarkus/main/install.sh
3. Support both:
- Let's Encrypt mode (if a domain is provided)
- self-signed/no-official-cert mode (if no domain is provided)
4. Start demarkus-server and verify client connectivity.
5. If requested, configure MCP using demarkus-mcp and create/update .mcp.json.
6. Report exactly what was installed, where configs were written, and how to run/stop services.
Constraints:
- Do not assume trusted TLS certs are available.
- For self-signed/local certs, use client --insecure where needed.
- Keep commands idempotent and explain any destructive steps before running them.
Human Inputs to Provide
- Target mode:
public(with domain + Let’s Encrypt)private/local(self-signed/dev cert)
- Operating system (
macOSorLinux) - Desired content root path (for example
/srv/siteor./content) - Whether MCP should be configured now (
yes/no) - If MCP = yes: host + token values
Minimal Verification Checklist
demarkus-serverstarts successfully.- CLI fetch works:
./client/bin/demarkus --insecure mark://localhost:6309/index.md(self-signed/local)- or without
--insecurewhen using trusted TLS.
- If MCP configured:
demarkus-mcpcan initialize andmark_listworks.
For manual setup paths and examples, see Setup options.