mcp-crontab-server

mcp-crontab-server

2

MCP Crontab Explorer is a tool for managing and checking crontab entries via a terminal-based UI. It offers log viewing and search functionality, utilizes a client-server architecture, and complies with the Model Context Protocol.

MCP Crontab Explorer

A terminal-based UI for exploring and monitoring crontab entries using the Model Context Protocol (MCP). Key features include:

  • Rich Terminal UI: Includes formatted output and tables.
  • Log Viewing: Allows inspection of recent cron job executions.
  • Search Functionality: Enables finding crontab entries with specific terms.

Architecture

The project consists of a client-server architecture:

  1. Server: Implements the MCP using FastMCP and exposes tools via HTTP.
  2. Client: The UI that connects to the server via HTTP to display results.

Installation

  • Python 3.7+, pip are required.
  • Install dependencies using pip install rich requests fastmcp.
  • Run using python mcp_crontab_server.py and python mcp_crontab_client_http.py.

MCP Conformity

  • The server uses FastMCP to register tools.
  • Responds to HTTP POST requests for tool execution.
  • Follows a standard response format.