Repository navigation
systemd and cli use differnt config files #1678
Replies: 1 comment 1 reply
|
The different paths match the documented package layout. The apt package runs as the dedicated See the installation and migration documentation and the packaged systemd unit. With the service running, check that its default socket exists: sudo ls -l /var/lib/mcpproxy/mcpproxy.sockIf it exists, try listing the service’s upstream servers explicitly: sudo -u mcpproxy env \
MCPPROXY_TRAY_ENDPOINT=unix:///var/lib/mcpproxy/mcpproxy.sock \
/usr/bin/mcpproxy upstream list \
--config=/etc/mcpproxy/mcp_config.json \
--data-dir=/var/lib/mcpproxyThis selects the packaged binary, service configuration and daemon socket. Running as The CLI client-mode documentation describes the endpoint override. Simply pointing If the socket is missing or this returns an error, which MCPProxy version are you running, and what is the exact error? |
Uh oh!
There was an error while loading. Please reload this page.
Hello, just upgraded and thank you for this awesome software.
I disabled and removed the manually installed bin and systemd service and then installed via apt.
The systemd services uses
-config=/etc/mcpproxy/mcp_config.json --data-dir=/var/lib/mcpproxbut the cli reportsConfig: /home/{user}/.mcpproxy/mcp_config.jsonDid I mess something up on the install? do they use different configs intentionally, how do I use the cli with the systemd instance?
All reactions