Usage
Commands
| Command | Description |
|---|---|
| list-clients | List MCP config file locations. By default shows only configs that were found on disk. |
| list-servers | Read all found JSON configs and Codex config.toml, extract MCP servers (mcpServers or mcp_servers), and print a table: app name, server name, command, args. |
| add-server | Interactive flow: select one or more apps (↑/↓ move, Space toggle, “Select all”, Enter to confirm), then enter server name, command, and args. Writes to every selected config (JSON or Codex TOML). |
| delete-server | Interactive flow: enter server name to delete, then select one or more apps that contain that server (↑/↓ move, Space toggle, “Select all”, Enter to confirm). Removes the server from every selected config (JSON or Codex TOML). |
Options
| Option | Short | Description |
|---|---|---|
| —all | -a | Only for list-clients. Show every known config location (found and not found). |
Examples
Output
- list-clients — One line per config: app name, ✓ or ✗ (found or not), and the full path when found.
- list-servers — A table with columns: APP, SERVER, COMMAND, ARGS. JSON configs use
mcpServers; Codex uses~/.codex/config.tomland[mcp_servers.<name>]. Other TOML/YAML configs are skipped. - add-server — Writes the new server to each selected config; shows success or an error.
- delete-server — Removes the server from each selected config; shows success, “Server not found”, or an error.