{"id":28794197,"url":"https://github.com/tornikegomareli/macos-tools-mcp-server","last_synced_at":"2026-04-07T13:31:24.754Z","repository":{"id":298109651,"uuid":"998600166","full_name":"tornikegomareli/macos-tools-mcp-server","owner":"tornikegomareli","description":"A Model Context Protocol server that brings macOS system tools directly inside your LLM client. Monitor system performance in  real-time, analyze resource usage, search files with advanced patterns, and manage file tags using native macOS APIs.","archived":false,"fork":false,"pushed_at":"2025-08-02T21:48:25.000Z","size":229,"stargazers_count":16,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-15T11:16:31.622Z","etag":null,"topics":["chatgpt","claude","developer-tools","file-search","file-tagging","macos","macos-tools","mcp-server","nodejs","performance-monitoring","spotlight","system-monitor","system-optimization","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tornikegomareli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-09T00:13:57.000Z","updated_at":"2025-12-06T10:57:38.000Z","dependencies_parsed_at":"2025-06-09T13:37:42.091Z","dependency_job_id":"a2b8d94a-fee0-4468-9fd3-ffd2fc08af2b","html_url":"https://github.com/tornikegomareli/macos-tools-mcp-server","commit_stats":null,"previous_names":["tornikegomareli/macos-tools-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tornikegomareli/macos-tools-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2Fmacos-tools-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2Fmacos-tools-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2Fmacos-tools-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2Fmacos-tools-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tornikegomareli","download_url":"https://codeload.github.com/tornikegomareli/macos-tools-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tornikegomareli%2Fmacos-tools-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","claude","developer-tools","file-search","file-tagging","macos","macos-tools","mcp-server","nodejs","performance-monitoring","spotlight","system-monitor","system-optimization","typescript"],"created_at":"2025-06-18T02:05:04.398Z","updated_at":"2026-04-07T13:31:24.735Z","avatar_url":"https://github.com/tornikegomareli.png","language":"TypeScript","funding_links":[],"categories":["Developer Tools"],"sub_categories":["How to Submit"],"readme":"[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/tornikegomareli-macos-tools-mcp-server-badge.png)](https://mseep.ai/app/tornikegomareli-macos-tools-mcp-server)\n\n# macOS Internal Tools MCP Server\n\nA MCP server for macOS that provides advanced system monitoring and file search capabilities.\n\n\u003cimg src=\"https://github.com/user-attachments/assets/45d755c8-a280-4d83-bc11-dd97eef9c662\" width=\"400\" alt=\"MCP Server Screenshot\"\u003e\n\n\u003ca href=\"https://glama.ai/mcp/servers/@tornikegomareli/macos-tools-mcp-server\"\u003e\n  \u003cimg width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/@tornikegomareli/macos-tools-mcp-server/badge\" alt=\"macOS Tools Server MCP server\" /\u003e\n\u003c/a\u003e\n\n[![smithery badge](https://smithery.ai/badge/@tornikegomareli/macos-tools-mcp-server)](https://smithery.ai/server/@tornikegomareli/macos-tools-mcp-server)\n\n\n## Table of Contents\n\n- [System Performance Monitor](#system-performance-monitor)\n- [Enhanced File Search](#enhanced-file-search)\n- [Installation](#installation)\n  - [Requirements](#requirements)\n  - [Permissions](#permissions)\n- [How to install](#how-to-install)\n  - [Claude Desktop Configuration](#claude-desktop-configuration)\n  - [MCP Installer](#mcp-installer)\n- [Available Tools](#available-tools)\n  - [system_performance](#system_performance)\n  - [enhanced_search](#enhanced_search)\n  - [Key Features](#key-features)\n- [License](#license)\n- [Testing the Server](#testing-the-server)\n  - [Quick Test Prompts](#quick-test-prompts)\n  - [Comprehensive Test Suite](#comprehensive-test-suite)\n  - [Expected Behaviors](#expected-behaviors)\n- [Future Enhancements](#future-enhancements)\n\n### System Performance Monitor\n- **Real-time Monitoring**: Track CPU, memory, disk I/O, and network statistics\n- **Process Analysis**: View top resource-consuming processes with detailed metrics\n- **Historical Tracking**: Store and analyze performance data over time using SQLite\n- **Optimization Suggestions**: Get intelligent recommendations to improve system performance\n\n### Enhanced File Search\n- **Deep Content Search**: Search within file contents using regex or plain text\n- **Spotlight Integration**: Leverage macOS Spotlight for fast metadata searches\n- **Tag Management**: Create, search, and manage custom file tags using extended attributes\n- **Advanced Features**: Fuzzy matching, boolean operators, and file type filtering\n\n## Installation\n\n### Requirements\n- macOS 10.15 or later\n- Node.js 18.0.0 or later\n- npm or yarn package manager\n\n### Permissions\n\nFor full functionality, the server requires certain permissions:\n\n1. **Full Disk Access** (recommended for file search):\n   - System Preferences → Security \u0026 Privacy → Privacy → Full Disk Access\n   - Add Terminal\n\n2. **Developer Tools** (for process monitoring):\n   - Install Xcode Command Line Tools if not already installed:\n   ```bash\n   xcode-select --install\n   ```\n\n## How to install\n\n### Claude Desktop Configuration\n\nTo use this MCP server with Claude Desktop:\n\n1. Open your Claude Desktop configuration file:\n   - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n   - Windows: `%APPDATA%\\Claude\\claude_desktop_config.json`\n   - Linux: `~/.config/Claude/claude_desktop_config.json`\n\n2. Add the macOS Tools server to your configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"macos-tools\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@tgomareli/macos-tools-mcp\"\n      ],\n      \"env\": {}\n    }\n  }\n}\n```\n\n3. If you already have other MCP servers configured, add the macos-tools configuration to the existing mcpServers object:\n\n```json\n{\n  \"mcpServers\": {\n    \"existing-server\": {\n      // ... existing configuration\n    },\n    \"macos-tools\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@tgomareli/macos-tools-mcp\"\n      ],\n      \"env\": {}\n    }\n  }\n}\n```\n\n4. Save the configuration file and restart Claude Desktop.\n\n5. You should now see the macOS Tools server available in Claude Desktop with two tools:\n   - `system_performance` - Monitor system resources\n   - `enhanced_search` - Advanced file search and tagging\n  \n## MCP Installer\n\nOr you can use [mcp-installer](https://github.com/anaisbetts/mcp-installer) for installing it directly, without opening config files.\n\nJust type in claude \n\n\u003e Hey Claude, install the MCP server named macos-tools-mcp\n\n\n## Available Tools\n\n### system_performance\n\nMonitor and analyze system performance metrics.\n\n**Parameters:**\n- `action` (required): \"current\" | \"history\" | \"processes\" | \"optimize\"\n- `timeRange` (optional): Time range for historical data (\"1h\", \"24h\", \"7d\")\n- `metric` (optional): Specific metric to analyze (\"cpu\", \"memory\", \"disk\", \"network\", \"all\")\n\n**Examples:**\n\n```typescript\nawait callTool(\"system_performance\", {\n  action: \"current\",\n  metric: \"all\"\n});\n\nawait callTool(\"system_performance\", {\n  action: \"history\",\n  timeRange: \"24h\",\n  metric: \"memory\"\n});\n\nawait callTool(\"system_performance\", {\n  action: \"processes\",\n  metric: \"cpu\"\n});\n\nawait callTool(\"system_performance\", {\n  action: \"optimize\"\n});\n```\n\n### enhanced_search\n\nAdvanced file search with content analysis and tagging capabilities.\n\n**Parameters:**\n- `action` (required): \"search\" | \"tag\" | \"untag\"\n- `query` (optional): Search query (supports regex)\n- `searchType` (optional): \"content\" | \"filename\" | \"tags\" | \"regex\"\n- `fileTypes` (optional): Array of file extensions to include\n- `path` (optional): Root directory for search\n- `maxResults` (optional): Maximum number of results\n- `tags` (optional): Array of tags to search for or apply\n\n**Examples:**\n\n```typescript\n// Search for TODO comments in code files\nawait callTool(\"enhanced_search\", {\n  action: \"search\",\n  query: \"TODO|FIXME\",\n  searchType: \"regex\",\n  fileTypes: [\"js\", \"ts\", \"py\"],\n  path: \"~/Projects\"\n});\n\nawait callTool(\"enhanced_search\", {\n  action: \"tag\",\n  path: \"~/Documents/important.pdf\",\n  tags: [\"urgent\", \"project-x\"]\n});\n\nawait callTool(\"enhanced_search\", {\n  action: \"search\",\n  searchType: \"tags\",\n  tags: [\"urgent\"],\n  path: \"~/Documents\"\n});\n\nawait callTool(\"enhanced_search\", {\n  action: \"search\",\n  query: \"apiKey\",\n  searchType: \"content\",\n  fileTypes: [\"json\", \"env\"],\n  path: \"~/Projects\",\n  maxResults: 50\n});\n```\n\n### Key Features\n\n1. **Native macOS Integration**\n   - Uses native commands (ps, mdfind, xattr) for optimal performance\n   - Leverages Spotlight index for fast searches\n   - Supports macOS extended attributes for tagging\n\n2. **Performance Optimization**\n   - Multi-level caching system\n   - Debounced operations\n   - Rate limiting for system calls\n   - Streaming for large files\n\n3. **Data Persistence**\n   - SQLite database for performance history\n   - Configurable data retention\n   - Efficient time-series queries\n\n## License\n\nMIT License - see LICENSE file for details\n\n## Testing the Server\n\nOnce you've configured the server in Claude Desktop, you can use these prompts to test all functionality:\n\n### Quick Test Prompts\n\n1. **Basic Performance Check**:\n   ```\n   Show me my current system performance metrics\n   ```\n\n2. **Process Analysis**:\n   ```\n   What are the top 5 CPU-consuming processes on my system?\n   ```\n\n3. **File Search**:\n   ```\n   Search for TODO comments in JavaScript files in my current directory\n   ```\n\n4. **System Optimization**:\n   ```\n   Analyze my system and suggest performance optimizations\n   ```\n\n### Comprehensive Test Suite\n\nUse this comprehensive prompt to test all features:\n\n```\nI want to test the macOS Tools MCP server. Please help me:\n\n1. **System Performance Testing**:\n   - Show me the current system performance metrics (CPU, memory, disk, network)\n   - Display the top 5 processes consuming the most CPU\n   - Show me memory usage history for the last hour\n   - Analyze my system and provide optimization suggestions\n   - Get the top memory-consuming processes\n\n2. **File Search Testing**:\n   - Search for all JavaScript and TypeScript files containing \"TODO\" or \"FIXME\" comments in my home directory\n   - Find all files with \"test\" in their filename in the current project directory\n   - Search for files containing the word \"password\" in configuration files (.json, .env, .yml)\n   - Use regex to find all email addresses in text files\n   - Search for files modified in the last 24 hours\n\n3. **Tag Management Testing**:\n   - Tag this file with \"important\" and \"reviewed\": /Users/tornikegomareli/Development/macos-tools-mcp/README.md\n   - Search for all files tagged with \"important\"\n   - Remove the \"reviewed\" tag from the README file\n   - Tag all TypeScript files in the src directory with \"source-code\"\n\n4. **Combined Operations**:\n   - Monitor system performance while performing a large file search\n   - Find resource-intensive processes and then search for their log files\n   - Show current disk usage and search for large files (\u003e 100MB)\n\n5. **Edge Cases**:\n   - Search in a non-existent directory\n   - Try to tag a file I don't have permission to modify\n   - Request performance data for an invalid time range\n   - Search with an invalid regex pattern\n```\n\n### Expected Behaviors\n\n- **Performance Monitor**: Should return real-time metrics, process lists, historical data, and optimization suggestions\n- **File Search**: Should find files by content, name, or tags, with support for regex patterns\n- **Tag Operations**: Should successfully add/remove tags and search by them\n- **Error Handling**: Should gracefully handle permission errors, invalid paths, and malformed queries\n\n## Future Enhancements\n\n- [ ] GPU monitoring support\n- [ ] Network connection analysis\n- [ ] Application-specific performance tracking\n- [ ] Integration with Time Machine for file version search","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftornikegomareli%2Fmacos-tools-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftornikegomareli%2Fmacos-tools-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftornikegomareli%2Fmacos-tools-mcp-server/lists"}