CLI and MCP server for the Sentinel DevOps portal - manage deployments, services, and projects
Project description
sentinel-cli
CLI and MCP server for the Sentinel DevOps portal. Deploy, monitor, and manage services from the terminal or via AI agents.
Install
pip install sentinel-cli
Requires Python 3.12+.
CLI
sentinel login # OTP auth (Payd Auth)
sentinel projects # List all projects
sentinel services # List all containers
sentinel status # Projects + last deploy overview
sentinel deploy bradar # Deploy by project name
sentinel deploy bradar --tag v1.2.3 # Deploy specific image tag
sentinel rollback bradar <deploy-id> # Roll back to previous deploy
sentinel deployments --project bradar # Deployment history
sentinel logs sentinel-api --tail 50 # Container logs
sentinel logs bradar --since 1h # Logs from last hour
Auth
Run sentinel login once. Tokens are cached at ~/.sentinel/credentials.json with auto-refresh.
Or set SENTINEL_TOKEN env var with a valid admin JWT to skip the login flow.
Override API URL
SENTINEL_URL=http://localhost:8000 sentinel projects
MCP Server (for Claude Code / AI agents)
The package includes an MCP server that exposes Sentinel tools for AI agents.
Add to your Claude Code settings (.claude/settings.json):
{
"mcpServers": {
"sentinel": {
"command": "sentinel-mcp"
}
}
}
Available tools
| Tool | Description |
|---|---|
sentinel_list_projects |
List all projects with type, domain, status |
sentinel_list_services |
List all Docker containers with status |
sentinel_list_deployments |
Recent deployments, filterable by project |
sentinel_deploy |
Trigger a deployment by project name |
sentinel_rollback |
Roll back to a previous deployment |
sentinel_get_logs |
Container logs with tail and time filter |
sentinel_project_status |
Project details + latest deployment |
The MCP server reads auth from ~/.sentinel/credentials.json (run sentinel login first) or SENTINEL_TOKEN env var.
What is Sentinel?
Sentinel is a self-hosted DevOps portal for managing Docker container deployments behind Caddy reverse proxy. It provides webhook-based deploys, automatic health checks with rollback, custom domain management with on-demand TLS, and a web UI for monitoring.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentinel_cli-0.1.0.tar.gz.
File metadata
- Download URL: sentinel_cli-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53a8a946d5a0d128a329581f0539aa03c9279069c05a44e206be1a7970fbbee9
|
|
| MD5 |
e1eda98df161de84f8e6482723831b5e
|
|
| BLAKE2b-256 |
8ed726490a7fae3a453af715f520a90ab8d47d63b31d25df2b428836833263cf
|
File details
Details for the file sentinel_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sentinel_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00e6c77bc004cdec22cf87aa45fcbb79cf732243f3ba4d8f95b153c4bbe123d7
|
|
| MD5 |
06f844d606eba26a6c6deadbb8aadc32
|
|
| BLAKE2b-256 |
2e1b062cb448382f108b85db8d1cd8271c6c9e03515253bcabfc1503e7c624fc
|