MCP Sidecar

Cross-platform MCP server for managing long-lived background processes from any MCP client

stdiocommunityapplication

Package Details

Transportstdio

Environment Variables

SIDECAR_MAX_PROCESSES(str)

Maximum number of concurrent managed processes (default: 10)

SIDECAR_BUFFER_SIZE(str)

Output buffer size per stream in bytes (default: 1048576)

SIDECAR_KILL_TIMEOUT(str)

Milliseconds to wait between graceful and forced termination (default: 5000)

SIDECAR_CLEANUP_AFTER(str)

Seconds before exited processes are auto-removed. 0 disables cleanup (default: 1800)

SIDECAR_MAX_OUTPUT_SIZE(str)

Global cap on bytes returned by the output tool. 0 means unlimited (default: 0)

SIDECAR_ALLOWED_EXECUTABLES(str)

Comma-separated allowlist of executable names. When set, enables security mode with direct exec (no shell). Unset means security disabled.

SIDECAR_BLOCKED_PATTERNS(str)

Comma-separated regex patterns to reject in commands. Only applies when security is enabled.

SIDECAR_AUDIT_LOG(str)

Audit log destination. 'true' writes to cwd, 'temp' writes to OS temp dir, or a directory path. Unset disables audit logging.