blob: 7762d8af40bada416e75ffdc8e1dfc2c34846ac1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
[Unit]
Description=MCPProxy - Smart proxy for AI agents using Model Context Protocol
Documentation=https://mcpproxy.app https://github.com/smart-mcp-proxy/mcpproxy-go
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/mcpproxy serve --config=%h/.mcpproxy/mcp_config.json --data-dir=%h/.mcpproxy
Environment=HEADLESS=1
Environment=XDG_RUNTIME_DIR=/run/user/%U
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
ProtectSystem=strict
PrivateTmp=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
LockPersonality=true
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
[Install]
WantedBy=default.target
|