Skip to main content
Glama
Soundhannes

IMAP MCP Server

by Soundhannes

stop_watch

Terminates the real-time IDLE watch that monitors an IMAP mailbox for new email notifications, ending continuous connection monitoring.

Instructions

Stop the permanent IDLE watch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual handler implementation for the stop_watch tool in the IMAP client.
    def stop_watch(self) -> bool:
        """Stop the permanent IDLE watch."""
        if self.watcher:
            self.watcher.stop()
        self.watching = False
        return True
  • Registration of the stop_watch tool in the MCP server.
    make_tool(
        "stop_watch",
        "Stop the permanent IDLE watch",
        {},
  • Tool handler dispatch logic in the MCP server.
    elif name == "stop_watch":
        return imap_client.stop_watch()

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/Soundhannes/IMAP-MCP'

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