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
  • 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.

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

mseep_mcp_server_macos_defaults-0.1.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file mseep_mcp_server_macos_defaults-0.1.3.tar.gz.

File metadata

File hashes

Hashes for mseep_mcp_server_macos_defaults-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f2aa7dcd5c753ec276d99afc13604c16c62d18c9c4f920b5c04994f7e7e35dad
MD5 564039ebcfdae228640170a6c49265d5
BLAKE2b-256 8f201ac82c5ad4309604bdd43cc6ee57882273749a7665e310ce3106fb058bf5

See more details on using hashes here.

File details

Details for the file mseep_mcp_server_macos_defaults-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_server_macos_defaults-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b7575cb11b7a0746298a7ee3de0bce3c28d101d3f3874c5619a3df1b1f8f12c5
MD5 48000cdaf29c688d590e95a11f792b02
BLAKE2b-256 6fc76e1bfc58a5d16284da9ebad8212f036b37d28bedf3be5a1be39ccce516b1

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