Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NTFY_SINCENoInitial backlog cursor1h
NTFY_TOPICNoTopic to send/receive messages (required)
NTFY_BASE_URLNontfy server URLhttps://ntfy.sh
NTFY_DATA_DIRNoDirectory for data files (logs, cache, lock)~/.nfty-mcp-server/
NTFY_PASSWORDNoPassword for basic auth
NTFY_USERNAMENoUsername for basic auth
NTFY_AUTH_TOKENNoBearer token for protected topics
NTFY_CACHE_FILENoCustom path for message cache file
NTFY_KILL_EXISTINGNoKill existing server instancestrue
NTFY_CLEAN_ON_STARTUPNoClear logs/cache on startuptrue
NTFY_FETCH_TIMEOUT_MSNoFetch timeout in milliseconds10000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
send-ntfyA

Publish a message to the configured ntfy topic (set in mcp.json). Supports optional title, priority (1-5), tags, and attachUrl. After sending, use wait-and-read-inbox to wait for responses.

set-ntfy-topicB

Change the ntfy topic for this MCP server session (no restart needed).

wait-and-read-inboxA

Waits for new messages on the configured topic (set in mcp.json) and returns when a new message arrives. Does not return until at least one new message is received. Uses the existing subscription. Note: The MCP protocol has a ~60s client-side timeout that cannot be controlled from the server, but this tool will wait as long as possible within that limit.

Prompts

Interactive templates invoked by user choice

NameDescription
check-inboxChecks the ntfy inbox for recent messages without waiting.

Resources

Contextual data attached and managed by the client

NameDescription
inboxLatest messages for the configured topic at https://ntfy.sh. Topic must be set via set-ntfy-topic first.

Latest Blog Posts

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/harshwasan/NFTY-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server