MacOS Defaults Manager
STDIOMCP server for reading and writing macOS defaults settings.
MCP server for reading and writing macOS defaults settings.
MCP server for reading/writing macOS defaults (settings)
list-domains
:
defaults domains
find
:
defaults find <word>
defaults-read
:
defaults read <domain> <key>
key
is not provided, the entire domain is readdefaults-write
:
defaults write <domain> <key> <value>
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
To prepare the package for distribution:
uv sync
uv build
This will create source and wheel distributions in the dist/
directory.
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
--token
or UV_PUBLISH_TOKEN
--username
/UV_PUBLISH_USERNAME
and --password
/UV_PUBLISH_PASSWORD
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-macos-defaults run mcp-server-macos-defaults
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.