Skip to main content

mcp-server-macos-defaults MCP server

MCP server for reading/writing macOS defaults (settings)

Components

Tools

  • list-domains:
    • equivalent to running defaults domains
  • find:
    • equivalent to running defaults find <word>
  • defaults-read:
    • equivalent to running defaults read <domain> <key>
    • if key is not provided, the entire domain is read
  • defaults-write:
    • equivalent to running defaults write <domain> <key> <value>

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "mcp-server-macos-defaults": { "command": "uv", "args": [ "--directory", "/path/to/mcp-server-macos-defaults", "run", "mcp-server-macos-defaults" ] } } ```
Published Servers Configuration ``` "mcpServers": { "mcp-server-macos-defaults": { "command": "uvx", "args": [ "mcp-server-macos-defaults" ] } } ```

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

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.

Metadata

Release files for iflow-mcp_mcp-server-macos-defaults 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_mcp-server-macos-defaults 0.1.2
File Size Uploaded
iflow_mcp_mcp_server_macos_defaults-0.1.2.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp-server-macos-defaults 0.1.2
File Interpreter ABI Platform
iflow_mcp_mcp_server_macos_defaults-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / iflow_mcp_mcp_server_macos_defaults-0.1.2.tar.gz

Download URL iflow_mcp_mcp_server_macos_defaults-0.1.2.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
71ff1f88ea83d8bd1b8756e057f54447d59d48fc4d1cdca4504a4ae2302524c2
BLAKE2b-256 checksum
How to use checksums
4f2e21faec5184b7fc77d15d9c13adfa2b5feb617a4d62d7d7c3718028ce17c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / iflow_mcp_mcp_server_macos_defaults-0.1.2-py3-none-any.whl

Download URL iflow_mcp_mcp_server_macos_defaults-0.1.2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8af2c5dd590ac23c33b177afc05203a518ae930517ad7799a47d5cbc4ce47aee
BLAKE2b-256 checksum
How to use checksums
c87bb05a0a45f13f32d937980345a0529030d6328410aa1e093f43011e9511f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page