Skip to main content

是什么

Python语言,基于 mcp 库实现的一个 MCP-Server。

有什么能力

预测明天的天气。

怎么用

远程使用 (推荐)

  1. 如果未安装 uv工具,先执行一键安装脚本安装
    # 在 macOS 上安装
    # 推荐使用 Homebrew 安装:
    brew install uv
    # 或者使用官方安装脚本:
    curl -LsSf https://astral.sh/uv/install.sh | sh

    # 在 Linux 上安装
    curl -LsSf https://astral.sh/uv/install.sh | sh

    # 在 Windows 上安装
    # 使用 Winget:
    winget install uv
    # 或者使用官方安装脚本(PowerShell):
    irm https://astral.sh/uv/install.ps1 | iex

    # 安装完成后,验证是否成功:
    uv --version
  1. 添加如下 mcpServers 配置
    {
      "mcpServers": {
        "weather": {
          "autoApprove": [],
          "disabled": false,
          "timeout": 60,
          "type": "stdio",
          "command": "uvx",
          "args": [
            "darcycui-mcp"
          ]
        }
      }
    }

本地使用

  1. clone项目到本地 path
  2. agent mcp_config.json 添加如下配置
  3. 注意 path 替换为你的本地路径
  4. 注意 路径分隔符,Linux/Mac 使用/分隔符, Windows 使用\分隔符
    {
      "mcpServers": {
        "weather": {
          "autoApprove": [],
          "disabled": true,
          "timeout": 60,
          "type": "stdio",
          "command": "uv",
          "args": [
            "--directory",
            "path\\src\\darcycui_mcp",
            "run",
            "weather.py"
          ]
        }
      }
    }

自动下载并使用(推荐)

agent mcp_config.json 添加如下配置

{
  "mcpServers": {
    "weather": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 60,
      "type": "stdio",
      "command": "uvx",
      "args": [
        "darcycui-mcp"
      ]
    }
  }
}

运行结果

运行结果

参考文章

马克的技术工坊Github

MCP终极指南 - 从原理到实战,带你深入掌握MCP(基础篇)-哔哩哔哩

MCP终极指南 - 带你深入掌握MCP(进阶篇)-哔哩哔哩

一文搞懂MCP、Function Calling和A2A

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

darcycui_mcp-1.0.6.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

darcycui_mcp-1.0.6-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file darcycui_mcp-1.0.6.tar.gz.

File metadata

  • Download URL: darcycui_mcp-1.0.6.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for darcycui_mcp-1.0.6.tar.gz
Algorithm Hash digest
SHA256 ca388761c50e99bb791a96a2b447f2b577a11480847c1a16e1af4e1bc811ac0d
MD5 0c564f2b7050cccbf2f2dee37cf74182
BLAKE2b-256 7a5a5630df57dd28afe4ffcef4cc4b6ebd2a6e053733f7a150736950297c12c5

See more details on using hashes here.

File details

Details for the file darcycui_mcp-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: darcycui_mcp-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for darcycui_mcp-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ebd4719f7b65aa541f642337fe2486aad29799532cb5d0b83c2ac4aa804c6a89
MD5 4f0f3172b2a1b132487f965cba8932da
BLAKE2b-256 573ab20f6e24fae24d3fe148fc61f83d1ab6727dbdcdbfdc0049f97184636f78

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

0.8.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page