M

MCP Sidecar

by lsequeiraa · io.github.lsequeiraa/mcp-sidecar

A lightweight, cross-platform MCP server for managing background processes. Enables AI coding agents to spawn, monitor, and interact with long-lived processes.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-lsequeiraa-mcp-sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "10",
        "SIDECAR_BUFFER_SIZE": "1048576",
        "SIDECAR_KILL_TIMEOUT": "5000",
        "SIDECAR_CLEANUP_AFTER": "1800",
        "SIDECAR_MAX_OUTPUT_SIZE": "0",
        "SIDECAR_ALLOWED_EXECUTABLES": "<VALUE>",
        "SIDECAR_BLOCKED_PATTERNS": "<VALUE>",
        "SIDECAR_AUDIT_LOG": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-lsequeiraa-mcp-sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "10",
        "SIDECAR_BUFFER_SIZE": "1048576",
        "SIDECAR_KILL_TIMEOUT": "5000",
        "SIDECAR_CLEANUP_AFTER": "1800",
        "SIDECAR_MAX_OUTPUT_SIZE": "0",
        "SIDECAR_ALLOWED_EXECUTABLES": "<VALUE>",
        "SIDECAR_BLOCKED_PATTERNS": "<VALUE>",
        "SIDECAR_AUDIT_LOG": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-lsequeiraa-mcp-sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "10",
        "SIDECAR_BUFFER_SIZE": "1048576",
        "SIDECAR_KILL_TIMEOUT": "5000",
        "SIDECAR_CLEANUP_AFTER": "1800",
        "SIDECAR_MAX_OUTPUT_SIZE": "0",
        "SIDECAR_ALLOWED_EXECUTABLES": "<VALUE>",
        "SIDECAR_BLOCKED_PATTERNS": "<VALUE>",
        "SIDECAR_AUDIT_LOG": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-lsequeiraa-mcp-sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "10",
        "SIDECAR_BUFFER_SIZE": "1048576",
        "SIDECAR_KILL_TIMEOUT": "5000",
        "SIDECAR_CLEANUP_AFTER": "1800",
        "SIDECAR_MAX_OUTPUT_SIZE": "0",
        "SIDECAR_ALLOWED_EXECUTABLES": "<VALUE>",
        "SIDECAR_BLOCKED_PATTERNS": "<VALUE>",
        "SIDECAR_AUDIT_LOG": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-lsequeiraa-mcp-sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "10",
        "SIDECAR_BUFFER_SIZE": "1048576",
        "SIDECAR_KILL_TIMEOUT": "5000",
        "SIDECAR_CLEANUP_AFTER": "1800",
        "SIDECAR_MAX_OUTPUT_SIZE": "0",
        "SIDECAR_ALLOWED_EXECUTABLES": "<VALUE>",
        "SIDECAR_BLOCKED_PATTERNS": "<VALUE>",
        "SIDECAR_AUDIT_LOG": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-lsequeiraa-mcp-sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "10",
        "SIDECAR_BUFFER_SIZE": "1048576",
        "SIDECAR_KILL_TIMEOUT": "5000",
        "SIDECAR_CLEANUP_AFTER": "1800",
        "SIDECAR_MAX_OUTPUT_SIZE": "0",
        "SIDECAR_ALLOWED_EXECUTABLES": "<VALUE>",
        "SIDECAR_BLOCKED_PATTERNS": "<VALUE>",
        "SIDECAR_AUDIT_LOG": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
SIDECAR_MAX_PROCESSES No Maximum concurrent processes Default: 10
SIDECAR_BUFFER_SIZE No Output buffer size per process in bytes Default: 1048576
SIDECAR_KILL_TIMEOUT No Milliseconds to wait between SIGTERM and SIGKILL Default: 5000
SIDECAR_CLEANUP_AFTER No Seconds before exited processes are auto-removed. 0 = disabled Default: 1800
SIDECAR_MAX_OUTPUT_SIZE No Global cap on bytes returned by the output tool. 0 = no limit Default: 0
SIDECAR_ALLOWED_EXECUTABLES No Comma-separated allowlist of executables (enables secure mode)
SIDECAR_BLOCKED_PATTERNS No Comma-separated regex patterns to reject commands
SIDECAR_AUDIT_LOG No Audit log directory, or true (cwd) / temp (OS temp dir)

Similar servers