MacOS系统设置
STDIOmacOS系统设置读写工具服务器
macOS系统设置读写工具服务器
MCP server for reading/writing macOS defaults (settings)
list-domains:
defaults domainsfind:
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_PASSWORDSince 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.