Apple Notes MCP 服务器 是一个模型上下文协议服务器,它通过自然语言实现了与 Apple Notes 的无缝交互。使用 Claude 或其他 AI 助手轻松创建、搜索和检索笔记!🎉
<a href="https://glama.ai/mcp/servers/ayr26szokg"> <img width="380" height="200" src="https://gips1.baidu.com/it/u=1460091380,2397303047&fm=3081&app=3081&f=PNG?w=760&h=400" alt="Apple Notes Server MCP 服务器" /> </a>克隆仓库:
git clone https://github.com/Siddhant-K-code/mcp-apple-notes.git
cd mcp-apple-notes
安装依赖项:
yarn install
构建项目:
yarn build
启动服务器:
yarn start
配置 Claude Desktop。更新您的 claude_desktop_config.json 文件:
{
"mcpServers": {
"apple-notes": {
"command": "yarn",
"args": ["start"],
"cwd": "/path/to/mcp-apple-notes"
}
}
}
注意: 将
/path/to/mcp-apple-notes替换为您实际克隆的仓库路径。 您可能需要在首次运行命令时授权脚本访问 Apple Notes。
当服务器成功启动时,您会看到:
正在启动 Apple Notes MCP 服务器。
现在服务器已准备好处理您的笔记操作!🎉
创建笔记
{
title: string; // 笔记的标题
content: string; // 笔记的内容
tags?: string[]; // 笔记的可选标签
}
创建了笔记:我的新笔记
搜索笔记
{
query: string; // 搜索查询
}
会议记录
购物清单
项目想法
获取笔记内容
{
title: string; // 笔记的确切标题
}
[笔记的完整内容]
在会议或头脑风暴期间创建笔记:
{
"title": "团队会议记录",
"content": "讨论要点:\n1. 项目时间线\n2. 资源分配",
"tags": ["会议", "工作"]
}
需要时搜索特定笔记:
{
"query": "会议"
}
获取特定笔记的完整内容:
{
"title": "团队会议记录"
}
该项目使用 TypeScript 并遵循现代 ES 模块模式。关键文件:
src/index.ts:主服务器实现src/services/appleNotesManager.ts:核心笔记管理功能src/utils/applescript.ts:AppleScript 集成工具为 VS Code 用户提供了一个开发容器配置,包括:
此项目根据 MIT 许可证发布 - 查看 LICENSE 文件了解详情。
由 ❤️ 为 Apple Notes 用户制作