SysAdmin MCP Assistant
Provides read-only diagnostics for approved Linux hosts over SSH, including port checks, service status, resource snapshots, allowlisted log reads/searches, and active user information.
Click on "Install 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., "@SysAdmin MCP Assistantshow the last 200 lines of /var/log/syslog on host app-01"
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.
SysAdmin MCP Assistant
A security-first MCP service for read-only diagnostics on approved Linux
hosts over SSH. The complete design and delivery plan are in
project_context.md and
project-phases.md.
Web console authentication
The local console starts with the temporary account admin / admin. Its first
login is restricted to changing that password; use at least 12 characters.
Passwords and session tokens are salted or hashed in data/audit.db. Sessions
use an HttpOnly cookie, CSRF protection, a 30-minute idle timeout, and an
8-hour maximum lifetime. The top navigation provides separate Console and
searchable History views plus explicit sign-out.
Related MCP server: Linux MCP Server
Current status
Phase 1's executor policy is implemented. ReadOnlyCommandPolicy builds a
small, fixed set of argument vectors for ports, services, resource snapshots,
allowlisted log reads/searches, and active users. ReadOnlyExecutor applies
uniform output bounds, while the AsyncSSH implementation remains isolated in
the transport module. MCP tools are not implemented yet.
Phase 2's deployable OS hardening is available in hardening/.
It uses an OpenSSH forced-command gate with fixed absolute executables, a
root-owned log allowlist, disabled interactive/forwarding features, and an
adversarial verification checklist. Deployment and live escape testing must be
performed on the disposable Linux host before Phase 2 is considered complete.
Phase 3's mandatory append-only SQLite audit sink is implemented. It records a
durable attempt before transport execution, a terminal success/error event,
and policy denials, with bounded excerpts and full-output hashes. See
docs/audit.md for the event and operational model.
Phase 4's typed MCP stdio adapter exposes the six diagnostic capabilities with
generated bounded schemas and read-only annotations. It has no raw command or
generic SSH tool. See docs/mcp-server.md for runtime and
validation instructions.
Phase 5 adds a raw-first presentation model and a replaceable summary boundary.
The safe default summary is content-blind, so prompt-like text in logs remains
inert. See docs/presentation.md.
Phase 6 provides validated multi-host TOML configuration, per-host log
allowlists and resource thresholds, plus an atomic sysadmin-hosts management
command. See docs/host-configuration.md.
Phase 7's local adversarial review covers injection, traversal, audit
completeness, prompt-like log content, and output amplification. Findings and
remaining live-host checks are recorded in SECURITY_REVIEW.md.
Phase 8's MVP cut adds per-session rate limiting, clear safe policy errors, and
sysadmin-preflight. The deployment sequence and acceptance criteria are in
MVP_RUNBOOK.md.
Host log access is configured with exact absolute paths in
config/hosts.toml; globs, relative paths, and paths containing traversal are
not accepted. Log line requests are capped at 500 lines, and every command
result is capped at 2,000 lines and 256 KiB per output stream, with
CommandResult.truncated indicating when a cap was applied.
Local setup
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e ".[dev]"
pytestRun the MCP server after creating the host configuration:
sysadmin-mcp --config config/hosts.toml --audit-db data/audit.dbLocal operator UI
Copy .env.example to .env, then add OPENAI_API_KEY, GEMINI_API_KEY,
and the SSH credential environment variable referenced by the selected host.
The real .env is Git-ignored and keys are never sent to the browser.
Start the local API and UI in separate terminals:
sysadmin-web
cd ui
npm run devOpen http://localhost:3000. The provider switch supports OpenAI and Gemini;
Anthropic is intentionally visible but disabled until its adapter is implemented.
Add VMs from the UI
Select Add VM, enter an alias, hostname/IP, SSH port, username, credential
environment-variable name, and exact allowed log paths. The first connection
shows the SSH key algorithm and SHA-256 fingerprint. Verify it through the VM
console or a trusted administrator, then choose Yes, trust key or
No, cancel. Acceptance rechecks the key before atomically updating
data/known_hosts and config/hosts.toml; passwords are never entered in the UI.
Copy config/hosts.example.toml to config/hosts.toml only after the test
host is prepared. config/hosts.toml, private keys, and SQLite files are
ignored by Git.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Scoped, audited SSH exec, sessions, and SFTP on your saved servers without exposing credentials
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
- emisarOAuthdev.emisar
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Read-only MCP server for turva.dev, an agent-readiness audit and advisory service.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables read-only Linux system diagnostics and troubleshooting on local and remote RHEL-based systems via SSH, including services, processes, logs, network, and storage analysis.20MIT
- AlicenseAqualityFmaintenanceEnables read-only Linux system diagnostics and troubleshooting on RHEL-based systems, including system info, services, processes, logs, network, and storage analysis. Supports both local and remote SSH execution across multiple hosts.20MIT
- AlicenseNot gradedqualityCmaintenanceEnables remote execution of Linux commands via SSH, supporting system monitoring, file operations, and secure authentication with configurable safety controls.4MIT
- AlicenseAqualityBmaintenanceEnables reading diagnostic data from remote servers over SSH using a whitelist of read-only commands, with secret redaction.5851MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/IrfanKarim101/sysadmin-mcp-assisstant'
If you have feedback or need assistance with the MCP directory API, please join our Discord server