Skip to content
LangChain

ntfy for LangChain

io.github.ni-c/ntfy-mcp

Publish ntfy notifications, read the message cache, and manage users and topic access

client:LangChain transport:stdio runtime:npm

Install ntfy in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ntfy-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@ni-c/ntfy-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

ntfy in other clients