Skip to main content

辰知MCP工具

Project description

mcp-chenzhi

辰知MCP工具 (Chenzhi MCP Tool)

这是一个基于 MCP 框架的工具服务器,提供了查询天气和计算加法的功能。

功能

  • 查询天气: 通过 query_weather 工具,输入城市名称获取实时天气信息。
  • 计算加法: 通过 add 工具,计算两个整数的和。

安装

  1. 克隆本项目到本地:

    git clone https://github.com/chris666-sys/mcp-chenzhi.git
    cd mcp-chenzhi
    
  2. 安装依赖: 建议在虚拟环境中使用 pip 安装项目依赖。

    pip install .
    

    或者

    pip install -r requirements.txt 
    

    (如果项目提供了 requirements.txt 文件)

使用

直接运行以下命令启动服务:

mcp-chenzhi

MCP 服务器配置

{
    "mcpServers": {
        "mcp-chenzhi": {
            "command": "uvx",
            "args": [
                "mcp-chenzhi"
            ]
        }
    }
}

服务启动后,MCP Agent 就可以连接到此服务器并使用注册的工具。

Project details


Download files

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

Source Distribution

mcp_chenzhi-0.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

mcp_chenzhi-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file mcp_chenzhi-0.0.1.tar.gz.

File metadata

  • Download URL: mcp_chenzhi-0.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mcp_chenzhi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e5699c564249e40b3cee07f4cc56d88e15123d7cdb1b2e5cc503da244a3d6b1b
MD5 f856292ef59517fbb30a838a70aae0ec
BLAKE2b-256 79b3a3e4cc8418241692933764ad99af0994ef935e7daea3a0acbd3a3c1d18f7

See more details on using hashes here.

File details

Details for the file mcp_chenzhi-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_chenzhi-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mcp_chenzhi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a8963bce46bdaec703ddac1f8d1bf818f9c13cbb22174f78d4c08bd43a980b
MD5 b79f7594d7b0c7b7de9d8114aae5ca52
BLAKE2b-256 6cbed02b0b73e51b0a9a62e123d5d6e207b00ce913c6084b4775d7dca8c5b05a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page