# Control your Mac MCP server

> Ask in plain English to run AppleScript on your Mac. The agent asks before it changes anything.

- Sign-in: See setup
- Connect in RevampKey: https://revampkey.com/marketplace/control-your-mac

## Agent skills (1)

- [Control your Mac safely with AI: AppleScript automation with confirmation](https://revampkey.com/marketplace/control-your-mac/skills/essentials.md): Runs AppleScript on your Mac through osascript, reading first, scoping each script narrowly, and asking before anything changes data or controls an app.

All skills: https://revampkey.com/marketplace/control-your-mac/skills.md

Control your Mac is a connector made by Kenneth Lien. It controls your Mac through osascript, the macOS tool that runs AppleScript. AppleScript is Apple's scripting language for automating apps and Mac actions. The connector is open source under the MIT license and has 163 stars on GitHub.

It suits Mac users who want an AI agent to run AppleScript for them. You connect it from the Connectors tab in RevampKey. Then you ask in plain English. The agent calls osascript, runs the AppleScript it needs on your Mac, and reports what came back. It asks before it changes anything.

## What you can do

### Find out which app is in front

You are working in several windows and want to know which app has focus. You ask the agent. It runs a short AppleScript through osascript that reads the name of the frontmost application and tells you the result. Nothing on your Mac changes.

### Adjust a Mac setting with your approval

You want the sound a bit quieter. You ask the agent to lower the output volume. It drafts an AppleScript that sets the volume through osascript and asks you to approve it. Once you say yes, it runs the script and confirms the new level.

### Run a script you already have

You have an AppleScript that you run often. You paste it into RevampKey and ask the agent to run it. The agent shows you the script and asks before running it. It then passes the script to osascript and returns the output so you can read it in the chat.

## Things to ask

- Which app is in front right now? Just tell me, don't change anything.
- Run this AppleScript and show me the output: return the current date and time.
- Lower my Mac's output volume to 30 and tell me what it was before.
- Here is my AppleScript. Explain what it does before you run it.
- Run the script I pasted and summarize the result in two sentences.

## What the agent can do

### Running AppleScript

The agent runs AppleScript on your Mac through osascript. You describe the result you want in plain English, and the agent writes or uses the script needed to get it.

`osascript`

### Reading results

The agent takes the output from each osascript run and shows it in the chat. You can ask it to summarize the output, pick out a value, or explain what the script did.

`osascript`

### Approval before changes

The agent asks before it changes anything on your Mac. You see what it plans to run and decide whether it goes ahead.

`osascript`

## FAQ

### What do I need to connect Control your Mac to RevampKey?

You need RevampKey on your Mac, Windows or Linux computer. The connector is added from the Connectors tab in RevampKey. Once it is connected, you can ask the agent in plain English. The connector is available now.

### What can the agent do with Control your Mac, and what can it not do?

The agent can run AppleScript on your Mac through the osascript tool. It can read the output and report it to you. The connector lists only that one tool, so the agent cannot use other tools through it.

### What data does Control your Mac access, and do I approve changes?

The sources do not say what data the connector stores or sends. The agent asks before it changes anything on your Mac, so you can review each change before it runs. Always check the agent's answers before you act on them.

### Can I see the Control your Mac code and how it is built?

Yes. The connector is on GitHub at k6l3/osascript-dxt under the MIT license. The README explains that it wraps osascript with DXT and that you build the package with dxt pack to create osascript.dxt.

### What can an AI agent do with the Control your Mac MCP server?

It exposes 1 tools: 1 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Control your Mac?

Yes. 1 SKILL.md playbooks teach an agent how to do real Control your Mac work step by step. RevampKey installs them when you connect Control your Mac; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (1)

- `osascript`

## Details

- Maker: Kenneth Lien
- Setup: Connect from the app
- Documentation: https://github.com/k6l3/osascript-dxt

Page: https://revampkey.com/marketplace/control-your-mac
