Skip to main content
Glama

Leanote MCP 连接器

MCP 工具,用于连接任意 Leanote 服务器

快速开始

使用此选项可通过 npx 直接从 Git 仓库运行服务器(无需本地克隆)。

{
  "mcpServers": {
    "leanote": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:PascalNoisette/leanote-clipper-mcp", "mcp"],
      "env": {
        "LEANOTE_EMAIL": "demo@leanote.com",
        "LEANOTE_PWD": "demo",
        "LEANOTE_URL": "http://localhost:3000"
      }
    }
  }
}

(将 owner/leanote-simulation 替换为您实际的 GitHub 所有者/仓库名称)。

Related MCP server: Apple Notes MCP

测试

提供了 Leanote Web 剪藏服务器 API 的独立 Node.js 模拟实现。

  • 即插即用替代方案,适用于 Leanote 服务器实例

  • 5 个 API 端点,与 Web 剪藏客户端完全匹配:

    • POST /api/auth/login — 身份验证

    • GET /api/notebook/getNotebooks — 获取笔记本列表

    • GET /api/notebook/getSyncNotebooks — 同步带过滤条件的笔记本

    • POST /api/note/addNote — 创建笔记(HTML 内容)

    • POST /api/file/upload — 上传图片

  • 笔记以 Markdown 文件形式存储在本地目录中

  • 内存存储会话,预置了演示数据

  • 基于令牌的身份验证,与 Leanote 的错误格式完全一致(NOTLOGIN),凭据从 YAML 文件加载。

  npx -y github:PascalNoisette/leanote-clipper-mcp serve

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for creating, listing, updating, deleting memos, and managing attachments via the Memos API.
    12
    16 npm
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    A minimal MCP server that enables interaction with Joplin notes and notebooks through the local Web Clipper REST API, providing tools for search, create, update, and note management.
    13
    MIT