AI agents
Use @palmpush/mcp when an MCP client or AI agent should send notifications to
you.
The server exposes one tool:
send_push_notificationSingle listener
Use this when every agent notification should go to one listener.
PALMPUSH_LISTENER_ID=abc123abc123abc123abc123abc123ab npx @palmpush/mcpThe tool input is simple:
{
"title": "Approval needed",
"body": "The agent is waiting for your decision."
}Named listeners
Use a private config file when the agent should choose between multiple listeners.
{
"listeners": [
{
"name": "approval",
"listenerId": "aaa123aaa123aaa123aaa123aaa123aa",
"description": "Use when the user needs to decide."
},
{
"name": "status",
"listenerId": "bbb123bbb123bbb123bbb123bbb123bb",
"description": "Use for non-blocking status updates."
}
]
}Start the server with:
PALMPUSH_CONFIG=/path/to/palmpush-mcp.json npx @palmpush/mcpIn this mode, the tool also requires listenerName:
{
"title": "Task finished",
"body": "The report is ready.",
"listenerName": "status"
}MCP client config
{
"mcpServers": {
"palmpush": {
"command": "npx",
"args": ["-y", "@palmpush/mcp"],
"env": {
"PALMPUSH_CONFIG": "/path/to/palmpush-mcp.json"
}
}
}
}Security
Listener ids are secrets. Keep MCP config files private and avoid placing them inside project folders that AI agents can freely read.