AP

ashiknesin/pushover-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

43 stars 14 forks 质量 87 趋势 8MIT

ashiknesin/pushover-mcp 是从 https://github.com/ashiknesin/pushover-mcp. 导入的 MCP 服务器候选。

概览

ashiknesin/pushover-mcp 是从 https://github.com/ashiknesin/pushover-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

一种通过 Pushover.net 发送通知的模型上下文协议实现。

概述

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

配置

你需要:

  1. 来自 Pushover.net 的应用令牌
  2. 你的用户密钥来自 Pushover.net

从你的 Pushover.net 仪表盘获取这些信息。

工具结构

MCP提供单一工具:

send

通过Pushover发送通知。

示例 MCP 工具调用

安装

使用光标

方法1:全局安装

使用 npx 运行 MCP 服务器:

在你的光标IDE中

  1. 前往Cursor Settings >MCP
  2. 点击+ Add New MCP Server
  3. 填写表格:
  • 姓名:Pushover Notification(或你喜欢的任何名字)
  • 类型:command
  • 指挥:npx -y pushover-mcp@latest start --token YOUR_TOKEN --user YOUR_USER

方法2:项目特定配置

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

使用工具

配置完成后,Pushover 通知工具将自动提供给光标 AI 代理。你可以:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Pushover MCP

An MCP server that lets AI agents send push notifications to your phone and desktop through Pushover.

  • Rich notifications: title, link, sound, device, HTML or monospace text, image attachments
  • Emergency alerts: repeat until acknowledged, then check or cancel them
  • Self-correcting: clear tool errors the agent can act on
  • stdio or HTTP: runs locally by default, or as a shared HTTP server

Quick start

  1. Get two keys from Pushover:
  2. Add the server to your client (below), replacing YOUR_TOKEN and YOUR_USER_KEY.
  3. Ask your agent to send you a notification.

Requires Node.js 22 or later.

Setup

Claude Code

claude mcp add pushover -e PUSHOVER_TOKEN=YOUR_TOKEN -e PUSHOVER_USER=YOUR_USER_KEY -- npx -y pushover-mcp@latest

OpenAI Codex

codex mcp add pushover --env PUSHOVER_TOKEN=YOUR_TOKEN --env PUSHOVER_USER=YOUR_USER_KEY -- npx -y pushover-mcp@latest

Claude Desktop, Cursor, Cline

Add this to your client’s MCP config file:

{
  "mcpServers": {
    "pushover": {
      "command": "npx",
      "args": ["-y", "pushover-mcp@latest"],
      "env": {
        "PUSHOVER_TOKEN": "YOUR_TOKEN",
        "PUSHOVER_USER": "YOUR_USER_KEY"
      }
    }
  }
}
Client Where to find it
Claude Desktop Settings → Developer → Edit Config
Cursor ~/.cursor/mcp.json, or .cursor/mcp.json in a project
Cline MCP Servers → Configure MCP Servers

VS Code

Add .vscode/mcp.json. VS Code prompts for the keys once and stores them securely:

{
  "inputs": [
    { "type": "promptString", "id": "pushover-token", "description": "Pushover app token", "password": true },
    { "type": "promptString", "id": "pushover-user", "description": "Pushover user key", "password": true }
  ],
  "servers": {
    "pushover": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "pushover-mcp@latest"],
      "env": {
        "PUSHOVER_TOKEN": "${input:pushover-token}",
        "PUSHOVER_USER": "${input:pushover-user}"
      }
    }
  }
}

Zed

Add this to your Zed settings.json, or use Settings → AI → MCP Servers → Add Local Server:

{
  "context_servers": {
在 GitHub 查看完整 README

安装

npx -y pushover-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "pushover": { "command": "npx", "args": ["-y", "pushover-mcp@latest"], "env": { "PUSHOVER_TOKEN": "YOUR_TOKEN", "PUSHOVER_USER": "YOUR_USER_KEY" } } } }