gotify-rmcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gotify-rmcpSend a push notification saying 'Deployment finished' to my phone"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gotify-rmcp
MCP server and CLI for Gotify: send push notifications and manage messages, apps, and clients over stdio or streamable HTTP, with auth.
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 gotify-rmcp health --json
-> start loopback HTTP with GOTIFY_MCP_HOST=127.0.0.1 npx -y gotify-rmcp 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
Related MCP server: mcp-gotify
Naming
Surface | This repo |
Repository |
|
Rust crate (Cargo package) |
|
Binary / CLI |
|
npm package |
|
npm binary aliases |
|
MCP tool |
|
MCP registry name |
|
Config home |
|
Env prefixes |
|
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.
This repo owns | Gotify owns | Explicitly out of scope |
MCP/CLI projection, request validation, auth policy, response shaping, setup checks, destructive gates. | Notification storage, delivery, Gotify users, token issuance, app/client state, upstream API semantics. | Notification scheduling, independent persistence, arbitrary webhook relay behavior, multi-tenant sandboxing, credential brokerage. |
Install
Path | Command | Best for | Notes |
npm / npx |
| Local MCP clients and quick trials. | Downloads the matching |
Release installer |
| Host installs without Node. | Installs |
Docker / Compose |
| Shared HTTP MCP deployments. | Reads |
Build from source |
| Development and audits. | Produces |
Plugin |
| Claude Code local plugin setup from this checkout. | Ships no hooks — run |
npm / npx
Run the stdio MCP server or CLI without a manual binary install:
npx -y gotify-rmcp --help
npx -y gotify-rmcp mcp
npx -y gotify-rmcp health --jsonThe npm package downloads rgotify during postinstall. Override download
behavior only when testing packaging:
Variable | Purpose |
| Skip postinstall binary download. |
| Select the GitHub Release tag. |
| Select the GitHub repo used for release downloads. |
| Select a custom release base URL. |
Build From Source
git clone https://github.com/dinglebear-ai/rgotify
cd rgotify
cargo build --release
./target/release/rgotify --helpMinimum supported Rust version: 1.86.
Quickstart
1. Configure Gotify
For the safest first call, only GOTIFY_URL is required:
export GOTIFY_URL=https://gotify.example.comCreate tokens in the Gotify web UI before using management or send actions:
export GOTIFY_CLIENT_TOKEN=Cxxxxxxxxxxxxxxxx
export GOTIFY_APP_TOKEN=AxxxxxxxxxxxxxxxxToken roles:
Token | Env var | Used for |
Client token |
| Read and management actions such as messages, apps, clients, and current user. |
App token |
| Sending notifications with |
2. Run A Safe CLI Call
npx -y gotify-rmcp health --json3. Start Loopback HTTP MCP
GOTIFY_MCP_HOST=127.0.0.1 npx -y gotify-rmcp serveIn another shell:
curl -sf http://127.0.0.1:40020/health4. Make A First MCP Call
curl -s -X POST http://127.0.0.1:40020/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gotify","arguments":{"action":"health"}}}'Client Configuration
Claude Code Stdio
{
"mcpServers": {
"gotify": {
"command": "npx",
"args": ["-y", "gotify-rmcp", "mcp"],
"env": {
"GOTIFY_URL": "https://gotify.example.com",
"GOTIFY_CLIENT_TOKEN": "Cxxxxxxxxxxxxxxxx",
"GOTIFY_APP_TOKEN": "Axxxxxxxxxxxxxxxx"
}
}
}
}Claude Code HTTP
{
"mcpServers": {
"gotify": {
"type": "http",
"url": "http://127.0.0.1:40020/mcp",
"headers": {
"Authorization": "Bearer ${GOTIFY_MCP_TOKEN}"
}
}
}
}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.
[mcp_servers.gotify]
command = "npx"
args = ["-y", "gotify-rmcp", "mcp"]Generic MCP JSON
{
"command": "rgotify",
"args": ["mcp"],
"env": {
"GOTIFY_URL": "https://gotify.example.com"
}
}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
Surface | Status | Entry point | Purpose |
MCP stdio | Supported |
| Local child-process MCP clients. |
MCP HTTP | Supported |
| Streamable HTTP MCP for local or shared server deployments. |
CLI | Supported |
| Scriptable parity and debugging. |
Prompts | Supported |
| Reusable agent prompts. |
Resource | Supported |
| JSON schema for the |
REST API | Not shipped | N/A | Gotify already owns the REST API. |
Web UI | Not shipped | N/A | Gotify already owns the web UI. |
MCP Tool Reference
One MCP tool is exposed: gotify. Pass the required action argument to select
the operation.
Read Actions
Action | Description | Required params | Optional params |
| Gotify server health check. | none | none |
| Gotify server version. | none | none |
| Current authenticated user. | none | none |
| List messages. | none |
|
| List applications. | none | none |
| List clients. | none | none |
| Return runtime status, config snapshot, and counters. | none | none |
Write Actions
Action | Description | Required params | Optional params |
| Send a push notification. |
|
|
| Create an application. |
|
|
| Update an application. |
|
|
| Create a client. |
| none |
Destructive Actions
Destructive actions require confirm=true in MCP arguments, --confirm on the
CLI, or GOTIFY_ALLOW_DESTRUCTIVE=true in the process environment.
Action | Description | Required params |
| Delete one message. |
|
| Delete all messages. |
|
| Delete an application and its messages. |
|
| Delete a client. |
|
Meta, Prompts, And Resource
Primitive | Name / URI | Purpose |
Tool action |
| Return built-in markdown tool help. |
Prompt |
| Guide an agent through a notification send. |
Prompt |
| Check health and recent messages. |
Resource |
| Return the current action-based JSON schema. |
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.
rgotify health [--json]
rgotify version [--json]
rgotify me [--json]
rgotify messages [--app-id N] [--limit N] [--since N] [--json]
rgotify applications [--json]
rgotify clients [--json]
rgotify send <message> [--title T] [--priority N] [--json]
rgotify create app <name> [--description D] [--priority N] [--json]
rgotify update app <app_id> [--name N] [--description D] [--priority N] [--json]
rgotify create client <name> [--json]
rgotify delete message <id> [--confirm] [--json]
rgotify delete all [--confirm] [--json]
rgotify delete app <app_id> [--confirm] [--json]
rgotify delete client <client_id> [--confirm] [--json]
rgotify serve
rgotify serve mcp
rgotify mcp
rgotify doctor [--json]
rgotify setup check [--json]
rgotify setup repair [--json]
rgotify setup install [--json]
rgotify setup plugin-hook [--no-repair] [--json]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
Variable | Required | Description |
| yes | Gotify server base URL, for example |
| for management | Gotify client token for read and management actions. |
| for | Gotify app token used only to send notifications. |
Runtime Variables
Variable | Default | Description |
|
| Skip destructive confirmation gates. |
|
| HTTP MCP bind host. |
|
| HTTP MCP bind port. |
| empty | Static bearer token for HTTP MCP when not in loopback dev mode. |
|
| Disable HTTP MCP auth. Use only on loopback or behind a trusted gateway. |
|
| Set to |
| empty | Public URL for OAuth metadata and protected-resource discovery. |
| empty | Google OAuth client ID. |
| empty | Google OAuth client secret. |
| empty | Initial/admin OAuth email. |
|
| OAuth state database path. |
|
| OAuth JWT signing key path. |
| empty | Comma-separated |
| empty | Comma-separated |
|
| Escape hatch permitting a non-loopback bind with no auth. See below. |
|
| Override the appdata dir used by |
| unset | Forces the |
|
| Rust log filter. Stdio logs must stay off stdout. |
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
Policy | When | Effect |
Loopback development |
| No HTTP auth layer is mounted. Use for local testing only. |
Static bearer |
|
|
OAuth |
|
|
Stdio |
| The local child-process boundary is the trust boundary. |
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
MCP client / CLI
|
v
rgotify
|
+-- MCP shim: JSON args -> GotifyService -> structured result
+-- CLI shim: argv -> GotifyService -> stdout
|
v
GotifyService
|
v
GotifyClient
|
v
Gotify REST APIPath | Role |
| Business service layer, destructive gate, response shaping. |
| Gotify REST client. |
| RMCP tool, prompts, resource, schema, and auth checks. |
| CLI parser, doctor, setup helpers, and output formatting. |
| Env/config loading and defaults. |
| npm launcher and release-binary downloader. |
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
Artifact | File(s) | Must align with |
Rust crate/binary |
| Git tag, release assets, CLI docs, install scripts. |
npm launcher |
| GitHub Release tag and assets named |
GitHub Releases |
| Package version, binary name, checksums, supported platforms. |
Docker / Compose |
| Exposed port |
MCP registry |
| Server identity |
Plugin |
| Runtime command, user config, bundled metadata. No hooks are shipped. |
Docs |
| Current binary name, default port, action list, and env names. |
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
cargo fmt -- --check
cargo clippy --all-targets -- -D warnings
cargo test
cargo build --release
npm --prefix packages/gotify-rmcp run checkVerification
# Binary and CLI
cargo build --release
./target/release/rgotify --version
GOTIFY_URL=https://gotify.example.com ./target/release/rgotify health --json
# HTTP health
GOTIFY_URL=https://gotify.example.com GOTIFY_MCP_HOST=127.0.0.1 ./target/release/rgotify serve
curl -sf http://127.0.0.1:40020/health
# MCP tool call
curl -s -X POST http://127.0.0.1:40020/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gotify","arguments":{"action":"health"}}}'For live send or management tests, add GOTIFY_CLIENT_TOKEN and
GOTIFY_APP_TOKEN from your Gotify instance.
Deployment
Docker / Compose
cp .env.example .env
$EDITOR .env
docker compose up -d
curl -sf http://127.0.0.1:40020/healthThe 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:
claude plugin install plugins/gotify
rgotify setup repair # create ~/.gotify and its .env, then re-check
rgotify setup install # copy the binary into ~/.local/bin so it is on PATH
rgotify setup check # read-only verificationrgotify 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
Symptom | Likely cause | Fix |
| Missing or wrong bearer/OAuth token. | Check |
CLI health fails |
| Export |
| Wrong token type. | Use |
Destructive action is blocked | Confirmation gate is working. | Add |
stdio MCP JSON parse errors | Logs went to stdout. | Keep protocol logs off stdout and lower |
npm launcher cannot find binary | Release asset download failed or was skipped. | Reinstall, check |
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
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceMCP server for self-hosted Gotify that enables sending notifications and managing messages, applications, clients, and account metadata through natural language.Last updated4MIT
- AlicenseBqualityDmaintenanceMCP server for sending Gotify push notifications to your devices.Last updated1MIT
- Alicense-qualityDmaintenanceMCP server for sending notifications to ntfy.sh or self-hosted ntfy instances.Last updated7MIT
- Alicense-qualityDmaintenanceMCP server for ntfy push notifications. Send and poll notifications from any MCP-compatible client.Last updated5MIT
Related MCP Connectors
MCP server for interacting with the Supabase platform
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dinglebear-ai/rgotify'
If you have feedback or need assistance with the MCP directory API, please join our Discord server