这是一个专为苹果设备打造的工具集合,基于 MCP 协议 开发,能为苹果设备用户提供丰富的功能支持。
以下是关于如何设置和演示的分步视频:查看视频
{
"mcpServers": {
"apple-mcp": {
"command": "bunx",
"args": ["--no-cache", "apple-mcp@latest"]
}
}
通过 Smithery 可自动为 Claude Desktop 安装 Apple MCP:
npx -y @smithery/cli@latest install @Dhravya/apple-mcp --client claude
若要为 Cursor 安装,可使用以下命令:
npx -y @smithery/cli@latest install @Dhravya/apple-mcp --client cursor
通过以下命令可在 macOS 或 Linux 上快速安装工具:
sudo apt-get update && sudo apt-get install -y curl unzip
curl -L "https://github.com/yourusername/apple-mcp/raw/main/install.sh" | bash
# 使用 nvm 安装 Node.js 14.x 或更高版本
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source ~/.bashrc
nvm install --lts
git clone https://github.com/yourusername/apple-mcp.git
cd apple-mcp
npm install
node index.js
{
"command": "send_email",
"args": {
"to": "recipient@example.com",
"subject": "Test Email",
"body": "This is a test email from the MCP tool."
}
}
{
"command": "search_location",
"args": {
"query": "New York City"
}
}
{ command: 'get_weather', args: { location: 'London' } }
{ command: 'search_restaurants', args: { location: 'Tokyo' } }
git clone https://github.com/yourusername/apple-mcp.git
cd apple-mcp
npm install
npm run dev
http://localhost:3000 查看文档和测试界面。更多详细信息请参考项目文档或仓库中的 README 文件。