Macos Defaults MCP Server

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

Local serverstdio

What is the Macos Defaults MCP server?

Macos defaults mcp server lets Claude, Cursor and other MCP clients work with Macos Defaults directly. On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json.

What Macos Defaults does

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

Tools it exposes

Once connected, the assistant can call these 6 tools directly:

  • list-domains — - equivalent to running defaults domains
  • find — - equivalent to running defaults find
  • defaults-read — - equivalent to running defaults read
  • defaults-write — - equivalent to running defaults write
  • Tools — The Tools tool exposed by this server
  • Debugging — Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCP

Installing the macos defaults mcp server

The server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply one environment variable: UV_PUBLISH_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Macos Defaults sits in that group, and the shape of its toolset — list-domains, find, defaults-read among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by g0t4.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the macos defaults mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
list-domains- equivalent to running defaults domains
find- equivalent to running defaults find <word>
defaults-read- equivalent to running defaults read <domain> <key>
defaults-write- equivalent to running defaults write <domain> <key> <value>
ToolsThe Tools tool exposed by this server.
DebuggingSince MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).

How to install the Macos Defaults MCP server

"mcpServers": {
    "mcp-server-macos-defaults": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-server-macos-defaults",
        "run",
        "mcp-server-macos-defaults"
      ]
    }
  }

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
UV_PUBLISH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Macos Defaults to list-domains.
  • Use Macos Defaults to find.
  • Use Macos Defaults to defaults-read.

Frequently asked questions

It connects Macos Defaults to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (list-domains, find, defaults-read, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Macos Defaults directly.