1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Varlink MCP Bridge - HTTP server for Model Context Protocol
After=network.target

[Service]
Type=simple
ExecStart=%h/.nix-profile/bin/varlink-mcp-bridge \
  --http-mode \
  --http-port=3000 \
  --debug \
  --varlink-address=unix:/run/user/%U/de.Profpatsch.Maildir \
  --interface=de.profpatsch.Maildir
Restart=on-failure
RestartSec=5s

# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=varlink-mcp-bridge

[Install]
WantedBy=default.target