ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

MCP Sidecar

โดย lsequeiraaรุ่น 0.3.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.lsequeiraa/mcp-sidecar

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: SIDECAR_MAX_PROCESSES, SIDECAR_BUFFER_SIZE, SIDECAR_KILL_TIMEOUT, SIDECAR_CLEANUP_AFTER, SIDECAR_MAX_OUTPUT_SIZE, SIDECAR_ALLOWED_EXECUTABLES, SIDECAR_BLOCKED_PATTERNS, SIDECAR_AUDIT_LOG

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "ใส่ค่าของคุณ",
        "SIDECAR_BUFFER_SIZE": "ใส่ค่าของคุณ",
        "SIDECAR_KILL_TIMEOUT": "ใส่ค่าของคุณ",
        "SIDECAR_CLEANUP_AFTER": "ใส่ค่าของคุณ",
        "SIDECAR_MAX_OUTPUT_SIZE": "ใส่ค่าของคุณ",
        "SIDECAR_ALLOWED_EXECUTABLES": "ใส่ค่าของคุณ",
        "SIDECAR_BLOCKED_PATTERNS": "ใส่ค่าของคุณ",
        "SIDECAR_AUDIT_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add sidecar --env SIDECAR_MAX_PROCESSES='ใส่ค่าของคุณ' --env SIDECAR_BUFFER_SIZE='ใส่ค่าของคุณ' --env SIDECAR_KILL_TIMEOUT='ใส่ค่าของคุณ' --env SIDECAR_CLEANUP_AFTER='ใส่ค่าของคุณ' --env SIDECAR_MAX_OUTPUT_SIZE='ใส่ค่าของคุณ' --env SIDECAR_ALLOWED_EXECUTABLES='ใส่ค่าของคุณ' --env SIDECAR_BLOCKED_PATTERNS='ใส่ค่าของคุณ' --env SIDECAR_AUDIT_LOG='ใส่ค่าของคุณ' -- npx -y mcp-sidecar

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "sidecar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "ใส่ค่าของคุณ",
        "SIDECAR_BUFFER_SIZE": "ใส่ค่าของคุณ",
        "SIDECAR_KILL_TIMEOUT": "ใส่ค่าของคุณ",
        "SIDECAR_CLEANUP_AFTER": "ใส่ค่าของคุณ",
        "SIDECAR_MAX_OUTPUT_SIZE": "ใส่ค่าของคุณ",
        "SIDECAR_ALLOWED_EXECUTABLES": "ใส่ค่าของคุณ",
        "SIDECAR_BLOCKED_PATTERNS": "ใส่ค่าของคุณ",
        "SIDECAR_AUDIT_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "sidecar": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-sidecar"
      ],
      "env": {
        "SIDECAR_MAX_PROCESSES": "ใส่ค่าของคุณ",
        "SIDECAR_BUFFER_SIZE": "ใส่ค่าของคุณ",
        "SIDECAR_KILL_TIMEOUT": "ใส่ค่าของคุณ",
        "SIDECAR_CLEANUP_AFTER": "ใส่ค่าของคุณ",
        "SIDECAR_MAX_OUTPUT_SIZE": "ใส่ค่าของคุณ",
        "SIDECAR_ALLOWED_EXECUTABLES": "ใส่ค่าของคุณ",
        "SIDECAR_BLOCKED_PATTERNS": "ใส่ค่าของคุณ",
        "SIDECAR_AUDIT_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • SIDECAR_MAX_PROCESSES env
    Maximum number of concurrent managed processes (default: 10)
  • SIDECAR_BUFFER_SIZE env
    Output buffer size per stream in bytes (default: 1048576)
  • SIDECAR_KILL_TIMEOUT env
    Milliseconds to wait between graceful and forced termination (default: 5000)
  • SIDECAR_CLEANUP_AFTER env
    Seconds before exited processes are auto-removed. 0 disables cleanup (default: 1800)
  • SIDECAR_MAX_OUTPUT_SIZE env
    Global cap on bytes returned by the output tool. 0 means unlimited (default: 0)
  • SIDECAR_ALLOWED_EXECUTABLES env
    Comma-separated allowlist of executable names. When set, enables security mode with direct exec (no shell). Unset means security disabled.
  • SIDECAR_BLOCKED_PATTERNS env
    Comma-separated regex patterns to reject in commands. Only applies when security is enabled.
  • SIDECAR_AUDIT_LOG env
    Audit log destination. 'true' writes to cwd, 'temp' writes to OS temp dir, or a directory path. Unset disables audit logging.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub lsequeiraa ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32505 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 11% ของอีก 32505 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32505 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

MCP Sidecar ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.2) เข้า registry 5 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, topo^alpin

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

