推送MCP服务器和代理技能
MCP stdio服务器,通过以下方式向您的iPhone发送推送通知 容易对付的人.
设置
- 创建Pushover帐户 在https://pushover.net并安装iOS应用程序。
- 创建应用程序 在https://pushover.net/apps/build得到你的 API代币.
- 记下您的用户密钥 从Pushover仪表板。
再进行
python -m pip install -r requirements.txt配置
设置环境变量:
export PUSHOVER_TOKEN="your-app-api-token"
export PUSHOVER_USER="your-user-key"添加到您的MCP客户端
添加到MCP客户端配置(例如Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"push": {
"command": "python",
"args": ["%USERPROFILE%\\projects\\mcp\\push\\server.py"],
"env": {
"PUSHOVER_TOKEN": "your-app-api-token",
"PUSHOVER_USER": "your-user-key"
}
}
}
}工具: send_push
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
message | string | yes | 通知正文 |
title | string | 否 | 通知标题 |
priority | int | no | -2(最低)到2(紧急)。默认值:0 |
sound | string | no | 声音名称(例如pushover、bike、cosmic、none) |
url | string | 否 | 补充URL |
url_title | string | no | URL的标题 |
html | bool | no | 启用HTML格式 |
device | string | no | 针对特定设备 |
