Skip to content

kindgi mcp

Manage MCP server entries in .mcp.json (add / list / remove / presets).

Add an MCP server entry to .mcp.json from a preset.

Terminal window
kindgi mcp add <KIND> --secret=<name> [--env=<name>] [--scope=<kind>[:id]] [--server-name=<label>] [--path=<pack-dir>] [--force]

Flags:

  • --env <value>: The environment whose env files hold the secret. Default: local.
  • --force: Replace an entry with the same name. By default add refuses.
  • --path <value>: The pack root, where .mcp.json is. Default: the current directory.
  • --scope <value>: The secret's scope, recorded in the entry: tenant (default), org:&lt;id&gt; or project:&lt;id&gt;.
  • --secret <value>: The secret's name in the pack's env files for --env; the server gets its value at start, never .mcp.json. Required.
  • --server-name <value>: The entry's name in .mcp.json. Default: derived from --secret (MY_DB_URL becomes my_db).

List MCP servers configured in .mcp.json.

Terminal window
kindgi mcp list [--path=<pack-dir>]

Flags:

  • --path <value>: The pack root, where .mcp.json is. Default: the current directory.

Remove a server entry from .mcp.json. Idempotent.

Terminal window
kindgi mcp remove <SERVER_NAME> [--path=<pack-dir>]

Flags:

  • --path <value>: The pack root, where .mcp.json is. Default: the current directory.

List available MCP presets shipped with the CLI.

Terminal window
kindgi mcp presets

Every command also takes the global flags.