Skip to main content

MCP server for reading/writing macOS defaults (settings)

Project description

mcp-server-macos-defaults MCP server

MCP server for reading/writing macOS defaults (settings)

Components

Tools

  • list-domains:
    • equivalent to running defaults domains

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_macos_defaults-0.1.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_macos_defaults-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_macos_defaults-0.1.1.tar.gz.

File metadata

File hashes

Hashes for mcp_server_macos_defaults-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8de9c443a10eccd71aef6398b64dae960137532b674b3e7381e6909ee97e4726
MD5 e544e892a17666959bccee844e8b815c
BLAKE2b-256 9da77751cdf85e949e55e906f779e0595b27d8c9bcd0a9b0ad31fbb2f9a2a6ec

See more details on using hashes here.

File details

Details for the file mcp_server_macos_defaults-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_macos_defaults-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3f8dffab85be3388e3df7edfd22c7ac5ff438b4366aac1e947ba7a700e47c8f
MD5 c920d67b34d94a7a7bb77ec3da07e581
BLAKE2b-256 816dd1a9697e628fafaf70a7e1c9cdb4c1412ee5dee8a2fd724dd5724fda9d12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page