feishu-notify-mcp
一个用于发送飞书(Lark)自定义机器人通知的 MCP server,主要用于敏感操作前的审计提醒。
安装
通过 uvx 直接运行(推荐):
uvx feishu-notify-mcp --webhook-url <你的 webhook> [--secret <secret>]
或先安装:
pip install feishu-notify-mcp
MCP 配置
在 ~/.kiro/settings/mcp.json 或对应客户端的 MCP 配置文件中:
{
"mcpServers": {
"feishu-notify": {
"command": "uvx",
"args": ["feishu-notify-mcp"],
"env": {
"FEISHU_WEBHOOK_URL": "https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxxx",
"FEISHU_SECRET": "your-secret-or-empty"
},
"disabled": false,
"autoApprove": ["send_feishu_notification"]
}
}
}
如果机器人没有开启签名校验,可以不传 FEISHU_SECRET。也可以通过 args 传 --webhook-url / --secret,CLI 参数优先级高于环境变量。
工具
-
send_feishu_notification(tool_name, operation_summary):发送一条文本通知,内容形如:⚠️ Kiro 敏感操作通知 操作: <tool_name> 内容: <operation_summary>
飞书签名
签名算法:key = timestamp + "\n" + secret,对空字符串做 HMAC-SHA256,再做 Base64 编码。仅在配置了 secret 时启用。
Metadata
Release files for mcp-feishu-notify 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_feishu_notify-0.1.0.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_feishu_notify-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / mcp_feishu_notify-0.1.0.tar.gz
| Download URL | mcp_feishu_notify-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6882118fc6add3e0a1af75c331a9d85a6c7f91f87b5c6fe135a999cc421d97c2
|
|
BLAKE2b-256 checksum How to use checksums |
1e195608b26bd35a88e5a3dfb42b4fc9e847150b80cf1558bee75b4b378e3b6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / mcp_feishu_notify-0.1.0-py3-none-any.whl
| Download URL | mcp_feishu_notify-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5185a25e3d150fda4bbffb32fb45d0b41d9d9f38d938824ee0897f3b3e48e24e
|
|
BLAKE2b-256 checksum How to use checksums |
f5edb51620abb678f0f2b81a492ef585fa79016049d8713ea7e510477a38f7f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for mcp-feishu-notify 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.