Gotify RMCP
ai.dinglebear由 dinglebear.ai 发布v0.2.0更新于 Oct 24, 2026
Gotify notifications and app, client, and message management over MCP and CLI.
发布方自己的服务:RMCP
概览
连接 Gotify 服务器,让助手发送推送通知,并读取或管理 Gotify 的消息、应用与客户端。
- 可以做什么
- 发送推送通知,可设置消息内容、标题、优先级和附加字段
- 读取服务器健康状态、版本、当前用户、运行状态、消息、应用和客户端
- 创建或更新应用,创建客户端
- 删除单条消息、全部消息、应用或客户端,需显式确认
- 提供通知与状态检查的提示模板,以及工具 schema 资源
- 适用场景
- 适合自建 Gotify 实例的用户,希望助手在对话或本地命令行中向设备推送通知,或查看、整理 Gotify 的消息、应用和客户端。
- 运行要求
- 通过 npx 以 stdio 在本地运行(npm 包会从 GitHub Releases 下载预编译二进制),或以回环 HTTP 服务运行。需要 GOTIFY_URL;读取与管理操作需 GOTIFY_CLIENT_TOKEN,发送需 GOTIFY_APP_TOKEN。HTTP 鉴权可选 GOTIFY_MCP_TOKEN 或 Google OAuth 配置。
安装
在 SourceWeft 中
- 打开 控制台中的 Gotify RMCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
gotify-rmcp
Gotify notifications and app, client, and message management over MCP and CLI.
It exposes one MCP tool, gotify, plus the rgotify CLI. Agents can send
notifications, inspect server health, list messages, and manage Gotify apps and
clients through stdio MCP, Streamable HTTP MCP, or direct shell commands.
30-second path: set GOTIFY_URL, then run npx -y @dinglebear/rgotify health --json
-> start loopback HTTP with GOTIFY_MCP_HOST=127.0.0.1 npx -y @dinglebear/rgotify serve
-> call tools/call with {"action":"health"}.
Status: operational RMCP upstream-client server. Write-capable; destructive
delete actions are gated by explicit confirmation. HTTP MCP supports loopback
dev mode, static bearer tokens, and Google OAuth through lab-auth.
Not for: replacing Gotify, storing notifications independently, generic webhook routing, scheduling reminders, multi-tenant isolation, or passing Gotify tokens through MCP tool arguments.
Contents
- Naming
- Capabilities And Boundaries
- Install
- Quickstart
- Client Configuration
- Runtime Surfaces
- MCP Tool Reference
- CLI Reference
- Configuration
- Authentication
- Safety And Trust Model
- Architecture
- Distribution Contract
- Development
- Verification
- Deployment
- Troubleshooting
- Related Servers
- Documentation
- License
Naming
These names intentionally differ. The npm package and registry entry use the
RMCP family name, the Cargo package is gotify-mcp, the git repo is rgotify,
and the shipped binary uses the short Rust CLI name rgotify.
Capabilities And Boundaries
- Send Gotify push notifications with message, title, priority, and extras.
- Read server health, runtime status, server version, current user, messages, applications, and clients.
- Create or update applications and create clients.
- Delete messages, all messages, applications, or clients only after explicit destructive confirmation.
- Expose MCP prompts for common workflows and a resource containing the current tool schema.
Install
npm / npx
Run the stdio MCP server or CLI without a manual binary install:
The npm package downloads rgotify during postinstall. Override download
behavior only when testing packaging:
Build From Source
Minimum supported Rust version: 1.86.
Quickstart
1. Configure Gotify
For the safest first call, only GOTIFY_URL is required:
Create tokens in the Gotify web UI before using management or send actions:
Token roles:
2. Run A Safe CLI Call
3. Start Loopback HTTP MCP
In another shell:
4. Make A First MCP Call
Client Configuration
Claude Code Stdio
Claude Code HTTP
Codex / Labby Gateway
Register Gotify through Labby as an HTTP upstream when sharing one long-running server, or run it directly as stdio for local-only use.
Generic MCP JSON
Do not put API keys, passwords, OAuth secrets, SSH keys, Gotify client tokens, Gotify app tokens, or upstream bearer tokens in MCP tool arguments. Use env, config files, or the MCP client's secret storage.
Runtime Surfaces
MCP Tool Reference
One MCP tool is exposed: gotify. Pass the required action argument to select
the operation.
Read Actions
Write Actions
Destructive Actions
Destructive actions require confirm=true in MCP arguments, --confirm on the
CLI, or GOTIFY_ALLOW_DESTRUCTIVE=true in the process environment.
Meta, Prompts, And Resource
Curated action summaries live here. The current branch source code and
docs/INVENTORY.md are the source of truth for complete parameters until a
generated docs/MCP_SCHEMA.md is added.
CLI Reference
The CLI calls the same service methods as the MCP tool.
Hyphenated aliases are accepted for the two-word forms: create-app,
update-app, create-client, delete-message, delete-all, delete-app,
delete-client.
Known parity exception: MCP action=status is MCP-only observability. The CLI
equivalent for operator checks is rgotify doctor --json.
Configuration
Configuration loads from config.toml when present, then environment variables
override those values. On startup, the binary also loads ~/.gotify/.env on
hosts or /data/.env in containers without overriding already-set variables.
Required Upstream Variables
Runtime Variables
GOTIFY_MCP is also the lab-auth env prefix, so lab-auth reads further
GOTIFY_MCP_* keys beyond those listed here.
Startup Bind Guard
The server refuses to start when it would bind a non-loopback host with no
authentication configured. To bind 0.0.0.0, set GOTIFY_MCP_TOKEN, or use
GOTIFY_MCP_AUTH_MODE=oauth, or — only when an upstream gateway genuinely
enforces auth — set GOTIFY_NOAUTH=true.
Authentication
MCP scopes are gotify:read and gotify:write. The static bearer token grants
both scopes. OAuth tokens are checked before MCP calls are dispatched.
Safety And Trust Model
- MCP callers never provide Gotify client tokens, Gotify app tokens, OAuth secrets, static bearer tokens, passwords, or API keys as tool arguments.
- Upstream credentials are loaded from env/config only.
- Delete actions require
confirm=true,--confirm, or the explicitGOTIFY_ALLOW_DESTRUCTIVE=trueprocess override. - Gotify is the durable source of notification state; this server is a thin projection over that API.
- Stdio mode runs with the user's local permissions and is not a sandbox.
- HTTP mode should not be exposed beyond loopback without bearer or OAuth auth plus TLS from an upstream reverse proxy.
Architecture
The thin-shim rule is intentional: MCP and CLI parse inputs, call
GotifyService, and return output. Credential handling, destructive gates, and
Gotify API behavior stay outside the MCP and CLI shims.
Distribution Contract
Release invariant: npm package version, Rust crate version, server.json.version,
GitHub Release tag, release asset names, and README install examples should move
together. README examples must use canonical repo and binary names, not older
aliases.
Development
Verification
For live send or management tests, add GOTIFY_CLIENT_TOKEN and
GOTIFY_APP_TOKEN from your Gotify instance.
Deployment
Docker / Compose
The container stores app data under /data, normally mounted from
${HOME}/.gotify.
Reverse Proxy
Expose only /mcp and /health. Preserve Streamable HTTP headers, require TLS,
and configure bearer or OAuth auth before exposing the server beyond loopback.
Plugin
The plugin ships no Claude Code hooks, so nothing runs setup for you. Run it once by hand after installing or updating the plugin:
rgotify setup repair creates the appdata dir and a placeholder .env;
rgotify setup install keeps a terminal-callable copy in ~/.local/bin (repeat
it after /plugin update). rgotify setup check verifies appdata, .env,
binary-on-PATH, and that port 40020 is free. The server itself takes its config
from the plugin's .mcp.json ${user_config.*} block, so these commands
bootstrap the local environment rather than configure the server.
Troubleshooting
Related Servers
- soma - RMCP runtime for provider-backed MCP servers.
- unifi-rmcp - UniFi controller REST API bridge.
- tailscale-rmcp - Tailscale API bridge for devices, users, and tailnet operations.
- unraid - Unraid monorepo: GraphQL MCP bridges (
runraid) and Unraid plugins. - apprise-rmcp - Apprise notification fan-out bridge for many delivery backends.
- arcane-rmcp - Arcane Docker management bridge for containers and related resources.
- yarr - Media-stack bridge for Sonarr, Radarr, Prowlarr, Plex, and related services.
- ytdl-rmcp - Media download and metadata workflow server.
- synapse-rmcp - Local Synapse workflow server for scout and flux actions.
- cortex - Syslog and homelab log aggregation MCP server.
- axon - RAG, crawl, scrape, extract, and semantic search project.
- labby - Homelab control plane and MCP gateway project.
- lumen - Local semantic code search MCP server.
Documentation
Start here:
docs/QUICKSTART.md- focused setup flow.docs/INVENTORY.md- component inventory for actions, CLI commands, env vars, and endpoints.docs/RUST.md- Rust development notes.docs/stack/ARCH.md- stack architecture details.server.json- MCP registry metadata.packages/gotify-rmcp/README.md- npm package launcher notes.
This README is curated. Generated or exhaustive catalogs should be refreshed in their own files and treated as the source of truth for current branch details.
License
Original Dinglebear-authored portions of this project are licensed under AGPL-3.0-only. Separate commercial licensing is available for organizations that need terms outside the AGPL. Third-party material remains under its original license. See LICENSING.md.
来源:README.md,提交 3f6850e
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Rmcp 集成
RMCP
dev.rmcp官方发布者
一个远程 MCP 目录服务器,让助手搜索已收录的 MCP 服务器与工具、查看其记录和端点,并比较候选方案。
YTDL RMCP
ai.dinglebear
本地运行的 Rust MCP 服务器,让助手搜索 YouTube、用 yt-dlp 下载音视频、写入标签并传输媒体,以及同步 Plex 播放列表。
Unraid RMCP
ai.dinglebear
本地 MCP 服务器兼 CLI,让助手通过 Unraid 的 GraphQL API 处理 NAS、Docker、虚拟机和存储相关任务。
Unraid RMCP
ai.dinglebear
本地运行的 Rust MCP 服务器兼命令行工具,让助手通过 Unraid 的 GraphQL API 查询和管理 NAS,涵盖阵列、Docker、虚拟机和存储。
UniFi RMCP
ai.dinglebear
本地 MCP 服务器兼 CLI,让助手读取 UniFi Network 控制器的客户端、设备、WLAN 和健康状态,并在具备管理员权限时执行变更操作。