mcp

April 2, 2025 ยท View on GitHub

uv init
uv venv
source .venv/bin/activate
uv add "mcp[cli]" httpx


# create weather.py
uv --directory /Users/fb/Documents/Github/mcp_wheather run weather.py

// code '/Users/fb/Library/Application Support/Claude/claude_desktop_config.json'
    "mcpServers": {
        "weather": {
            "command": "uv",
            "args": [
                "--directory",
                "/Users/fb/Documents/Github/mcp_wheather",
                "run",
                "weather.py"
            ]
        }
    }