Implement durable OAuth MCP bridge with local Codex worker and deployment guides

This commit is contained in:
Marcos Lohmann
2026-10-14 18:42:41 -03:00
commit 29fcf73c83
39 changed files with 4130 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=Codex outbound MCP bridge worker
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/absolute/path/to/repository
EnvironmentFile=/absolute/path/to/private/worker.env
ExecStart=/absolute/path/to/repository/.venv/bin/codex-bridge worker
Restart=on-failure
RestartSec=10
TimeoutStopSec=45
UMask=0077
# Do not add NoNewPrivileges here without testing: it can interfere with Codex's sandbox.
# This is a user unit. All approval decisions remain local.
[Install]
WantedBy=default.target