claude-mcp-scheduler
by tonybentley·★ 16·Score 39
A cron-based scheduler that uses Claude API with MCP servers for tool calls in scheduled AI tasks.
Overview
This project demonstrates how to integrate cron scheduling with MCP servers to enable Claude AI to perform scheduled tasks with access to local MCP tools. It provides a practical example of using the filesystem MCP server while supporting extensible architecture for other MCP servers. The scheduler offers automated task execution, robust error handling, and flexible configuration options for different use cases.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this if you need to schedule regular AI tasks on servers or in CI/CD pipelines and want to leverage MCP servers for context-aware tool execution.
When NOT to choose this
Avoid this if you need interactive AI assistance or real-time conversation, as it's designed for scheduled tasks rather than interactive sessions.
Tools this server exposes
1 tool extracted from the READMElist_filesList files in a directory
Note: The README mentions using the filesystem MCP server but doesn't explicitly document the tool names. The 'list_files' tool is inferred from the example prompt 'List all files in the current directory' and the description of the filesystem se
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/tonybentley/claude-mcp-scheduler.git
cd claude-mcp-scheduler- Install dependencies:
npm install- Create a
.envfile with your Anthropic API key:
ANTHROPIC_API_KEY=your-api-key-here- Copy the example configuration:
cp config/config.example.json config/config.jsonTo use with Claude Desktop, add the following to your Claude Desktop configuration:
{
"mcpServers": {
"claude-mcp-scheduler": {
"command": "node",
"args": ["path/to/claude-mcp-scheduler/dist/index.js"]
}
}
}FAQ
- How do I add custom MCP servers?
- Edit config/config.json to add new MCP server configurations under the 'mcp' section. Each server needs a command, args, and optional config.
- Can this scheduler run on a headless server?
- Yes, this scheduler is designed for server environments and can run without a GUI. It's suitable for deployment on VMs, containers, or any headless server.
Compare claude-mcp-scheduler with
Last updated · Auto-generated from public README + GitHub signals.