Can't add mcp server via command

I had the same issue and fixed it.

I had installed “mcp” instead of “mcp[cli]” as stated in the docs

if you had installed just “mcp”

uninstall it first:

pip uninstall "mcp"

Then install it the correct one.

pip install "mcp[cli]"

Hope that helps!