Skip to content
Cursor

sudoers mcp for Cursor

io.github.mrfentmen/sudoers-mcp

sudoers MCP: parse sudo policy, validate aliases, user specs and command paths.

client:Cursor transport:stdio runtime:npm

Install sudoers mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "sudoers-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/sudoers-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

sudoers mcp in other clients