Requirement name `mcp` matches project name `mcp`
When I run the first step uv add "mcp[cli]",
it said:
error: Requirement name `mcp` matches project name `mcp`, but self-dependencies are not permitted without the `--dev` or `--optional` flags. If your project name (`mcp`) is shadowing that of a third-party dependency, consider renaming the project.
I guess something wrong in pyproject.toml, but I don't know how to solve it.
Well, it says what you have to do 😄. Your own project may not be called "mcp" if you add a dependency called "mcp". Solution: Rename your own project to something else. (-> change project.name in pyproject.toml)
This is a genuine issue though no? If you pull the project and follow the installation instructions you get an error right off the bat
Try: uv add "mcp[cli]" --dev