QR

quentintou/remnote-mcp-bridge

开发工具

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

26 stars 18 forks 质量 68 趋势 0MIT

通过MCP(模型上下文协议)将RemNote与AI助手连接

概览

通过 .将RemNote与AI助手(Claude、GPT等)连接起来。该插件支持双向通信,使AI能够直接读取和写入你的RemNote知识库。 Model Context Protocol 是 Anthropic 推出的开放标准,允许 AI 助手与外部工具和数据源交互。有了这个插件,你的 AI 助手成为真正的 PKM 伙伴。 - - AI 可以创建带有标题、内容和标签的新笔记 - - 跨所有 Rem 的全文搜索 - - 访问笔记内容和层级子节点 - - 修改现有笔记,添加内容,管理标签 - - 添加到今日每日文档中 - - 通过MCP自动标记笔记(可配置) - - 跟踪创建/更新/日志条目/搜索 - - 查看带时间戳的最近10个MCP操作 - - 通过RemNote设置自定义行为 - - 侧边栏控件中的连接状态指示器 下载PluginZip。

概述(AI 翻译)

通过模型上下文协议(MCP),将RemNote与AI助手(Claude、GPT等)连接起来。该插件支持双向通信,使AI能够直接读写你的RemNote知识库。

什么是MCP?

Model Context Protocol 是 Anthropic 推出的开放标准,允许 AI 助手与外部工具和数据源交互。有了这个插件,你的 AI 助手成为真正的 PKM 伙伴。

特色

核心能力

  • 创建笔记 - AI可以创建带有标题、内容和标签的新笔记
  • 搜索知识库 - 跨所有Rem的全文搜索
  • 阅读笔记 - 访问笔记内容和层级子节点
  • 更新备注 - 修改现有备注、添加内容、管理标签
  • 每日日报 - 今日每日文档附录

插件功能

  • 自动标记 - 通过MCP创建的笔记自动标记(可配置)
  • 会话统计 - 跟踪创建/更新/日志条目/搜索
  • 动作历史 - 查看带时间戳的最近10个MCP操作
  • 可配置设置 - 通过RemNote设置自定义行为
  • 实时状态 - 侧边栏小部件中的连接状态指示器

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

README

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

RemNote MCP Bridge

Connect RemNote to AI assistants (Claude, GPT, etc.) via the Model Context Protocol (MCP). This plugin enables bidirectional communication, allowing AI to read and write directly to your RemNote knowledge base.

What is MCP?

Model Context Protocol is an open standard by Anthropic that allows AI assistants to interact with external tools and data sources. With this plugin, your AI assistant becomes a true PKM companion.

Features

Core Capabilities

  • Create Notes - AI can create new notes with titles, content, and tags
  • Search Knowledge Base - Full-text search across all your Rems
  • Read Notes - Access note content and hierarchical children
  • Update Notes - Modify existing notes, append content, manage tags
  • Daily Journal - Append entries to today’s daily document

Plugin Features

  • Auto-tagging - Automatically tag notes created via MCP (configurable)
  • Session Statistics - Track created/updated/journal entries/searches
  • Action History - View last 10 MCP actions with timestamps
  • Configurable Settings - Customize behavior through RemNote settings
  • Real-time Status - Connection status indicator in sidebar widget

Installation

1. Install the RemNote Plugin

Download PluginZip.zip from Releases and install it in RemNote:

  • Go to Settings > Plugins > Install from zip
  • Select the downloaded zip file

Or for development:

git clone https://github.com/quentintou/remnote-mcp-bridge.git
cd remnote-mcp-bridge
npm install
npm run dev

2. Install the MCP Server

The MCP server acts as a bridge between your AI assistant and this plugin.

npm install -g remnote-mcp-server

Or clone and run locally:

git clone https://github.com/quentintou/remnote-mcp-server.git
cd remnote-mcp-server
npm install
npm start

3. Configure Your AI Assistant

For Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "remnote": {
      "command": "remnote-mcp-server",
      "args": []
    }
  }
}

For Claude Code CLI

Add to your MCP settings:

{
  "remnote": {
    "command": "remnote-mcp-server"
  }
}

Configuration

Access plugin settings in RemNote via Settings > Plugins > MCP Bridge:

Setting Description Default
Auto-tag MCP notes Add a tag to all AI-created notes true
Auto-tag name Tag name for AI-created notes MCP
Journal entry prefix Prefix for journal entries [Claude]
Add timestamp to journal Include time in journal entries true
WebSocket server URL MCP server connection URL ws://127.0.0.1:3002
Default parent Rem ID Parent for new notes (empty = root) ``
在 GitHub 查看完整 README

安装

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

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

配置

{ "mcpServers": { "remnote": { "command": "remnote-mcp-server", "args": [] } } }