topo^alpin

โดย topoalpin.app

Avalanche bulletins and mountain weather forecasts for any place in the Alps.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

mcp-sidecar

A lightweight, cross-platform MCP server for managing background processes. Built in Go for single-binary distribution with zero runtime dependencies.

Why?

AI coding agents (Claude Code, Gemini CLI, Cursor, etc.) lack the ability to run long-lived processes while continuing to interact with them. Common workflows affected:

  • Start an API server, wait for it to be ready, then run HTTP requests against it
  • Run a build in watch mode while editing code
  • Start a database, seed it, run tests, tear it down

mcp-sidecar solves this by exposing process lifecycle management as MCP tools over stdio transport.

Features

  • Cross-platform -- Windows, Linux, macOS from a single codebase
  • Zero dependencies -- Single Go binary, no runtime required
  • Minimal surface -- 6 tools, no unnecessary complexity
  • Reliable cleanup -- All child processes are terminated when the server exits; exited processes are auto-removed after a configurable TTL
  • Output control -- Per-request maxBytes and global SIDECAR_MAX_OUTPUT_SIZE to cap output returned to the LLM
  • Command security -- Optional executable allowlist, blocked patterns, and audit logging

Installation

Quick Setup (any agent)

The fastest way to install mcp-sidecar into any supported coding agent:

# Interactive -- detects installed agents and lets you pick

npx add-mcp mcp-sidecar

Install to a specific agent

npx add-mcp mcp-sidecar -a claude-code npx add-mcp mcp-sidecar -a cursor npx add-mcp mcp-sidecar -a vscode

Install to all detected agents

npx add-mcp mcp-sidecar --all

Supported agents: Claude Code, Codex, Cursor, VS Code, Gemini CLI, OpenCode, Zed, Goose, Cline, and more. See add-mcp for the full list.

Manual Configuration

Claude Code:

claude mcp add sidecar -- npx -y mcp-sidecar

opencode (~/.config/opencode/opencode.json):

{

"mcp": { "sidecar": { "type": "local", "command": ["npx", "-y", "mcp-sidecar"], "enabled": true } } }

Generic (mcp.json):

{

"mcpServers": { "sidecar": { "command": "npx", "args": ["-y", "mcp-sidecar"] } } }

From Source
go install github.com/lsequeiraa/mcp-sidecar@latest

Pre-built binaries are also available on GitHub Releases for windows/amd64, linux/amd64, darwin/arm64, and darwin/amd64.

Tools

ToolDescriptionParametersReturns
startSpawn a background processcommand, name?, cwd?, env?{ id, name, pid }
stopTerminate a process (graceful, then force)id{ id, exitCode, uptime }
listList all managed processes--[{ id, name, pid, state, uptime }]
outputGet buffered stdout/stderrid, tail?, maxBytes?{ stdout, stderr, uptime }
sendWrite to a process's stdinid, input{ ok }
statusGet detailed state of one processid{ id, name, pid, state, exitCode, uptime, outputSize }

The uptime field reflects actual runtime: for running processes it's the time since start; for exited processes it's the time the process was alive (not the time since start).

The output tool's maxBytes parameter caps the total bytes of stdout+stderr combined. When both tail and maxBytes are provided, tail selects lines first, then maxBytes caps the byte size of the result. When the output exceeds the limit, the most recent content is kept and stderr is prioritized. Truncation preserves line boundaries. When output is truncated, the response includes "truncated": true and "totalBytes" indicating the original size.

Process States
StateMeaning
runningProcess is alive
exitedProcess terminated normally
failedProcess terminated with non-zero exit code
killedProcess was stopped via the stop tool
Example workflow

A typical session where an agent starts an API server, waits for it to be ready, tests it, and tears it down:

1. start  { command: "dotnet run --project MyApi", name: "api" }

