MCP Mac Apps Server
Enables management and automation of macOS applications through launching apps, listing running applications, executing AppleScript commands, quitting applications, and opening files in specific applications.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Mac Apps Server open a new tab in Safari and go to google.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Mac Apps Server
MCP server for managing macOS applications through LLM. Allows launching applications, managing them via AppleScript, and getting information about running applications.
🎤 Voice Control: Use voice_client.py to control applications by voice! See VOICE_SETUP.md
Features
🚀 Launch Applications - open any applications on Mac
📋 List Running Applications - get list of active applications
🤖 AppleScript Automation - execute commands in applications
❌ Close Applications - quit applications
📂 Open Files - open files in specific applications
Related MCP server: mcp-mac
Installation
Python Version (Recommended)
Make sure you have Python 3.7+ installed
Install dependencies:
pip install -r requirements.txtServer is ready to use! No compilation required.
TypeScript Version (Alternative)
Make sure you have Node.js (v18+) and npm installed
Install dependencies:
npm installBuild the project:
npm run buildConfiguration for Use with MCP Clients
Claude Desktop
Add configuration to the MCP client settings file. For Claude Desktop this is usually the MCP configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mac-apps": {
"command": "python3",
"args": ["/Users/olegzaichkin/Documents/MCP/src/server.py"]
}
}
}Or for development using tsx:
{
"mcpServers": {
"mac-apps": {
"command": "npm",
"args": ["run", "dev"],
"cwd": "/Users/olegzaichkin/Documents/MCP"
}
}
}Other LLMs and Clients
Available options:
Claude Desktop (recommended) - full MCP support
Ollama ✅ - local models (installed, models loaded) - see OLLAMA_SETUP.md
LM Studio - graphical interface for local LLMs
DeepSeek - see DEEPSEEK_SETUP.md
📖 Detailed list of compatible LLMs and instructions: COMPATIBLE_LLM.md
Usage
After configuration, the LLM will be able to use the following tools:
1. Open Application
Open Safari2. Get List of Applications
What applications are currently running?3. Execute AppleScript
In Safari, open a new tab4. Close Application
Close Calculator5. Open File
Open file ~/Documents/example.txt in TextEditAvailable Tools
open_application
Opens an application by name.
Parameters:
appName(string) - application name (e.g., "Safari", "Calculator")
get_running_applications
Returns a list of all running applications.
run_applescript
Executes an AppleScript command in the specified application.
Parameters:
appName(string) - application namescript(string) - AppleScript command
AppleScript Examples:
Safari:
make new document- create a new tabFinder:
open folder "Documents"- open a folderTextEdit:
make new document- create a new document
quit_application
Closes the specified application.
Parameters:
appName(string) - application name to close
open_file_with_app
Opens a file or URL in the specified application.
Parameters:
path(string) - path to file or URLappName(string) - application name
Testing
To test the server:
node test-mcp-server.jsOr test manually:
npm run build
npm startDevelopment
For development with auto-reload:
npm run devSecurity
⚠️ Warning: This server allows executing commands on your system. Use it only with trusted LLM clients and in a secure environment.
For macOS, you may need permission to control other applications:
System Settings → Privacy & Security → Automation
Allow access for Terminal/Node.js
License
MIT
Available Tools
15 toolsget_running_applicationsB
Получает список всех запущенных приложений на Mac
Inputs: no named parameters.
mongodb_create_collectionC
Создает новую коллекцию в указанной базе данных
Inputs: databaseName (required), collectionName (required).
mongodb_create_databaseC
Создает новую базу данных в MongoDB
Inputs: databaseName (required).
mongodb_delete_collectionC
Удаляет коллекцию из базы данных
Inputs: databaseName (required), collectionName (required).
mongodb_delete_documentC
Удаляет документ(ы) из коллекции по фильтру
Inputs: databaseName (required), collectionName (required), filter (required).
mongodb_find_documentsC
Находит документы в коллекции
Inputs: databaseName (required), collectionName (required), filter, limit.
mongodb_insert_documentC
Вставляет документ в коллекцию
Inputs: databaseName (required), collectionName (required), document (required).
mongodb_list_collectionsC
Получает список коллекций в указанной базе данных
Inputs: databaseName (required).
mongodb_list_databasesB
Получает список всех баз данных в MongoDB
Inputs: no named parameters.
ollama_generateB
Генерирует ответ используя локальную модель Ollama. Используйте для задач, требующих AI обработки текста
Inputs: prompt (required), model.
ollama_list_modelsB
Получает список доступных моделей Ollama
Inputs: no named parameters.
open_applicationB
Открывает приложение на Mac по имени. Примеры: 'Safari', 'Finder', 'TextEdit', 'Calculator'
Inputs: appName (required).
open_file_with_appC
Открывает файл или URL в указанном приложении
Inputs: path (required), appName (required).
quit_applicationC
Закрывает указанное приложение
Inputs: appName (required).
run_applescriptB
Выполняет AppleScript команду в указанном приложении. Полезно для автоматизации действий в приложениях
Inputs: appName (required), script (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
The tool set suffers from significant ambiguity, as it mixes three unrelated domains (Mac app management, MongoDB operations, and Ollama AI) without clear separation. Tools like 'get_running_applications', 'open_application', and 'quit_application' overlap in purpose with 'run_applescript', which can automate similar actions, leading to potential misselection. The MongoDB tools are internally distinct but unrelated to the Mac app tools, creating confusion about the server's primary focus.
Naming conventions are mixed, with some consistency within subdomains but overall inconsistency. MongoDB tools follow a clear 'mongodb_verb_noun' pattern, and Ollama tools use 'ollama_verb_noun', but Mac app tools vary (e.g., 'get_running_applications', 'open_application', 'quit_application', 'run_applescript') without a unified prefix or structure. This makes the set readable but not predictably organized across the entire server.
With 15 tools, the count is borderline for the server's apparent scope, which seems to cover multiple unrelated domains. For a focused Mac apps server, 15 tools might be reasonable, but here it includes MongoDB and Ollama operations, making the set feel heavy and unfocused. The number is not extreme, but it suggests a lack of clear scoping, as the tools do not form a cohesive whole for a single purpose.
There are significant gaps in coverage for the inferred domains, indicating an incomplete surface. For Mac app management, basic operations like listing installed apps or managing app settings are missing. For MongoDB, while CRUD operations are present, advanced features like indexing or aggregation are absent. The Ollama tools are minimal, lacking model management or configuration options. This fragmentation leads to dead ends for agents trying to perform comprehensive tasks in any one area.
Maintenance
Related MCP Connectors
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Build and run agents and automations across hundreds of apps using natural language.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables LLM applications to interact with macOS through AppleScript.33397MIT
- AlicenseBqualityDmaintenanceEnables AI agents to interact with macOS applications (Finder, Mail, Contacts, Reminders, Notes, Calendar, TextEdit) using AppleScript. Allows AI assistants to perform tasks like searching contacts, managing files, checking email, and creating reminders through natural language.241MIT
- AlicenseAqualityDmaintenanceEnables Large Language Models to automate macOS applications and execute AppleScript commands through natural language. It features built-in security protections including application allowlists and dangerous pattern detection to prevent unauthorized or risky system operations.21MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI to control Apple Mac apps like Messages, Notes, Contacts, Mail, Reminders, Calendar, and Maps through natural language commands.MIT