Skip to content

Requirement name mcp matches project name mcp #111

Closed
@SHTechBoBo

Description

@SHTechBoBo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions