launchd-mcp
Provides tools to manage macOS launchd jobs, including creating, listing, updating, and removing scheduled tasks with various scheduling and runtime options, as well as accessing log files.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@launchd-mcpcreate a python task to backup files daily"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
launchd-mcp
Manage macOS launchd jobs from MCP tools.
This project provides:
An MCP server (
main.py) that wrapslaunchctlTask management tools for Python-script jobs (
link.igtm.launchd-mcp.*)Per-task log management and retrieval
A reusable Agent Skill at
skills/launchctl/SKILL.mdfor users who prefer raw CLI workflows (no MCP server implementation)
Features
Basic launchctl operations:
list,print,kickstart,bootstrap,bootout,enable,disableManaged task lifecycle:
create_or_update_python_tasklist_python_tasksget_python_task_logsremove_python_task
Scheduling and event options:
StartInterval(seconds)StartCalendarIntervalWatchPathsQueueDirectories
Runtime tuning options:
KeepAlive,ThrottleInterval,ProcessType,Nice,Umask,HardResourceLimits
Related MCP server: agent-scheduler
Requirements
macOS (Darwin) for launchctl execution
Python 3.13+
uv
Install
git clone git@github.com:igtm/launchd-mcp.git
cd launchd-mcp
uv syncRun MCP Server
uv run main.pyClaude Desktop Example
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"launchd": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/launchd-mcp",
"run",
"main.py"
]
}
}
}Logs
Managed task logs are written to:
~/.local/share/launchd-mcp/logs/{label}.out.log~/.local/share/launchd-mcp/logs/{label}.err.log
Tests
uv run pytestAgent Skill (CLI-first)
If you prefer managing launchd directly with shell/launchctl/plist files (without MCP server implementation), use:
skills/launchctl/SKILL.md
This Skill follows the same label, task, and log conventions as this repository.
Safety Notes
For stdio MCP servers, never print to stdout except protocol messages.
Treat
python_scriptinput as untrusted unless validated.Validate generated plist files (
plutil -lint) beforelaunchctl bootstrap.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server that surfaces scheduled-job state and detects silent failures (exit 0 but no useful output) for cron, systemd timers, and OpenClaw schedulers, enabling AI agents to query job health and overdue status directly.6MIT
- Alicense-qualityAmaintenanceMCP server for scheduling tasks with cron-like recurring jobs, one-time tasks, priority queues, retry logic, and job dependencies.MIT
- Alicense-qualityCmaintenanceEnables running and managing automated tasks with retry loops and machine-checkable success criteria via MCP tools.25MIT
- AlicenseAqualityBmaintenanceA local MCP server that exposes macOS automation actions (AppleScript + CLIs) as tools, enabling MCP clients on your Mac to control apps, system settings, and more.39MIT
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/igtm/launchd-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server