Skip to content

Failed to run server: module 'mcp' has no attribute 'run' #560

Open
@Tintin-Wu

Description

@Tintin-Wu

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. uvx create-mcp-server
  2. cd my-server
  3. uv add "mcp[cli]"
  4. uv sync --dev --all-extras
  5. mcp dev src/my-server/server.py
  6. Open the MCP Inspector and press connect

Expected behavior
Should be connecting to server and test the server.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser: N/A
  • Version: N/A

Additional context
Add any other context about the problem here.

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