ljj-mcp-demo

v0.1.2
ljj-mcp-demo Checked 3 days ago Published 2 months ago

一个基于 MCP 和 OpenWeather API 的天气查询服务器

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add ljj-mcp-demo -- uvx ljj-mcp-demo==0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ljj-mcp-demo": {
      "args": [
        "ljj-mcp-demo==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ljj-mcp-demo": {
      "args": [
        "ljj-mcp-demo==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "ljj-mcp-demo": {
      "args": [
        "ljj-mcp-demo==0.1.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ljj-mcp-demo]
command = "uvx"
args = ["ljj-mcp-demo==0.1.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: query_weather.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json