→ { id: "sc-a1b2c3", name: "api", pid: 12345 }

  1. output { id: "sc-a1b2c3", tail: 5 } → { stdout: "Now listening on: http://localhost:5000", stderr: "", uptime: "3s" }
  1. (agent runs curl http://localhost:5000/health using its own shell)
  1. output { id: "sc-a1b2c3", tail: 20 } → { stdout: "...request logs...", stderr: "", uptime: "15s" }
  1. stop { id: "sc-a1b2c3" } → { id: "sc-a1b2c3", exitCode: -1, uptime: "18s" }

The agent uses its native shell for short-lived commands (curl, build tools, etc.) and mcp-sidecar for processes that need to stay alive across multiple tool calls.

Configuration

All configuration is via environment variables (all optional):

VariableDefaultDescription
SIDECAR_MAX_PROCESSES10Maximum concurrent processes
SIDECAR_BUFFER_SIZE1048576 (1MB)Output buffer size per process in bytes
SIDECAR_KILL_TIMEOUT5000Milliseconds to wait between SIGTERM and SIGKILL
SIDECAR_CLEANUP_AFTER1800 (30 min)Seconds before exited processes are auto-removed. 0 = disabled
SIDECAR_MAX_OUTPUT_SIZE0 (unlimited)Global cap on bytes returned by the output tool. 0 = no limit
SIDECAR_ALLOWED_EXECUTABLES--Comma-separated allowlist of executables (enables secure mode)
SIDECAR_BLOCKED_PATTERNS--Comma-separated regex patterns to reject commands
SIDECAR_AUDIT_LOG--Audit log directory, or true (cwd) / temp (OS temp dir)

Auto-cleanup note: When SIDECAR_CLEANUP_AFTER is enabled (the default), exited processes are removed from the manager after the TTL expires. Once removed, calls to output, status, or stop for that process ID will return "not found". Retrieve any output you need within the TTL window (30 minutes by default).

Security

When SIDECAR_ALLOWED_EXECUTABLES is set, mcp-sidecar switches from shell mode to secure mode:

Shell mode (default)Secure mode
ExecutionVia sh -c / cmd /CDirect exec (no shell)
AllowlistNoneOnly listed executables can run
MetacharactersAllowed (shell interprets them)Rejected (`\, &, ;, >, <, $, , (, ))
Blocked patternsNoneRegex patterns matched against full command
Audit loggingNoneOptional JSONL log of all start/stop/blocked events

Metacharacters inside quotes are allowed -- grep "error|warning" file.txt works because the | is inside double quotes and won't be interpreted by a shell.

Backslash (\) is intentionally not treated as a metacharacter so Windows paths like C:\Users\me\app.exe work without escaping.

Configuration examples

Claude Desktop / Cursor (mcp.json):

{

"mcpServers": { "sidecar": { "command": "npx", "args": ["-y", "mcp-sidecar"], "env": { "SIDECAR_ALLOWED_EXECUTABLES": "dotnet,npm,node,git,python", "SIDECAR_BLOCKED_PATTERNS": "rm\\s+-rf,--force,--no-verify", "SIDECAR_AUDIT_LOG": "./logs" } } } }

Claude Code:

claude mcp add sidecar \

-e SIDECAR_ALLOWED_EXECUTABLES=dotnet,npm,node,git,python \ -e SIDECAR_BLOCKED_PATTERNS="rm\\s+-rf,--force,--no-verify" \ -e SIDECAR_AUDIT_LOG=true \ -- npx -y mcp-sidecar

Audit log format

The audit log is always written to a file named sidecar-audit.jsonl inside the configured directory. The SIDECAR_AUDIT_LOG variable controls where:

ValueLog file location
true./sidecar-audit.jsonl (current working directory)
temp /sidecar-audit.jsonl
./logs./logs/sidecar-audit.jsonl (directory auto-created)

Each line is a JSON object with one of three event types:

{"ts":"2025-03-12T10:00:00Z","event":"start","id":"abc123","command":"dotnet run","cwd":"/app"}

{"ts":"2025-03-12T10:00:05Z","event":"stop","id":"abc123","exit_code":0,"duration":"5s"} {"ts":"2025-03-12T10:00:06Z","event":"blocked","command":"rm -rf /","reason":"executable \"rm\" is not in allowed list"}

Executable matching

The allowlist supports three matching modes:

Allowlist entryMatches
dotnetdotnet anywhere (basename match)
./build.shOnly ./build.sh (exact match)
/usr/bin/python3Only /usr/bin/python3, or any python3 resolved via PATH

Distribution

ChannelUsage
npmnpx -y mcp-sidecar (platform binary via @mcp-sidecar/* optional packages)
GitHub ReleasesPre-built binaries attached to each release
MCP Registryio.github.lsequeiraa/mcp-sidecar

License

MIT

ถาม PopNx