#2433·inspector

CLI has no write path for the server catalog (add/remove/edit servers)

Author: CloneOfAlexCreated Sep 18, 2026Updated Sep 18, 2026
Labelsenhancementv2

Which client?

CLI

The problem

The web client's server-management UI can add, edit, and remove server entries and persist them to the shared config file, but the CLI only reads the existing catalog (clients/cli/src/handlers/servers-list.ts) -- there's no mcp-inspector --cli servers add/remove/edit equivalent. Setting up a new environment (CI, a fresh machine, a container image) currently means hand-editing the config JSON, or opening the web UI once just to register servers.

Solution you have in mind (optional)

Add servers add|remove|edit subcommands to the CLI that read/write the same config file the web and TUI clients use, matching the existing server-file format.

Alternatives or workarounds you have tried

No response

Already built it locally?

No response

Before you submit

  • I searched existing issues and this is not a duplicate.
  • This is a request for the Inspector itself, not for the MCP specification or an SDK.

Source: modelcontextprotocol/inspector