Skip to content

MCP configuration commands

Back to command catalog

Command details

ntu config list

Show the saved MCP environment settings.

Usage

ntu config list

Arguments and options

  • --help, -h: Show help.

Notes

The output is JSON. These settings apply to MCP, not direct service commands.

ntu config set

Set a supported MCP environment setting.

Usage

ntu config set ntulearn.headless false

Arguments and options

  • NAME: Required. The dotted setting name, such as ntulearn.headless.
  • VALUE: Required. The value to save in the setting’s expected format.
  • --help, -h: Show help.

Notes

Restart the MCP server for changes to take effect. The configuration file is plain text and must not contain credentials.

ntu config unset

Remove a saved MCP environment setting.

Usage

ntu config unset ntulearn.headless

Arguments and options

  • NAME: Required. The dotted setting name to remove.
  • --help, -h: Show help.

Notes

After removal, the setting uses its default unless an environment variable overrides it. Restart the MCP server to apply the change.