# SentinelX [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/pensados/sentinelx-cloud-core  
**GitHub Stars:** 17  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sentinelx

## Description
Operate your own Linux servers from your LLM. Requires the SentinelX agent installed per host.

## Tools
Capabilities this server exposes over MCP:

- **sentinel_exec** — Run an allowlisted shell command
- **sentinel_script_run** — Run a one-off bash or python3 script
- **sentinel_edit** — Structured file edit (replace, regex, replace-block, write, append, prepend)
- **sentinel_move** — Move/rename a file or directory
- **sentinel_copy** — Copy a file or directory
- **sentinel_delete** — Delete a file or directory
- **sentinel_chmod** — Change file permissions
- **sentinel_chown** — Change file owner/group
- **sentinel_service** — systemctl start/stop/restart/reload/status
- **sentinel_restart** — Shortcut for `sentinel_service` with action=restart
- **sentinel_upload_file** — Single-shot file upload to the host
- **sentinel_read** — Read a file's contents, with optional line-range slicing
- **sentinel_list** — Structured directory listing (name, type, size, mtime)
- **sentinel_search** — Recursive content search with regex and glob filters
- **sentinel_local_api** — Allowlisted actions on host-local structured endpoints: a unix socket (HTTP or JSON-RPC) or a declared binary over stdio (JSON-RPC, MCP servers included). Only when the host declares `local_apis
- **sentinel_capabilities** — Host policy/capabilities; optional bounded summary projection
- **sentinel_help** — Rich orientation/help; optional topic/path/single-playbook projections
- **sentinel_state** — Internal agent state, for debugging
- **sentinel_ping** — Cheap connectivity check

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/pensados/sentinelx-cloud-core), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://get.sentinelx.app | bash
```

2. Install:

```sh
iwr -useb https://get.sentinelx.app/install.ps1 -OutFile "$env:TEMP\sx.ps1"
```

3. Install:

```sh
powershell -ExecutionPolicy Bypass -File "$env:TEMP\sx.ps1"
```

4. Install:

```sh
powershell -ExecutionPolicy Bypass -File "$env:TEMP\sx.ps1" -User
```

## Documentation

## What SentinelX does

SentinelX MCP server lets an LLM operate an enrolled host through an agent installed on that machine. The agent receives MCP tool calls through the SentinelX hub, performs permitted operations locally, and returns the results. Supported hosts include modern Linux distributions using systemd, macOS systems using launchd, Windows installations running as a service or per-user scheduled task, and WSL2 environments.

Its security model centers on explicit policy. Shell commands must be allowlisted, while filesystem operations use a separate per-path allowlist. Read-only paths can be marked `r`; paths marked `rw` also permit write operations. Actions are recorded, and destructive filesystem operations that replace or remove existing targets create a timestamped backup first.

## How it works

After enrollment, the agent opens a single outbound WebSocket connection to the SentinelX hub at `mcp.sentinelx.app`. The hub handles authentication, MCP transport, and routing across hosts; the agent executes the requested operations on the selected machine. No inbound port, port forwarding, or reverse tunnel is needed.

The agent source is provided by the `sentinelx-cloud-core` repository and is installed on the host under `/opt/sentinelx-cloud-core`. Its allowlist and other policy settings are stored in `/etc/sentinelx/config.yaml`. Enrollment identity is stored in `/etc/sentinelx/identity.json` as the agent's JWT used during the WebSocket handshake.

## Setup and configuration

Linux and macOS installation can begin with the installer at `https://get.sentinelx.app`:

```bash
curl -fsSL https://get.sentinelx.app | bash
```

The installer detects the operating system, creates a virtual environment, registers the agent with systemd or launchd, and guides enrollment. Windows uses a PowerShell installer and supports either an elevated service installation or a no-admin per-user installation with the `-User` option. Windows requires Python 3.12 or newer and Git on `PATH`. Offline installation is available with a bundle supplied through the installer's `-Bundle` option.

Configure permitted commands, services, and filesystem locations in `/etc/sentinelx/config.yaml`. Host-local structured endpoints can be exposed through `local_apis`, which controls the endpoints available to `sentinel_local_api`. The agent uses the operating system trust store through `truststore`, including for environments with a TLS-inspecting proxy.

## Tools and capabilities

The MCP tool set includes:

- `sentinel_exec` for allowlisted shell commands and `sentinel_script_run` for one-off Bash or Python scripts.
- `sentinel_read`, `sentinel_list`, and `sentinel_search` for structured, read-only filesystem access.
- `sentinel_edit`, `sentinel_move`, `sentinel_copy`, `sentinel_delete`, `sentinel_chmod`, and `sentinel_chown` for policy-gated filesystem changes.
- `sentinel_upload_file` for single-shot uploads.
- `sentinel_service` and `sentinel_restart` for service status and systemctl-style lifecycle actions.
- `sentinel_local_api` for allowlisted Unix-socket or declared stdio JSON-RPC endpoints, including MCP servers.
- `sentinel_capabilities`, `sentinel_help`, `sentinel_state`, and `sentinel_ping` for policy discovery, orientation, debugging, and connectivity checks.

Help and capability responses support narrower projections, including topic, path, playbook, pagination, and summary selectors. These can reduce the amount of host guidance or policy metadata returned to the model.

_Full upstream README: https://allmcps.com/mcp/sentinelx/readme_

