首页
学习
活动
专区
圈层
工具
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
首页
学习
活动
专区
圈层
工具
MCP广场
MCP广场 >详情页
pushover-mcp云托管模式2025-06-170分享
github
一种模型上下文协议的实现,使人工智能代理能够通过Pushover.net发送通知,并支持使用优先级、声音和URL等不同参数自定义消息。
By AshikNesin
2025-06-170
github
详情内容

Pushover MCP

smithery badge

一个通过 Pushover.net 发送通知的 Model Context Protocol 实现。

概览

此MCP使AI代理能够通过Pushover.net发送通知。它实现了MCP规范,允许与兼容MCP的AI系统无缝集成。

配置

你需要:

  1. 从Pushover.net获取的应用程序令牌
  2. 你的Pushover.net用户密钥

这些信息可以从你的 Pushover.net仪表板 获取。

工具架构

该MCP提供了一个工具:

send

通过Pushover发送通知。

{
  message: string;          // Required: The message to send
  title?: string;          // Optional: Message title
  priority?: number;       // Optional: -2 to 2 (-2: lowest, 2: emergency)
  sound?: string;         // Optional: Notification sound
  url?: string;          // Optional: URL to include
  url_title?: string;   // Optional: Title for the URL
  device?: string;     // Optional: Target specific device
}

示例MCP工具调用

{
  "name": "send",
  "params": {
    "message": "Hello from AI",
    "title": "AI Notification",
    "priority": 1
  }
}

安装

与Cursor一起使用

方法1:全局安装

使用npx运行MCP服务器:

npx -y pushover-mcp@latest start --token YOUR_TOKEN --user YOUR_USER

在你的Cursor IDE中

  1. 转到Cursor设置 > MCP
  2. 点击+ 添加新MCP服务器
  3. 填写表单:
    • 名称:Pushover Notification(或你喜欢的任何名称)
    • 类型:command
    • 命令:npx -y pushover-mcp@latest start --token YOUR_TOKEN --user YOUR_USER

方法2:特定项目配置

在你的项目中添加一个.cursor/mcp.json文件:

{
  "mcpServers": {
    "pushover": {
      "command": "npx",
      "args": [
        "-y",
        "pushover-mcp@latest",
        "start",
        "--token",
        "YOUR_TOKEN",
        "--user", 
        "YOUR_USER"
      ]
    }
  }
}

使用工具

配置完成后,Pushover通知工具将自动对Cursor AI Agent可用。你可以:

  1. 在MCP设置下的可用工具中列出该工具
  2. 当相关时,Agent会自动使用它
  3. 你可以明确要求Agent发送通知

默认情况下,Agent会在发送通知前请求批准。在设置中启用“Yolo模式”以允许自动发送。

Cursor Agent

与Roo Code一起使用

通过点击Roo Code设置中的“编辑MCP设置”或使用VS Code命令面板中的“Roo Code: 打开MCP配置”命令来访问MCP设置。

{
  "mcpServers": {
    "pushover": {
      "command": "npx",
      "args": [
        "-y",
        "pushover-mcp@latest",
        "start",
        "--token",
        "YOUR_TOKEN",
        "--user", 
        "YOUR_USER"
      ]
    }
  }
}
  1. Pushover通知工具将对Roo Code的AI代理可用

注意:YOUR_TOKENYOUR_USER替换为你的Pushover凭据。

通过Smithery安装

要通过Smithery自动为Claude Desktop安装Pushover通知:

npx -y @smithery/cli install @AshikNesin/pushover-mcp --client claude

开发

# Install dependencies
pnpm install

# Build
pnpm build

# Run tests
pnpm test

许可证

MIT

通过SSE URL连接服务
Server已在腾讯云托管,可在连接后免费调用和在线进行工具测试~
工具测试
已支持Server下的1个工具,可选择工具进行在线测试
send
Send a notification via Pushover
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档