Gotify RMCP
ai.dinglebear由 dinglebear.ai 發布v0.1.3更新於 Oct 25, 2026
Rust MCP server and CLI for Gotify push notifications and message management.
發布方自己的服務:RMCP
概覽
本機 MCP 伺服器兼命令列工具,讓助理透過 Gotify 傳送推播通知,並讀取或管理 Gotify 訊息、應用程式與用戶端。
- 可以做什麼
- 透過 Gotify 應用程式與用戶端傳送推播通知,可設定訊息、標題、優先級與附加內容,並可建立、更新應用程式與建立用戶端。讀取伺服器健康狀態、版本、目前使用者、執行階段狀態、訊息、應用程式與用戶端。刪除單一訊息、全部訊息、應用程式或用戶端,需明確確認後才會執行。提供傳送通知與檢查狀態的提示詞,以及包含目前工具結構定義的資源。
- 適用情境
- 當你自架 Gotify 伺服器,希望助理從本機 MCP 用戶端或命令列向裝置推送通知,或檢視與管理 Gotify 訊息、應用程式與用戶端時使用。
- 執行需求
- 以本機程序執行,可透過 npx(Node.js)或下載的執行檔啟動;npm 套件會在安裝時從 GitHub Releases 下載 rgotify 執行檔。需要 GOTIFY_URL,讀取與管理操作還需 GOTIFY_CLIENT_TOKEN,傳送通知需 GOTIFY_APP_TOKEN。需要能連線至 Gotify 伺服器的網路。
安裝
在 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.1.3最新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 與健康狀態,並在具備管理員權限時執行變更操作。