Skip to content

Conversation

jenasuraj
Copy link

@jenasuraj jenasuraj commented Jun 7, 2025

Motivation and Context

The original command mcp install server.py assumes a globally available mcp CLI, which may not be present in uv-managed setups. Using uv run mcp install server.py ensures the command executes within the correct virtual environment, aligning with recommended practices.

How Has This Been Tested?

Tested locally in a uv-managed project. The server installed successfully and was recognized by Claude Desktop.

Breaking Changes

None. Users not utilizing uv can continue using mcp install server.py as before.

Types of changes

  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This change ensures that users following the uv workflow can install and run their MCP servers without encountering issues related to command execution outside the virtual environment.

@jenasuraj jenasuraj closed this Jul 6, 2025
@jenasuraj
Copy link
Author

Closing the PR, because the thing that was present earlier works great ! my fault !

gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
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

Successfully merging this pull request may close these issues.

1 participant