辰知MCP工具
Project description
mcp-chenzhi
辰知MCP工具 (Chenzhi MCP Tool)
这是一个基于 MCP 框架的工具服务器,提供了查询天气和计算加法的功能。
功能
- 查询天气: 通过
query_weather工具,输入城市名称获取实时天气信息。 - 计算加法: 通过
add工具,计算两个整数的和。
安装
-
克隆本项目到本地:
git clone https://github.com/chris666-sys/mcp-chenzhi.git cd mcp-chenzhi
-
安装依赖: 建议在虚拟环境中使用 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
Release history Release notifications | RSS feed
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.2.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_chenzhi-0.0.2.tar.gz.
File metadata
- Download URL: mcp_chenzhi-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
106a24aaf258c942022b011562ace8309895fe0b66df16f6640f05cc6cf34959
|
|
| MD5 |
d89a6636cd80c5b8366adca04c6715c9
|
|
| BLAKE2b-256 |
00d611f654dd732fd44c652823f537fcc3fc1bc3331b402e6a4e4bb16473836f
|
File details
Details for the file mcp_chenzhi-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mcp_chenzhi-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c5aba30c81da174274dc2365c899547797d09cadfac49a558731aaca566d150
|
|
| MD5 |
929eae0b4d03dfe6b80e201cfb00c37d
|
|
| BLAKE2b-256 |
cad67b08ec6020938159ad7b387623b956a8052b4c427b38eafd087cf768c5f7
|