Name | wanyi-today JSON |
Version |
0.1.6
JSON |
| download |
home_page | None |
Summary | A simple FastMCP demo server with number addition tool |
upload_time | 2025-07-23 19:38:12 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT |
keywords |
demo
fastmcp
mcp
server
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Wanyi Today - MCP Server
一个基于 FastMCP 的演示服务器,提供基础工具和资源用于演示目的。
## 功能特性
### 工具 (Tools)
- `add(a, b)` - 将两个数字相加
- `multiply(a, b)` - 将两个数字相乘
### 资源 (Resources)
- `greeting://{name}` - 获取个性化问候语
- `info://server` - 获取服务器信息
### 提示 (Prompts)
- `greet_user(name, style)` - 生成问候提示
## 安装
```bash
pip install wanyi-today
```
或者使用 uvx:
```bash
uvx wanyi-today
```
## 使用方法
### 作为 MCP 服务器运行
```bash
wanyi-today
```
### 在 Claude Desktop 中配置
在 Claude Desktop 的配置文件中添加:
```json
{
"mcpServers": {
"wanyi-today": {
"command": "uvx",
"args": ["wanyi-today"]
}
}
}
```
### 开发模式
```bash
# 克隆仓库
git clone https://github.com/Ryan7t/wanyi-today.git
cd wanyi-today
# 安装依赖
pip install -e .
# 运行服务器
python -m wanyi_today
```
## 测试
使用 MCP Inspector 测试服务器:
```bash
npx @modelcontextprotocol/inspector uvx wanyi-today
```
## 许可证
MIT License
Raw data
{
"_id": null,
"home_page": null,
"name": "wanyi-today",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "demo, fastmcp, mcp, server",
"author": null,
"author_email": "Your Name <your.email@example.com>",
"download_url": "https://files.pythonhosted.org/packages/e6/3f/04d71585ddf9634362a9a5d1b71453dc65907a14bb453d68fc8a3730c86e/wanyi_today-0.1.6.tar.gz",
"platform": null,
"description": "# Wanyi Today - MCP Server\n\n\u4e00\u4e2a\u57fa\u4e8e FastMCP \u7684\u6f14\u793a\u670d\u52a1\u5668\uff0c\u63d0\u4f9b\u57fa\u7840\u5de5\u5177\u548c\u8d44\u6e90\u7528\u4e8e\u6f14\u793a\u76ee\u7684\u3002\n\n## \u529f\u80fd\u7279\u6027\n\n### \u5de5\u5177 (Tools)\n- `add(a, b)` - \u5c06\u4e24\u4e2a\u6570\u5b57\u76f8\u52a0\n- `multiply(a, b)` - \u5c06\u4e24\u4e2a\u6570\u5b57\u76f8\u4e58\n\n### \u8d44\u6e90 (Resources)\n- `greeting://{name}` - \u83b7\u53d6\u4e2a\u6027\u5316\u95ee\u5019\u8bed\n- `info://server` - \u83b7\u53d6\u670d\u52a1\u5668\u4fe1\u606f\n\n### \u63d0\u793a (Prompts)\n- `greet_user(name, style)` - \u751f\u6210\u95ee\u5019\u63d0\u793a\n\n## \u5b89\u88c5\n\n```bash\npip install wanyi-today\n```\n\n\u6216\u8005\u4f7f\u7528 uvx\uff1a\n\n```bash\nuvx wanyi-today\n```\n\n## \u4f7f\u7528\u65b9\u6cd5\n\n### \u4f5c\u4e3a MCP \u670d\u52a1\u5668\u8fd0\u884c\n\n```bash\nwanyi-today\n```\n\n### \u5728 Claude Desktop \u4e2d\u914d\u7f6e\n\n\u5728 Claude Desktop \u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\uff1a\n\n```json\n{\n \"mcpServers\": {\n \"wanyi-today\": {\n \"command\": \"uvx\",\n \"args\": [\"wanyi-today\"]\n }\n }\n}\n```\n\n### \u5f00\u53d1\u6a21\u5f0f\n\n```bash\n# \u514b\u9686\u4ed3\u5e93\ngit clone https://github.com/Ryan7t/wanyi-today.git\ncd wanyi-today\n\n# \u5b89\u88c5\u4f9d\u8d56\npip install -e .\n\n# \u8fd0\u884c\u670d\u52a1\u5668\npython -m wanyi_today\n```\n\n## \u6d4b\u8bd5\n\n\u4f7f\u7528 MCP Inspector \u6d4b\u8bd5\u670d\u52a1\u5668\uff1a\n\n```bash\nnpx @modelcontextprotocol/inspector uvx wanyi-today\n```\n\n## \u8bb8\u53ef\u8bc1\n\nMIT License",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple FastMCP demo server with number addition tool",
"version": "0.1.6",
"project_urls": {
"Homepage": "https://github.com/Ryan7t/wanyi-today",
"Issues": "https://github.com/Ryan7t/wanyi-today/issues",
"Repository": "https://github.com/Ryan7t/wanyi-today"
},
"split_keywords": [
"demo",
" fastmcp",
" mcp",
" server"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bc319b69699d9bbe5979300d4ce4fb7e6505c4ac87db05fc17c2a6344dfeb542",
"md5": "133b8700cc1845cdcfce2eac6cf9e8b5",
"sha256": "79a9f339ff0d25befc433b23a702932c45d0f9793aa52bd6032167c1f9fc6b9e"
},
"downloads": -1,
"filename": "wanyi_today-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "133b8700cc1845cdcfce2eac6cf9e8b5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3986,
"upload_time": "2025-07-23T19:38:10",
"upload_time_iso_8601": "2025-07-23T19:38:10.906640Z",
"url": "https://files.pythonhosted.org/packages/bc/31/9b69699d9bbe5979300d4ce4fb7e6505c4ac87db05fc17c2a6344dfeb542/wanyi_today-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e63f04d71585ddf9634362a9a5d1b71453dc65907a14bb453d68fc8a3730c86e",
"md5": "6756730c8f9504a8972533453364a553",
"sha256": "819bcb6bcdb74a049a66342fcc9490958285abf07de4c8f3973c1ce773a99119"
},
"downloads": -1,
"filename": "wanyi_today-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "6756730c8f9504a8972533453364a553",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 23955,
"upload_time": "2025-07-23T19:38:12",
"upload_time_iso_8601": "2025-07-23T19:38:12.963045Z",
"url": "https://files.pythonhosted.org/packages/e6/3f/04d71585ddf9634362a9a5d1b71453dc65907a14bb453d68fc8a3730c86e/wanyi_today-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-23 19:38:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Ryan7t",
"github_project": "wanyi-today",
"github_not_found": true,
"lcname": "wanyi-today"
}