freshcrate
Skin:/
Home > MCP Servers > mcp-server-macos-use

mcp-server-macos-use

AI agent that controls computer with OS-level tools, MCP compatible, works with any model

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

AI agent that controls computer with OS-level tools, MCP compatible, works with any model

README

mcp-server-macos-use

Official website: https://macos-use.dev/

Model Context Protocol (MCP) server in Swift. It allows controlling macOS applications by leveraging the accessibility APIs, primarily through the MacosUseSDK.

You can use it in Claude Desktop or other compatible MCP-client.

The server listens for MCP commands over standard input/output (stdio) and exposes several tools to interact with applications.

macos-use-sdk.mp4
macos-use-demo.mp4

Available Tools

The server exposes the following tools via the CallTool MCP method:

  1. macos-use_open_application_and_traverse

    • Description: Opens or activates a specified application and then traverses its accessibility tree.
    • Parameters:
      • identifier (String, Required): The application's name, bundle ID, or file path.
  2. macos-use_click_and_traverse

    • Description: Simulates a mouse click at specific coordinates within the window of the target application (identified by PID) and then traverses its accessibility tree.
    • Parameters:
      • pid (Number, Required): The Process ID (PID) of the target application.
      • x (Number, Required): The X-coordinate for the click (relative to the window/screen, depending on SDK behavior).
      • y (Number, Required): The Y-coordinate for the click.
  3. macos-use_type_and_traverse

    • Description: Simulates typing text into the target application (identified by PID) and then traverses its accessibility tree.
    • Parameters:
      • pid (Number, Required): The Process ID (PID) of the target application.
      • text (String, Required): The text to be typed.
  4. macos-use_press_key_and_traverse

    • Description: Simulates pressing a specific keyboard key (e.g., 'Enter', 'Tab', 'a', 'B') with optional modifier keys held down, targeting the application specified by PID, and then traverses its accessibility tree.
    • Parameters:
      • pid (Number, Required): The Process ID (PID) of the target application.
      • keyName (String, Required): The name of the key (e.g., Return, Escape, ArrowUp, Delete, a, B). Case-sensitive for letters if no modifiers are active.
      • modifierFlags (Array, Optional): An array of modifier keys to hold during the press. Valid values: CapsLock (or Caps), Shift, Control (or Ctrl), Option (or Opt, Alt), Command (or Cmd), Function (or Fn), NumericPad (or Numpad), Help.
  5. macos-use_refresh_traversal

    • Description: Only performs the accessibility tree traversal for the specified application (identified by PID). Useful for getting the current UI state without performing an action.
    • Parameters:
      • pid (Number, Required): The Process ID (PID) of the application to traverse.

Common Optional Parameters (for CallTool)

These can potentially be passed in the arguments object for any tool call to override default MacosUseSDK behavior (refer to ActionOptions in the code):

  • traverseBefore (Boolean, Optional): Traverse accessibility tree before the primary action.
  • traverseAfter (Boolean, Optional): Traverse accessibility tree after the primary action (usually defaults to true).
  • showDiff (Boolean, Optional): Include a diff between traversals (if applicable).
  • onlyVisibleElements (Boolean, Optional): Limit traversal to visible elements.
  • showAnimation (Boolean, Optional): Show visual feedback animation for actions.
  • animationDuration (Number, Optional): Duration of the feedback animation.
  • delayAfterAction (Number, Optional): Add a delay after performing the action.

Dependencies

  • MacosUseSDK (Assumed local or external Swift package providing macOS control functionality)

Building and Running

# Example build command (adjust as needed, use 'debug' for development)
swift build -c debug # Or 'release' for production

# Running the server (it communicates via stdin/stdout)
./.build/debug/mcp-server-macos-use

Integrating with Clients (Example: Claude Desktop)

Once built, you need to tell your client application where to find the server executable. For example, to configure Claude Desktop, you might add the following to its configuration:

{
    "mcpServers": {
        "mcp-server-macos-use": {
            "command": "/path/to/your/project/mcp-server-macos-use/.build/debug/mcp-server-macos-use"
        }
    }
}

Replace /path/to/your/project/ with the actual absolute path to your mcp-server-macos-use directory.

Help

Reach out to matt@mediar.ai Discord: m13v_

Plans

Happy to tailor the server for your needs, feel free to open an issue or reach out

Release History

VersionChangesUrgencyDate
v0.1.15Tag v0.1.15Low3/18/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026
v0.1.0Initial release with demo videoLow3/10/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

Perplexity-Comet-MCPNo descriptionmain@2026-06-07
google-workspace-mcp-with-scriptNo descriptionmain@2026-06-07
scagent🔍 Discover security flaws and improve code quality with ShenCha, an AI-powered autonomous code audit agent designed for developers.main@2026-06-07
claude-blockerđŸ›Ąī¸ Block distracting websites when Claude Code is in use, ensuring focused work sessions and minimizing interruptions.main@2026-06-07
any-api🚀 Seamlessly route requests between multiple LLM APIs using a unified gateway on Cloudflare Workers for efficient development and integration.main@2026-06-07

More in MCP Servers

PlanExeCreate a plan from a description in minutes
agentroveYour own Claude Code UI, sandbox, in-browser VS Code, terminal, multi-provider support (Anthropic, OpenAI, GitHub Copilot, OpenRouter), custom skills, and MCP servers.
ProxmoxMCP-PlusEnhanced Proxmox MCP server with advanced virtualization management and full OpenAPI integration.
node9-proxyThe Execution Security Layer for the Agentic Era. Providing deterministic "Sudo" governance and audit logs for autonomous AI agents.