Skip to main content
Glama
g0t4

macOS Defaults MCP Server

by g0t4

mcp-server-macos-defaults MCP 서버

macOS 기본값(설정)을 읽고 쓰기 위한 MCP 서버

구성 요소

도구

  • list-domains :

    • defaults domains 실행하는 것과 동일

  • find :

    • defaults find <word> 실행하는 것과 동일합니다.

  • defaults-read :

    • defaults read <domain> <key> 실행하는 것과 동일합니다.

    • key 제공되지 않으면 전체 도메인이 읽힙니다.

  • defaults-write :

    • defaults write <domain> <key> <value> 실행하는 것과 동일합니다.

Related MCP server: macOS Defaults MCP Server

빠른 시작

설치하다

클로드 데스크탑

MacOS의 경우: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

개발

건축 및 출판

배포를 위해 패키지를 준비하려면:

  1. 종속성 동기화 및 잠금 파일 업데이트:

지엑스피1

  1. 패키지 배포 빌드:

uv build

이렇게 하면 dist/ 디렉토리에 소스와 휠 배포판이 생성됩니다.

  1. PyPI에 게시:

uv publish

참고: 환경 변수나 명령 플래그를 통해 PyPI 자격 증명을 설정해야 합니다.

  • 토큰: --token 또는 UV_PUBLISH_TOKEN

  • 또는 사용자 이름/비밀번호: --username / UV_PUBLISH_USERNAME--password / UV_PUBLISH_PASSWORD

디버깅

MCP 서버는 stdio를 통해 실행되므로 디버깅이 어려울 수 있습니다. 최상의 디버깅 환경을 위해서는 MCP Inspector 사용을 강력히 권장합니다.

다음 명령을 사용하여 npm 통해 MCP Inspector를 시작할 수 있습니다.

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-macos-defaults run mcp-server-macos-defaults

Inspector를 실행하면 브라우저에서 접근하여 디버깅을 시작할 수 있는 URL이 표시됩니다.

Available Tools

4 tools
defaults-readD

use the defaults read <domain> <key> command

ParametersJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to read from
keyNoKey to read from

TDQS

D1.9/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure but provides none. It doesn't indicate whether this is a read-only operation, whether it requires specific permissions, what happens if the domain/key doesn't exist, or what format the output takes. The description is purely syntactic with no behavioral information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - a single sentence showing command syntax. There's no wasted verbiage or unnecessary information. However, it's so minimal that it borders on under-specification rather than effective conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description is completely inadequate. It doesn't explain what the tool returns, what 'defaults' refers to, or provide any context about the operation. The description fails to compensate for the lack of structured metadata, leaving the agent with insufficient information to understand the tool's purpose and behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% description coverage with clear parameter documentation, so the baseline is 3. The description adds minimal value beyond the schema - it shows the command syntax order (domain then key) which isn't in the schema, but doesn't explain what domains or keys represent, provide examples, or clarify the optional nature of the key parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'use the `defaults read <domain> <key>` command' is tautological - it restates the tool name 'defaults-read' with command syntax but doesn't explain what the tool actually does. It doesn't specify what 'defaults' refers to (system defaults, application defaults, configuration defaults) or what resource is being read. The description fails to provide meaningful purpose beyond the name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'defaults-write', 'find', or 'list-domains', nor does it provide any context about appropriate use cases. There's no indication of when this tool should be selected over other options.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

defaults-writeC

use the defaults write <domain> <key> <value> command

ParametersJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to write to
keyYesKey to write to
valueYesValue to write

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It mentions 'write', implying a mutation operation, but doesn't disclose behavioral traits such as permissions required, whether changes are persistent or reversible, potential side effects, or error handling. The description lacks any context beyond the basic command, leaving critical behavioral aspects undocumented.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise—a single sentence that directly states the command. There is no wasted text, and it's front-loaded with the essential information. Every word earns its place, making it highly efficient in structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a write operation with no annotations and no output schema, the description is incomplete. It fails to explain what the tool does beyond the command, omits details on return values or errors, and doesn't provide necessary context for safe usage. For a mutation tool with zero annotation coverage, this minimal description is insufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with clear descriptions for 'domain', 'key', and 'value'. The description adds no additional meaning beyond what the schema provides—it merely echoes the parameter names in the command syntax. Since the schema adequately documents parameters, the baseline score of 3 is appropriate, but the description doesn't enhance understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool executes a specific command 'defaults write <domain> <key> <value>', which implies writing configuration settings. However, it's vague about what 'defaults' refers to (likely macOS defaults system) and doesn't distinguish from sibling tools like 'defaults-read' beyond the command name difference. It provides a verb+resource but lacks specificity about the resource's nature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention when to choose 'defaults-write' over 'defaults-read' or other siblings, nor does it specify prerequisites or appropriate contexts for writing defaults. The description merely restates the command syntax without usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

findC

Find entries container given word

ParametersJSON Schema
NameRequiredDescriptionDefault
wordNoWord to search for

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden but provides minimal behavioral insight. It mentions searching but doesn't disclose traits like read-only vs. destructive, permissions needed, rate limits, or what 'find' entails (e.g., exact match, partial). This leaves significant gaps for a tool with unknown behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, compact sentence with no wasted words, making it efficient. However, it lacks front-loading of critical details and could be more structured to clarify purpose upfront.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a vague purpose, the description is incomplete. It doesn't explain what 'entries container' refers to, the return format, or behavioral context, making it inadequate for effective tool selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the parameter 'word' documented as 'Word to search for'. The description adds no meaning beyond this, merely restating 'given word'. Baseline 3 is appropriate as the schema handles parameter documentation adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the action ('find') and target ('entries container'), but it's vague about what 'entries container' means and doesn't distinguish from sibling tools like 'list-domains'. The phrase 'given word' is redundant with the parameter name, reducing specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'list-domains' or 'defaults-read'. The description implies usage for searching by word, but lacks context about prerequisites, exclusions, or comparison to siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list-domainsB

List all available macOS domains, same as defaults domains

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It only states what the tool does ('List all available macOS domains') without mentioning output format, potential errors, or system dependencies. The 'same as `defaults domains`' hint adds minimal context but doesn't adequately describe behavior for an AI agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with just one sentence that directly states the tool's function. Every word earns its place, and there's no unnecessary elaboration or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no annotations, no output schema, and zero parameters, the description is insufficiently complete. It doesn't explain what format the domain list returns, whether there are any constraints or dependencies, or how this integrates with the macOS defaults system context implied by the sibling tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters with 100% schema description coverage, so the schema already fully documents the input requirements. The description appropriately doesn't add parameter information beyond what's in the schema, maintaining focus on the tool's purpose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('List') and resource ('all available macOS domains'), making the purpose unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'find' or explain how this differs from 'defaults-read' for domain-related operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions 'same as `defaults domains`' which is a technical reference but doesn't help an AI agent decide between this tool and siblings like 'defaults-read' or 'find' for domain-related tasks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv1.0.0
    • Addeddefaults-read
    • Addeddefaults-write
    • Addedfind
    • Addedlist-domains

TDQS

C2.8/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: defaults-read and defaults-write handle reading and writing specific key-value pairs, find searches for entries containing a word, and list-domains enumerates available domains. There is no overlap or ambiguity between these functions.

Naming Consistency3/5

The naming is mixed: defaults-read and defaults-write follow a consistent verb-object pattern with hyphens, but find and list-domains use different conventions (single verb vs. verb-noun with hyphen). While readable, this lacks a uniform pattern across all tools.

Tool Count4/5

With 4 tools, the count is reasonable for a macOS defaults management server, covering core operations like read, write, search, and domain listing. It is slightly thin but functional, as additional tools like delete or reset might be useful but are not essential for basic workflows.

Completeness4/5

The toolset covers essential CRUD-like operations for macOS defaults: read and write handle key-value management, find enables searching, and list-domains provides discovery. A minor gap exists with no explicit delete or update tool, but agents can work around this using defaults-write or other methods.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/g0t4/mcp-server-macos-defaults'

If you have feedback or need assistance with the MCP directory API, please join our Discord server