note.com API 的 Model Context Protocol 服务器

note.com API 的 Model Context Protocol 服务器

使用 note.com API 实现获取文章、用户信息和投稿等功能的 Model Context Protocol (MCP) 服务器。

快速入门

前置条件

  • 安装 Node.js (v18+) 和 npm/yarn
  • 克隆仓库:git clone https://github.com/shimayuz/note-mcp-server.git && cd note-mcp-server
  • 安装依赖:npm install

配置

  1. 复制 .env.example 文件为 .env 并编辑配置(如认证信息)。
  2. 编译代码:npm run build

使用

  • 启动服务后可在 Claude Desktop 中测试功能,例如搜索文章或分析用户。
  • 认证相关功能需设置 Cookie (note_gql_auth_token_note_session_v5)。

更多用法见 README。