Back to MCP directory
publicPublicdnsLocal runtime

notepm-mcp-server

NotePM MCP服务器是一个用于搜索NotePM内容的服务,支持全文检索、标题搜索、标签筛选等功能,可通过MCP兼容客户端访问。

article

README

🚀 NotePM MCP 服务器

NotePM MCP 服务器可通过 Model Context Protocol (MCP) 搜索 NotePM 内容。借助该服务器,用户能使用 MCP 兼容客户端访问 NotePM 的搜索功能。

🚀 快速开始

必要条件

  • Python 3.12 或更高版本
  • NotePM 账户和 API Token
  • uv

安装

uv sync

环境配置

需要设置以下环境变量:

  • NOTEPM_TEAM:NotePM 团队名称
  • NOTEPM_API_TOKEN:NotePM API 令牌

您也可以创建 .env 文件并进行配置:

NOTEPM_TEAM=your-team-name
NOTEPM_API_TOKEN=your-api-token

启动服务器

uv run notepm-mcp-server

MCP 客户端配置

"servers": {
  "notepm-mcp-server": {
    "command": "uv",
    "args": [
      "--directory",
      "/<路径到 mcp-servers>/notepm-mcp-server",
      "run",
      "notepm-mcp-server"
    ],
    "env": {
      "NOTEPM_TEAM": "your-team-name",
      "NOTEPM_API_TOKEN": "your-api-token"
    }
  }
}

✨ 主要特性

  • 全文搜索 NotePM 内容
  • 标题仅搜索
  • 标签搜索
  • 笔记代码搜索
  • 存档页面搜索选项
  • 分页支持
  • 获取详细文章内容
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client