Sentinel
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SentinelCheck if example.com is up and get the current UTC time"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sentinel MCP
Safe, allowlisted tool execution for AI agents.
Sentinel is a production-minded Model Context Protocol server that lets Cursor (and other MCP clients) call a tiny set of harmless tools — only against hosts you put on an explicit allowlist.
Safety over power. No shell. No scanners. No surprises.
Why Sentinel?
Most “give the AI tools” demos hand the model a shell. That scales poorly with trust.
Sentinel keeps the useful pattern (agent → tools → results) and hardens the middle:
Control | What it does |
Target allowlist | Only listed IPs / CIDRs / domains |
Arg sanitisation | Blocks shell metacharacters & path tricks |
No | Structured argv only |
Rate limit | Sliding window per minute |
Timeouts | Per-tool hard caps |
Audit log | JSONL of every invocation |
Container hardening | non-root, |
Read the story in ABOUT.md.
Related MCP server: MCP Tools
Tools (intentionally boring)
Tool | Purpose |
| Connectivity check |
| UTC clock |
| Local SHA/BLAKE2 digest |
| DNS lookup (allowlisted) |
| GET-only HTTP (allowlisted) |
| WHOIS (allowlisted) |
| Show policy |
| Health + rate limit |
If a tool would be useful for attacking systems, it does not belong in this repo.
Quick start
Local (Python 3.11+)
git clone https://github.com/JureJan/sentinel.git
cd sentinel
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
python server.py # stdio MCP serverDocker
docker compose up --buildCursor MCP config
Add to your MCP settings (see docs/cursor-setup.md):
{
"mcpServers": {
"sentinel": {
"command": "python3",
"args": ["/absolute/path/to/sentinel/server.py"],
"env": {
"ALLOWED_TARGETS": "127.0.0.1,example.com"
}
}
}
}Configuration
Variable | Default | Meaning |
|
| Comma-separated allowlist |
|
| Max tool calls / minute |
|
| Audit JSONL directory |
|
| Seconds |
Tests
pytestProject layout
sentinel/
├── server.py # entire MCP server (~400 lines)
├── ABOUT.md # product story
├── SECURITY.md # disclosure policy
├── docs/ # setup + architecture
├── tests/ # allowlist & sanitisation tests
├── Dockerfile # python:slim + dig/curl/whois
└── docker-compose.yml # hardened runtimeStar history / support
If Sentinel helps you ship safer agent tooling, a ⭐ on GitHub helps others find it.
Issues and PRs that improve safety, docs, or tests are welcome — see CONTRIBUTING.md.
License
MIT © JureJan
This server cannot be deployed
Maintenance
Related MCP Connectors
Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn educational MCP server that exposes system tools (like IP, hostname, file operations, ping) for AI agents to execute via HTTP.221 npmMIT
- AlicenseNot gradedqualityAmaintenanceA passive MCP server that exposes a toolbox of executable tools (shell, network, HTTP, AI search, SSH, S3 file operations) to autonomous agents via Streamable HTTP, with strong security features including Docker sandboxing and WAF.2Apache 2.0
- AlicenseAqualityAmaintenanceA safe, structured MCP server that lets AI inspect and operate a VPS through typed, allowlisted tools for nginx, PM2, SSL, UFW, fail2ban, with read-only defaults and opt-in mutations.612 npm2MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides a secure, sandboxed tool execution fabric for AI agents, featuring JSON-RPC 2.0 protocol support, read-only constraints, and an observability inspector dashboard.MIT