Lock down config further and error out on unknown cli options

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration L (Sept 22 - Oct 6)
    • Not Needed
    • Developer Tools

      Right now, the server config allows specifying a lot of options which make sense in mongosh, but are not supported at all by the MCP server. We should remove all mongosh options that are not supported by the MCP server and also validate the cli args and throw an error if there's unknown option provided. This will avoid misconfigurations, such as specifying --readonly (as opposed to --readOnly, which is the correct option).

            Assignee:
            Kevin Mas Ruiz
            Reporter:
            Nikola Irinchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: