SK

siddhant-k-code/mcp-apple-notes

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

25 stars 12 forks 质量 72 趋势 8MIT

苹果笔记的MCP服务器

概览

未积极维护。使用请自行承担风险! 是一个模型上下文协议服务器,支持通过自然语言与 Apple Notes 无缝交互。使用 Claude 或其他 AI 助手轻松创建、搜索和检索笔记!🎉 - 快速创建带有标题、内容和标签📝的新笔记 - 利用强大的搜索功能🔍查找笔记 - 通过标题📖获取任何笔记的完整内容 - 直接与您的iCloud笔记账户☁️协作 1. macOS 并配置了 Apple Notes 应用 2.Node.js(版本 20.0.0 或更高) 3.纱线包管理器 5. 配置 Claude Desktop。更新您的claude_desktop_config.json: 将 /path/to/mcp-apple-notes 替换为你克隆仓库的实际路径。你可能需要授权脚本才能在首次运行命令时访问 Apple Notes。 当服务器成功启动时,你会看到: 服务器现在准备好处理您的笔记操作!🎉

概述(AI 翻译)

[!注意] 没有积极维护。使用请自行承担风险!

📝 苹果笔记 MCP 服务器

Apple Notes MCP 服务器 是一个模型上下文协议服务器,支持通过自然语言与 Apple Notes 的无缝交互。使用 Claude 或其他 AI 助手,轻松创建、搜索和检索笔记!🎉

🎯 特色

  • 创建笔记: 快速创建带有标题、内容和标签📝的新笔记
  • 搜索笔记: 利用强大的搜索功能🔍查找笔记
  • 检索内容: 通过标题📖获取任何笔记的完整内容
  • iCloud 集成: 直接与您的 iCloud 备忘录账户☁️工作

🚀 开始

先决条件

  1. macOS 配置了 Apple Notes 应用
  2. Node.js(版本20.0.0或更高)
  3. 纱线包管理器

安装

  1. 克隆仓库:

  2. 安装依赖:

  3. 建设项目:

  4. 启动服务器:

  5. 配置 Claude 桌面。更新您的 claude_desktop_config.json 如下:

注意: 将/path/to/mcp-apple-notes替换为你克隆仓库的实际路径。 你可能需要授权脚本才能在刚开始执行命令时访问 Apple Notes。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

[!Caution] Not actively maintained. Use at your own risk!

📝 Apple Notes MCP Server

Apple Notes MCP Server is a Model Context Protocol server that enables seamless interaction with Apple Notes through natural language. Create, search, and retrieve notes effortlessly using Claude or other AI assistants! 🎉

🎯 Features

  • Create Notes: Quickly create new notes with titles, content, and tags 📝
  • Search Notes: Find notes using powerful search capabilities 🔍
  • Retrieve Content: Get the full content of any note by its title 📖
  • iCloud Integration: Works directly with your iCloud Notes account ☁️

🚀 Getting Started

Prerequisites

  1. macOS with Apple Notes app configured
  2. Node.js (version 20.0.0 or higher)
  3. Yarn package manager

Installation

  1. Clone the repository:

    git clone https://github.com/Siddhant-K-code/mcp-apple-notes.git
    cd mcp-apple-notes
    
  2. Install dependencies:

    yarn install
    
  3. Build the project:

    yarn build
    
  4. Start the server:

    yarn start
    
  5. Configure Claude Desktop. Update your claude_desktop_config.json with:

    {
      "mcpServers": {
        "apple-notes": {
          "command": "yarn",
          "args": ["start"],
          "cwd": "/path/to/mcp-apple-notes"
        }
      }
    }
    

    Note: Replace /path/to/mcp-apple-notes with the actual path to your cloned repository. You may need to authorize the script to access Apple Notes when first running commands.

MCP Server Initialization

When the server starts successfully, you’ll see:

Starting Apple Notes MCP server.

The server is now ready to handle your note operations! 🎉

🛠️ Usage

Available Tools

  1. Create Note

    • Description: Creates a new note in Apple Notes
    • Parameters:
      {
        title: string;      // The title of the note
        content: string;    // The content of the note
        tags?: string[];    // Optional tags for the note
      }
      
    • Example Response:
      Note created: My New Note
      
  2. Search Notes

    • Description: Search for notes by title
    • Parameters:
      {
        query: string; // The search query
      }
      
    • Example Response:
      Meeting Notes
      Shopping List
      Ideas for Project
      
  3. Get Note Content

    • Description: Retrieve the full content of a specific note
    • Parameters:
      {
        title: string; // The exact title of the note
      }
      
    • Example Response:
      [Full content of the note]
      

📚 Example Use Cases

1. Quick Note Taking

Create notes during meetings or brainstorming sessions:

{
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "apple-notes": { "command": "yarn", "args": ["start"], "cwd": "/path/to/mcp-apple-notes" } } }