Back to MCP directory
publicPublicdnsLocal runtime

mcp-my-mac

一个轻量级服务器,通过简单API暴露Mac系统信息,帮助AI助手获取实时硬件和系统数据,主要用于Mac用户的AI和深度学习实验。

article

README

🚀 MCP My Mac

MCP My Mac是一个轻量级服务器,它借助简单的API提供Mac系统的相关信息,能让Claude这类AI助手实时获取Mac设备的信息。此工具主要面向那些希望在自己的Mac上开展AI和深度学习实验的用户。

🚀 快速开始

MCP My Mac目前处于测试阶段,我们正积极收集反馈,以优化功能和提升用户体验。如果您有任何想法或建议,欢迎分享!

✨ 主要特性

  • 为Claude桌面或其他MCP客户端提供访问Mac硬件规格、系统配置和资源使用情况的能力。
  • 实现更精准、更准确的辅助,可用于软件优化和故障排除。
  • 作为安全的本地API运行,资源消耗极低。
  • 仅执行经过验证的安全命令:
    • system_profiler - 收集系统信息。
    • conda - 分析Python环境配置。

📦 安装指南

方法1:使用UV + Git克隆

先决条件

  • Python 3.8或更高版本。
  • 已安装UV包管理器。

步骤

  1. 克隆仓库:
git clone git@github.com:zhongmingyuan/mcp-my-mac.git
  1. 配置AI客户端: [Claude Desktop] 在您的MCP服务器配置文件中添加以下内容:
"mcpServers": {
    "mcp-my-mac": {
        "command": "uv",
        "args": [
            "--directory",
            "/YOUR_PATH_TO/mcp-my-mac",
            "run",
            "-m",
            "mcp_server_my_mac"
        ]
    }
}

⚠️ 重要提示

请将/YOUR_PATH_TO替换为实际克隆仓库的路径。

[Cursor] 在界面中选择“命令”以添加工具:

uv run --directory /YOUR_PATH_TO/mcp-my-mac mcp_server_my_mac

💻 使用示例

基础用法

安装完成后,Claude Desktop将在您的Mac上自动连接到此API,从而在需要回答问题或提供帮助时获取系统信息。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client