CU

chadthornton/upnote-mcp

开发工具

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

27 stars 8 forks 质量 61 趋势 0MIT

用于 Upnote 集成的模型上下文协议服务器

概览

一个模型上下文协议(MCP)服务器,使 AI 助手能够通过其 x-callback-url API 与 Upnote 交互。 该MCP服务器与Upnote进行了全面集成,使您能够: - : 创建带有自定义标题、内容和 markdown 格式的新笔记 - : 按 ID 打开特定笔记 - : 创建新笔记本并查看笔记本内容 - : 查看所有带有特定标签的笔记 - : 使用自定义筛选 ID 访问笔记 - : 导航到不同的 Upnote 部分(所有笔记、快速访问、模板、垃圾桶等) - : 搜索 Upnote 库中的笔记 要将该 MCP 服务器与 Claude Desktop 或其他 MCP 客户端使用,请将其添加到您的 MCP 配置文件中: - macOS:~/Library/Application Support/Claude/claude_desktop_config.json- Windows:%APPDATA%\Claude\claude_desktop_config.json 把 /absolute/path/to/upnote-mcp/ 替换成你安装的实际路径。

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,使 AI 助手能够通过其 x-callback-url API 与 Upnote 交互。

特色

该MCP服务器与Upnote进行了全面集成,使您能够:

  • 创建笔记:创建带有自定义标题、内容和Markdown格式的新笔记
  • 开放笔记:按ID打开特定笔记
  • 管理笔记本:创建新笔记本并查看笔记本内容
  • 标签管理:查看所有带有特定标签的笔记
  • 自定义过滤器:使用自定义过滤器ID访问笔记
  • 动态视图:可导航至不同的Upnote板块(所有笔记、快速访问、模板、垃圾等)
  • 搜索:在你的Upnote库中搜索笔记

安装

配置

要将该 MCP 服务器与 Claude Desktop 或其他 MCP 客户端使用,请将其添加到您的 MCP 配置文件中:

Claude Desktop Configuration

地点:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • 窗口:%APPDATA%\Claude\claude_desktop_config.json

配置:

将/absolute/path/to/upnote-mcp/替换为通往你安装的实际路径。

可用工具

upnote_create_note

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

README

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

Upnote MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to interact with Upnote using its x-callback-url API.

Features

This MCP server provides comprehensive integration with Upnote, allowing you to:

  • Create Notes: Create new notes with custom titles, content, and markdown formatting
  • Open Notes: Open specific notes by their ID
  • Manage Notebooks: Create new notebooks and view notebook contents
  • Tag Management: View all notes with specific tags
  • Custom Filters: Access notes using custom filter IDs
  • Dynamic Views: Navigate to different Upnote sections (all notes, quick access, templates, trash, etc.)
  • Search: Search for notes across your Upnote library

Installation

# Clone or navigate to the project directory
cd upnote-mcp

# Install dependencies using Bun
bun install

Configuration

To use this MCP server with Claude Desktop or other MCP clients, add it to your MCP configuration file:

Claude Desktop Configuration

Location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Configuration:

{
  "mcpServers": {
    "upnote": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/upnote-mcp/index.ts"]
    }
  }
}

Replace /absolute/path/to/upnote-mcp/ with the actual path to your installation.

Available Tools

upnote_create_note

Create a new note in Upnote.

Parameters:

  • title (optional): Title for the new note
  • text (optional): Content of the note
  • notebook (optional): Target notebook identifier
  • markdown (optional, default: true): Enable Markdown formatting
  • new_window (optional, default: false): Open note in new window

upnote_open_note

Open an existing note by its ID.

Parameters:

  • noteId (required): The unique identifier of the note
  • new_window (optional): Open note in new window

upnote_create_notebook

Create a new notebook in Upnote.

Parameters:

  • title (required): Name for the new notebook

upnote_open_notebook

View all notes in a specific notebook.

Parameters:

  • notebookId (required): Identifier of the notebook to display

upnote_view_tag

View all notes with a specific tag.

Parameters:

  • tag (required): Tag name to filter notes

upnote_open_filter

View notes using a custom filter.

Parameters:

  • filterId (required): Custom filter identifier

upnote_view

Dynamic view command for various Upnote sections.

Parameters:

  • mode (optional): View type - all_notes, quick_access, templates, trash, notebooks, tags, filters, all_notebooks, all_tags
  • noteId (optional): Opens specific note in editor
  • notebookId (optional): Required when mode is ‘notebooks’
  • tagId (optional): Required when mode is ‘tags’
  • filterId (optional): Required when mode is ‘filters’
在 GitHub 查看完整 README

安装

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

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

配置

{ "mcpServers": { "upnote": { "command": "bun", "args": ["run", "/absolute/path/to/upnote-mcp/index.ts"] } } }