
phialsbasement/scheduler-mcp 是从 https://github.com/phialsbasement/scheduler-mcp. 导入的 MCP 服务器候选
概览
phialsbasement/scheduler-mcp 是从 https://github.com/phialsbasement/scheduler-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一台采用模型上下文协议(MCP)构建的强大任务调度服务器,用于调度和管理各种自动化任务。
概述
MCP 调度器是一款多功能的任务自动化系统,允许您调度和运行不同类型的任务:
- Shell 命令:按计划执行系统命令
- API 调用:向外部服务发送 HTTP 请求
- AI任务:通过OpenAI模型生成内容
- 提醒:带声音显示桌面通知
调度器使用cron表达式实现灵活的时序,并提供完整的任务执行历史。它基于模型上下文协议(MCP),便于与AI助手及其他兼容MCP的客户端集成。
特色
- 多任务类型:支持shell命令、API调用、AI内容生成和桌面通知
- Cron 调度:用于精确调度控制的熟悉 cron 语法
- 一次性运行或重复运行:可按计划执行一次或重复执行任务
- 执行历史:跟踪任务执行的成功与失败
- 跨平台:支持Windows、macOS和Linux。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MCP Scheduler
A robust task scheduler server built with Model Context Protocol (MCP) for scheduling and managing various types of automated tasks.
Overview
MCP Scheduler is a versatile task automation system that allows you to schedule and run different types of tasks:
- Shell Commands: Execute system commands on a schedule
- API Calls: Make HTTP requests to external services
- AI Tasks: Generate content through OpenAI models
- Reminders: Display desktop notifications with sound
The scheduler uses cron expressions for flexible timing and provides a complete history of task executions. It’s built on the Model Context Protocol (MCP), making it easy to integrate with AI assistants and other MCP-compatible clients.
Features
- Multiple Task Types: Support for shell commands, API calls, AI content generation, and desktop notifications
- Cron Scheduling: Familiar cron syntax for precise scheduling control
- Run Once or Recurring: Option to run tasks just once or repeatedly on schedule
- Execution History: Track successful and failed task executions
- Cross-Platform: Works on Windows, macOS, and Linux
- Interactive Notifications: Desktop alerts with sound for reminder tasks
- MCP Integration: Seamless connection with AI assistants and tools
- Robust Error Handling: Comprehensive logging and error recovery
Installation
Prerequisites
- Python 3.10 or higher
- uv (recommended package manager)
Installing uv (recommended)
# For Mac/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# For Windows (PowerShell)
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
After installing uv, restart your terminal to ensure the command is available.
Project Setup
# Clone the repository
git clone https://github.com/phialsbasement/mcp-scheduler.git
cd mcp-scheduler
# Create and activate a virtual environment with uv
uv venv
source .venv/bin/activate # On Unix/MacOS
# or
.venv\Scripts\activate # On Windows
# Install dependencies with uv
uv pip install -r requirements.txt
Standard pip installation (alternative)
If you prefer using standard pip:
# Clone the repository
git clone https://github.com/phialsbasement/mcp-scheduler.git
cd mcp-scheduler
# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate # On Unix/MacOS
# or
.venv\Scripts\activate # On Windows
# Install dependencies
pip install -r requirements.txt
Usage
Running the Server
# Run with default settings (stdio transport)
python main.py
# Run with server transport on specific port
python main.py --transport sse --port 8080
# Run with debug mode for detailed logging
python main.py --debug
Integrating with Claude Desktop or other MCP Clients
To use your MCP Scheduler with Claude Desktop:
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": [
{
"type": "stdio",
"name": "MCP Scheduler",
"command": "python",
"args": ["/path/to/your/mcp-scheduler/main.py"]
}
]
}