A FastMCP demo server with number addition and mystical answer book tools
Project description
Wanyi Today - MCP Server
一个基于 FastMCP 的演示服务器,提供数字相加功能和神秘的答案之书体验。
功能特性
工具 (Tools)
add(a, b)- 将两个数字相加answer_book(user_input)- 答案之书,提供神秘回答
答案之书使用指南
答案之书是一个神秘的占卜工具,当你在输入中包含特定关键词时,它会为你提供简短而模棱两可的神秘回答。
触发方式:
- 使用
/答案之书指令 - 在文本中包含
答案之书关键词
示例用法:
- "我想问答案之书一个问题"
- "/答案之书 今天运势如何"
- "答案之书,我应该做什么决定"
回答风格: 答案之书会返回简短、模棱两可的神秘回答,如:
- "时机未到"
- "答案就在你心中"
- "或许是,或许不是"
- "静待花开"
安装
pip install wanyi-today
或者使用 uvx:
uvx wanyi-today
使用方法
作为 MCP 服务器运行
wanyi-today
在 Claude Desktop 中配置
在 Claude Desktop 的配置文件中添加:
{
"mcpServers": {
"wanyi-today": {
"command": "uvx",
"args": ["wanyi-today"]
}
}
}
开发模式
# 克隆仓库
git clone https://github.com/Ryan7t/wanyi-today.git
cd wanyi-today
# 安装依赖
pip install -e .
# 运行服务器
python -m wanyi_today
测试
使用 MCP Inspector 测试服务器:
npx @modelcontextprotocol/inspector uvx wanyi-today
许可证
MIT License
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
wanyi_today-0.1.7.tar.gz
(28.6 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 wanyi_today-0.1.7.tar.gz.
File metadata
- Download URL: wanyi_today-0.1.7.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2995a7c8bad393cba7cd586ca26700fd8d0774e8d845de84847afbaf6713dd1a
|
|
| MD5 |
f0e72719ccecb50e1a9afc63b696c3b9
|
|
| BLAKE2b-256 |
06fe4fd572d7f766561f787d819d91b99ff5a8329573ed00aa3e9b22a7c982a3
|
File details
Details for the file wanyi_today-0.1.7-py3-none-any.whl.
File metadata
- Download URL: wanyi_today-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4012bad4460fab2a6886b2d2fbcb64780179509850c6ba357778aca09c8d56c
|
|
| MD5 |
e7b42aa5fe2f624b846b9021bfce7e44
|
|
| BLAKE2b-256 |
9240871600170a37c3da706a6c4c591716465f564b490c57e37f41f126851131
|