Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Tintin-Wu opened this issue Apr 22, 2025 · 2 comments
Open

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

Tintin-Wu opened this issue Apr 22, 2025 · 2 comments

Comments

@Tintin-Wu
Copy link

Tintin-Wu commented Apr 22, 2025

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.

@nfzhy
Copy link

nfzhy commented May 15, 2025

same,but why

@HardikChhallani
Copy link

same for me too. Have you find out any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants