superuser

v0.1.1
io.github.fitzyracing1/superuser Checked 8 hours ago Published 18 days ago

Permission-gated superuser (sysadmin) MCP agent with enterprise guardrails and audit.

Values you need

VariableWhat it is
SUPERUSER_HUMAN_OWNERoptional Human accountable for the agent's actions (recorded in every audit entry).
SUPERUSER_APPROVAL_AToptional Minimum risk level that triggers the human-approval gate: LOW, MEDIUM, HIGH, or CRITICAL.
AI_DEFENSE_INSPECTION_API_KEYoptional secret Cisco AI Defense Inspection API key for runtime tool-call/response inspection.
DUO_TOKEN_URLoptional Cisco Duo OAuth 2.1 token endpoint (client-credentials) for per-tool-call authorization.
DUO_CLIENT_IDoptional Cisco Duo OAuth client ID for the agent's non-human identity.
DUO_CLIENT_SECREToptional secret Cisco Duo OAuth client secret.
STRIPE_API_KEYoptional secret Stripe secret API key for usage-based (metered) billing.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add superuser -- uvx superuser==0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "superuser": {
      "args": [
        "superuser==0.1.1"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "superuser": {
      "args": [
        "superuser==0.1.1"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "superuser": {
      "args": [
        "superuser==0.1.1"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.superuser]
command = "uvx"
args = ["superuser==0.1.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: system_status, disk_usage, list_processes, run_command, github_get_repo, github_list_issues, github_create_issue_comment, security_status.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json