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: silentwatch-mcp
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.
Latest Blog Posts
- 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