notification-mcp

notification-mcp

Enables sending push notifications via Bark and PushDeer services, supporting message, markdown, and image notifications.

Category
Visit Server

README

消息推送服务 (MCP)

PyPI

这是一个使用 FastMCP 框架构建的消息推送服务集合。它支持 Bark 和 PushDeer。

show

使用

这个包提供了两个主要命令:mcp-barkmcp-pushdeer。你可以使用像 uvxpipx 这样的工具来运行它们。

使用 uvx 的例子:

# 运行 Bark 服务
# 这将启动 Bark 通知的 MCP 服务器
uvx --from notification_mcp mcp-bark

# 运行 PushDeer 服务
# 这将启动 PushDeer 通知的 MCP 服务器
uvx --from notification_mcp mcp-pushdeer

一旦服务启动,你就可以使用 FastMCP 客户端或其他兼容方法来与工具(如 send_message)进行交互。

环境变量

在运行命令之前,请配置以下环境变量:

对于 Bark (mcp-bark):

  • BARK_DEVICE_KEYS: 必需。逗号分隔的 Bark 设备密钥列表(例如 key1,key2)。
  • BARK_SERVER: 可选。自建 Bark 服务器 URL,默认为 https://api.day.app

对于 PushDeer (mcp-pushdeer):

  • PUSHDEER_KEYS: 必需。逗号分隔的 PushDeer 密钥列表(例如 keyA,keyB)。
  • PUSHDEER_SERVER: 可选。自建 PushDeer 服务器 URL,默认为 https://api2.pushdeer.com

功能

Bark 服务 (mcp-bark)

提供以下工具:

  • send_message(title: str, content: str) -> str: 向所有配置的 Bark 设备发送带有指定标题和内容的通知。

PushDeer 服务 (mcp-pushdeer)

提供以下工具:

  • send_message(text: str, desp: Optional[str] = None, type: str = 'text', pushkey: Optional[str] = None) -> str: 发送消息。type 可以是 'text'、'markdown' 或 'image'(其中 text 是图像 URL)。
  • send_markdown(markdown: str, desp: Optional[str] = None, pushkey: Optional[str] = None) -> str: 一个发送 Markdown 消息的便捷工具。
  • send_image(image_url: str, desp: Optional[str] = None, pushkey: Optional[str] = None) -> str: 一个通过 URL 发送图像消息的便捷工具。

许可

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured