Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Question about UV dependency handling and entry point configuration #16

Open
dkoosis opened this issue Feb 20, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dkoosis
Copy link

dkoosis commented Feb 20, 2025

Describe the bug
Thanks for this excellent tool! Two issues encountered during project creation that affect the tool's "Zero Configuration" goal:

  1. UV dependency (>=0.4.10) needs to be manually installed in the virtual environment
  2. Project entry point configuration requires modification for uv run to work as documented

To Reproduce

  1. Run uvx create-mcp-server
  2. Follow prompts to create new project
  3. cd into project directory
  4. uv sync --dev --all-extras
  5. uv run my-server
    First error: command not found: uv
  6. After installing UV manually:
    Second error: ModuleNotFoundError: No module named 'mcp_template_server.__main__'
  7. Check virtual environment -> UV needs manual installation

Expected behavior
Based on the project's "Zero Configuration" philosophy and documentation:

  • Dependencies should be automatically handled during setup
  • Server should start with uv run my-server without additional configuration

Logs
Initial attempt:

$ uv run my-server
command not found: uv

After UV installation:

$ uv run my-server
ModuleNotFoundError: No module named 'mcp_template_server.__main__'

Additional context
Happy to provide more details about either issue, or submit a fix. These observations come from following the quickstart guide and documented setup steps.

@dkoosis dkoosis added the bug Something isn't working label Feb 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant