返回市场
笔记-MCP

笔记-MCP

作者:krasun76 星标更新:2025-05-22

项目介绍

Notes MCP

与macOS上的Apple Notes连接的MCP服务器。

Claude 使用示例

支持的工具

  • notes-get-folders: 获取所有文件夹。
  • notes-get-notes: 获取文件夹中的所有笔记。
  • notes-create-note: 创建带有标题和内容的新笔记。
  • notes-get-note-by-id: 通过标识符获取笔记。
  • notes-get-note-by-title: 通过精确匹配标题查找笔记。
  • notes-get-note-count: 获取笔记总数。

使用方法

构建它

首先安装依赖并构建:

npm install && npm run build

与桌面版Claude一起使用

在你的 ~/Library/Application\ Support/Claude/claude_desktop_config.json 中添加以下内容:

{
    "mcpServers": {
        "notes": {
            "command": "node",
            "args": ["path/to/notes/mcp/dist/index.js"]
        }
    }
}

然后在Claude设置中检查是否正在运行:

Claude MCP 设置

与Cursor一起使用

{
    "mcpServers": {
        "notes": {
            "command": "node",
            "args": ["path/to/notes/mcp/dist/index.js"]
        }
    }
}

然后检查Cursor MCP设置:

Cursor MCP 设置

独立或用于其他项目

node dist/index.js

许可证

Notes MCPMIT许可证下发布。