墨问笔记API的MCP服务器封装,支持在Cursor、Claude Desktop等MCP客户端中操作墨问笔记,包含文件上传功能
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"iflow-mcp-z4656207-mowen-mcp-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# 墨问笔记 MCP 服务器 这是一个基于**模型上下文协议(MCP)**的服务器,用于与墨问笔记软件进行交互。通过此服务器,你可以在支持MCP的应用(如Cursor、Claude Desktop等)中直接创建、编辑和管理墨问笔记。 本项目由一支烟花社区和墨问合作共创。 ## 🆕 免安装版上线了(小白可用) ### 使用方法(windows为例) 1. 下载mowen-mcp-server-windows-x64-v1.0.0.zip并解压出mowen-mcp-server.exe 2. mcp客户端中修改command值,替换成mowen-mcp-server.exe文件的路径即可 ```json { "mcpServers": { "mowen-mcp-server": { "command": "D:\\mowen\\mowen-mcp-server.exe", "args": [], "env": { "MOWEN_API_KEY": "xxxxxxxxxxxxxxx" } } } } ``` **✨ 最新版本特性:支持文件上传功能!现在可以在笔记中插入图片、音频和PDF文件,支持本地文件和远程URL两种上传方式。** ## 🆕 新功能预览 (v0.2.0) ### 📁 文件上传支持 ⚠️ **重要:文件路径必须使用绝对路径**,因为MCP Server和Client运行在不同的工作目录中。 ```python # 本地图片文件 { "type": "file", "file_type": "image", "source_type": "local", "source_path": "C:\\Users\\用户名\\Documents\\image.jpg", # Windows绝对路径 "metadata": { "alt": "图片描述", "align": "center" } } # 远程音频文件(URL不受路径限制) { "type": "file", "file_type": "audio", "source_type": "url", "source_path": "https://example.com/audio.mp3", "metadata": { "show_note": "00:00 开始\n01:30 主要内容" } } ``` ### 📝 引用段落 ```python { "type": "quote", "texts": [ {"text": "重要提醒:", "bold": true}, {"text": "支持富文本格式的引用段落"} ] } ``` ### 🔗 内链笔记 ```python { "type": "note", "note_id": "VPrWsE_-P0qwrFUOygGs8" } ``` ## 功能特性 - 🔗 **兼容MCP协议**:支持最新的MCP 1.9.1版本 - 📝 **创建笔记**:统一的富文本格式,支持段落、加粗、高亮、链接、引用和内链笔记 - ✏️ **编辑笔记**:统一的富文本格式,完全替换笔记内容 - 📁 **文件上传**:支持图片、音频、PDF文件上传,本地文件和远程URL两种方式 - 💬 **引用段落**:创建引用文本块,支持富文本格式 - 🔗 **内链笔记**:引用其他笔记,创建笔记间的关联 - 🔒 **隐私设置**:设置笔记的公开、私有或规则公开权限 - 🔄 **密钥管理**:重置API密钥功能 - 🎨 **统一接口**:所有笔记操作使用一致的富文本参数格式 ## 快速开始 ### 前提条件 - Python 3.10+ - 墨问Pro会员账号(API功能仅对Pro会员开放) - 墨问API密钥(在墨问小程序中获取) ### 安装方式 #### 方式一:从源码安装(推荐) 1. **克隆项目**: ```bash git clone https://github.com/z4656207/mowen-mcp-server.git cd mowen-mcp-server ``` 2. **安装依赖**: ```bash pip install -e . ``` #### 方式二:直接安装依赖 ```bash pip install mcp httpx pydant…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.