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
Metadata
Release files for wanyi-today 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wanyi_today-0.1.7.tar.gz | 28.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wanyi_today-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.9 kB
Release files / wanyi_today-0.1.7.tar.gz
| Download URL | wanyi_today-0.1.7.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2995a7c8bad393cba7cd586ca26700fd8d0774e8d845de84847afbaf6713dd1a
|
|
BLAKE2b-256 checksum How to use checksums |
06fe4fd572d7f766561f787d819d91b99ff5a8329573ed00aa3e9b22a7c982a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.2
|
Release files / wanyi_today-0.1.7-py3-none-any.whl
| Download URL | wanyi_today-0.1.7-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4012bad4460fab2a6886b2d2fbcb64780179509850c6ba357778aca09c8d56c
|
|
BLAKE2b-256 checksum How to use checksums |
9240871600170a37c3da706a6c4c591716465f564b490c57e37f41f126851131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.2
|