Wait for new messages
wait-and-read-inboxWaits for new messages on a configured ntfy topic and returns them upon arrival, enabling asynchronous user responses.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Cursor to filter messages after this point | |
| sinceNow | No | If true (default), only returns messages sent after this call starts. If false, returns all messages since the cursor. | |
| sinceTime | No | Unix timestamp - filter messages with time >= sinceTime |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | ||
| newCount | Yes | ||
| lastCursor | Yes |