upnote-mcp
Enables AI assistants to interact with Upnote via its x-callback-url API, allowing creation of notes, notebooks, tag management, and search. It also supports navigation to various Upnote sections and custom filters.
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 notetext(optional): Content of the notenotebook(optional): Target notebook identifiermarkdown(optional, default: true): Enable Markdown formattingnew_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 notenew_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_tagsnoteId(optional): Opens specific note in editornotebookId(optional): Required when mode is 'notebooks'tagId(optional): Required when mode is 'tags'filterId(optional): Required when mode is 'filters'spaceId(optional): Space identifier (defaults to current space)
upnote_search
Search for notes in Upnote.
Parameters:
query(required): Search query stringspaceId(optional): Space identifier to search within
Usage Examples
Once configured with Claude Desktop, you can interact with Upnote using natural language:
- "Create a new note titled 'Meeting Notes' with the text 'Discussed Q4 goals'"
- "Open my notebook with ID abc123"
- "Search for notes containing 'project ideas'"
- "Create a new notebook called 'Research'"
- "Show me all notes tagged with 'important'"
How It Works
This MCP server uses Upnote's x-callback-url scheme to interact with the application. When a tool is invoked:
- The server constructs a properly formatted
upnote://URL with the appropriate parameters - The URL is executed using the system's
opencommand (macOS) - Upnote receives the URL and performs the requested action
- The server returns a success message to the MCP client
Requirements
- Upnote: Must be installed on your system
- Bun: v1.3.5 or later
- macOS: Currently uses the
opencommand (macOS-specific)
Development
To run the server directly:
bun run index.ts
The server communicates via standard input/output (stdio) using the MCP protocol.
Platform Support
Currently optimized for macOS using the open command to trigger URL schemes. Support for other platforms may require modifications to the URL execution mechanism in the executeUpnoteUrl function.
Finding Upnote IDs
To use tools that require IDs (noteId, notebookId, filterId):
- Note IDs: Can be found in Upnote's note sharing or export features
- Notebook IDs: Check Upnote's settings or use the app's developer tools
- Filter IDs: Available in custom filter settings
Refer to Upnote's documentation for more details on obtaining these identifiers.
Troubleshooting
Server not connecting
- Ensure the path in
claude_desktop_config.jsonis absolute and correct - Verify Bun is installed and accessible in your PATH
- Restart Claude Desktop after configuration changes
Upnote not responding
- Confirm Upnote is installed and running
- Check that the x-callback-url endpoints are enabled in Upnote
- Verify the IDs you're using are correct and accessible
Contributing
This is a community project. Contributions, bug reports, and feature requests are welcome!
License
MIT
Credits
Built using the Model Context Protocol SDK by Anthropic.
Upnote is a trademark of Upnote.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。