time-machine-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {
"tasks": {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
}
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_exclusionB | Add exclusions for specified items using -p for path-based or -v for volume-based exclusions. This tool configures Time Machine to skip designated files, directories, or volumes during backups. It requires appropriate privileges for certain operations and integrates seamlessly with MCP clients for automation. |
| associate_diskB | Associate a disk with a backup volume, optionally for all matching volumes. This function re-links a local disk to its corresponding backup history in Time Machine. It is useful after disk erasures or replacements to maintain continuity in backup associations. Requires root and Full Disk Access privileges. |
| calculate_driftB | Calculate drift for a specified machine directory in Time Machine backups. This tool analyzes changes between snapshots to quantify data drift over time. Results are written to a file and a summary is returned. Ask the user if they want to see the contents, then read the file if requested. |
| compare_pathsA | Compare backups or paths with customizable options, depth, and ignore lists. This function performs differential analysis between files, directories, or snapshots. Results are written to a file and a summary is returned. Ask the user if they want to see the contents, then read the file if requested. |
| delete_backupsA | Delete specified backups or paths from Time Machine. This tool removes unwanted snapshots or files while preserving backup structure. It requires careful usage to avoid data loss and typically demands root privileges. |
| delete_in_progressB | Delete in-progress backups for a given machine directory. This function halts and removes ongoing backup operations to free resources. It is particularly useful for resolving stalled backups or reclaiming space. |
| delete_local_snapshotsB | Delete local snapshots, optionally by mount point or date. This tool manages local Time Machine snapshots to optimize storage usage. It enables selective removal without affecting remote backups. |
| destination_infoA | Retrieve information about Time Machine backup destinations. This function lists configured destinations, including types and identifiers. It supports XML output for structured parsing in automated workflows. |
| disableA | Disable Time Machine automatic backups. This tool turns off scheduled backups, requiring root privileges for execution. It is useful for temporary suspension during system maintenance. |
| enableA | Enable Time Machine automatic backups. This function activates scheduled backups, necessitating root access. It restores normal operation after a disable command. |
| get_helpB | Get help information for a specific tmutil verb. This tool fetches detailed usage for individual tmutil commands. It serves as an on-demand reference for MCP users exploring functionalities. |
| inherit_backupB | Inherit a backup machine directory or sparse bundle for the current machine. This function reassigns backup ownership to the current host. It is essential for migrating or claiming existing backups. |
| is_excludedB | Check if specified items are excluded from Time Machine backups. This tool verifies exclusion status for files, directories, or volumes. It provides clarity on backup configurations without modifications. |
| latest_backupB | Retrieve the path to the latest Time Machine backup. This function identifies the most recent snapshot for the computer. It offers formatting options for machine-readable or timestamp outputs. |
| list_backupsB | List Time Machine backups. This tool enumerates completed snapshots for the computer. Results are written to a file and a summary is returned. Ask the user if they want to see the contents, then read the file if requested. |
| list_local_snapshot_datesC | List dates of local Time Machine snapshots. This function retrieves timestamp information for local backups. It aids in managing space by identifying available snapshots. |
| list_local_snapshotsB | List local snapshots for a specified mount point. This tool provides detailed listings of on-device Time Machine data. Results are written to a file and a summary is returned. Ask the user if they want to see the contents, then read the file if requested. |
| local_snapshotA | Create a new local Time Machine snapshot. This function generates an immediate local backup point. It supports quick recovery options without external storage. |
| machine_directoryA | Retrieve the path to the current machine directory in Time Machine. This tool identifies the storage location for the computer's backups. It is foundational for advanced backup management operations. |
| remove_destinationB | Remove a Time Machine destination by its unique identifier. This function clears configured backup targets from the system. It requires the destination ID from destination_info for precision. |
| remove_exclusionB | Remove exclusions for specified items. This tool re-enables backing up of previously excluded items. It mirrors add_exclusion in options and privilege requirements. |
| restoreC | Restore items from source paths to a destination. This function recovers data from snapshots to specified locations. It preserves metadata where possible and supports verbose logging. |
| set_destinationB | Set a backup destination, supporting local volumes or AFP URLs. This tool configures new or additional targets for Time Machine. It handles authentication for network shares when required. |
| set_quotaC | Set a storage quota for a Time Machine destination. This function limits space usage on backup volumes. It prevents overconsumption and requires destination identification. |
| start_backupB | Initiate a Time Machine backup with optional parameters. This tool triggers immediate or automated backups. It returns immediately after starting; use status() to monitor progress. Blocking mode is not supported as backups can take hours and would timeout MCP tool calls. |
| statusA | Retrieve the current Time Machine backup status. This tool parses the plist output for detailed session information. It includes progress, phase, and potential errors for monitoring. |
| stop_backupB | Stop a currently running Time Machine backup. This function interrupts ongoing operations safely. It is useful for freeing system resources promptly. |
| thin_local_snapshotsC | Thin local snapshots by purging specified amounts. This tool reduces snapshot count to manage disk space. It allows urgency levels for prioritized cleanup. |
| unique_sizeB | Calculate the unique size of specified paths in backups. This function determines space occupied excluding shared data. Results are written to a file and a summary is returned. Ask the user if they want to see the contents, then read the file if requested. |
| verify_checksumsB | Verify checksums for paths in Time Machine backups. This tool checks data integrity against stored hashes. It is vital for ensuring backup reliability over time. |
| versionA | Retrieve the version of tmutil. This function provides the current tool version for compatibility checks. It is a simple query without additional requirements. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| tmutil_man_page | Retrieve the full tmutil man page content from the local system for reference. This resource executes the local man command to fetch tmutil documentation and applies cleaning to remove formatting. It provides comprehensive reference material directly accessible via the MCP server for user queries or tool assistance. |
TDQS
Scored across 31 tools
Most tools map to clearly distinct tmutil actions, and descriptions do a good job distinguishing backup, restore, status, destination, and exclusion operations. Some overlap remains among deletion and listing variants, especially delete_backups, delete_local_snapshots, thin_local_snapshots, and the local snapshot listing tools.
All names use snake_case and are readable, but the set mixes verb_noun names such as list_backups and set_destination with bare verbs like restore and enable, plus noun phrases such as status, version, and destination_info. The convention is mixed rather than consistently verb_noun.
At 31 tools, the surface is large for an MCP server even given the breadth of tmutil. Many tools are thin wrappers around individual tmutil verbs, and the set could likely be consolidated without losing core backup-management capability.
The tool surface covers the Time Machine lifecycle comprehensively: backup start/stop/status, restore, local snapshots, deletion/thinning, destination management, quotas, exclusions, checksum verification, drift analysis, comparison, inheritance, association, and help/version queries.