MCP 知识库中心

个人 AI 知识文档库:Markdown 写作与整理,并通过 MCP 让你的 Agent 安全检索、读取和修改文档。

创建 MCP 令牌了解版本控制查看会员权益

选择连接与凭证

免费版支持编辑、同步、图床、导出和分享。文档 MCP、仓库 MCP 与站内 AI 助手需要终身会员。配置同步使用独立临时授权。

以下列出全部注册工具。连接后可见的工具取决于凭证类型与 scope。

文档 MCP

连接名 koinote,使用文档 PAT。read 可读取,write 可编辑,publish 可读取和管理 GEO 摘要并推送公众号草稿。write 不包含公众号推送。令牌可设置有效期并单独撤销。

koinote · https://koinote.app/mcp

工具目录

只读 (16)

所需 scope / 凭证 read / write / publish

  • list_documents
  • search_documents
  • get_document
  • list_document_versions
  • get_document_version
  • list_trashed_documents
  • get_document_history_settings
  • list_folders
  • list_wechat_accounts
  • get_wechat_geo_summary
  • list_document_themes
  • get_agent_credits
  • get_document_outline
  • get_document_context
  • compare_document_versions
  • find_text_in_document

写入 (15)

所需 scope / 凭证 write

  • create_document
  • append_to_document
  • update_document
  • restore_document_version
  • trash_document
  • restore_trashed_document
  • update_document_history_settings
  • create_folder
  • rename_folder
  • move_folder
  • move_document
  • batch_move_documents
  • delete_folder
  • update_document_metadata
  • apply_text_patch

写入 (1)

所需 scope / 凭证 write / publish

  • update_wechat_geo_summary

外部副作用 (1)

所需 scope / 凭证 write / publish

  • generate_wechat_geo_summary

外部副作用 (1)

所需 scope / 凭证 write

  • sync_document_to_feishu

外部副作用 (1)

所需 scope / 凭证 publish

  • push_wechat_draft

Skills / Agent 仓库 MCP

连接名 koinote-agent,使用独立的 agent_read 或 agent_write PAT,环境变量为 KOINOTE_AGENT_TOKEN。相同 /mcp 端点按凭证提供仓库工具。manage_agent_workspace 可永久删除仓库,更新和恢复也可能删除文件。

koinote-agent · https://koinote.app/mcp

Agent 仓库访问 · API / MCP(可选)

工具目录

只读 (8)

所需 scope / 凭证 agent_read / agent_write

  • list_agent_workspaces
  • get_agent_workspace
  • read_agent_workspace_file
  • get_agent_workspace_prompt
  • get_agent_workspace_storage
  • list_agent_workspace_commits
  • get_agent_workspace_commit
  • read_agent_workspace_commit_file

写入 (4)

所需 scope / 凭证 agent_write

  • create_agent_workspace
  • manage_agent_workspace
  • update_agent_workspace
  • restore_agent_workspace_commit

配置同步 MCP

连接名 koinote-config-sync,从配置快照的「复制给 AI」取得独立临时授权,普通文档或仓库 PAT 无法使用。凭证只读、30 分钟有效,绑定单个快照及 revision,免费账号也可为自己的一个配置快照授权。Agent 获取密文,在本地用用户提供的密钥解密。只将凭证和密钥交给信任的 Agent。撤销停止后续读取,已下载内容无法收回。超过 8 MiB 的密文使用工具返回的下载地址获取整包,上限 64 MiB。

koinote-config-sync · https://koinote.app/api/config-sync/mcp

工具目录

只读 (2)

所需 scope / 凭证 knt_config_sync_…

  • get_config_sync_snapshot
  • read_config_sync_envelope

客户端接入指南

在启动客户端的终端中设置实际令牌。示例中的 knt_mcp_... 是占位值,请使用环境变量或安全存储保护凭证,避免写入仓库。先用只读令牌验证连接。

Codex

在 ~/.codex/config.toml 添加此配置,从同一终端启动 Codex,使其读取 KOINOTE_MCP_TOKEN。

Claude Code

将 HTTP MCP 配置写入项目的 .mcp.json,在设置环境变量的终端启动 Claude Code。配置文件只保存变量引用。

OpenCode

先确认 OpenCode 主版本,选择对应的配置块。V2 的服务位于 mcp.servers,V1 位于 mcp。两者均关闭 OAuth 并使用环境变量请求头。

OpenClaw

通过 CLI 保存 Streamable HTTP 连接。请求头使用单引号保留环境变量引用,--no-probe 先保存配置,再进行只读探测。

WorkBuddy / 通用客户端

客户端需支持远程 Streamable HTTP 和 Authorization 请求头。将 Bearer 凭证存入客户端的环境变量或安全存储,连接 https://koinote.app/mcp。

外部操作与费用

  • generate_wechat_geo_summary 使用平台模型生成并保存摘要,消耗 credits。update_wechat_geo_summary 编辑已有摘要或开关,不调用模型、不消耗 credits。两者均允许 write 和 publish。
  • sync_document_to_feishu 需要 write 和飞书绑定,以 Koinote 内容单向覆盖已关联的飞书文档。
  • push_wechat_draft 需要 publish 和公众号绑定,会创建外部草稿并可能上传图片。推送及可选 AI 封面按现有规则消耗 credits,运营授权减免以实际授权为准。常规文档操作由客户端提供模型能力。

能力与安全边界

  • MCP 使用 Bearer 凭证,未提供 OAuth MCP。要求 OAuth 且无法配置 Bearer 请求头的网页版客户端当前无法直接接入。
  • 搜索对标题和正文做不区分大小写的子串匹配。尚未提供 RAG 或语义检索。
  • 文档 PAT 没有文件夹级授权范围,folderId 仅筛选结果。文档默认私有,工具仅访问当前账号授权的数据。
  • 尚未提供双向链接、知识图谱或标签。
  • 文档追加、替换、文本补丁、元数据更新、版本恢复、移入或移出回收站要求 expectedRevision。冲突时先读取最新版本,避免旧内容静默覆盖。创建、文件夹操作、移动与 GEO 摘要等有各自的校验规则。
  • 文档 MCP 可移入保留 30 天的回收站,不能永久删除文档。仓库 manage_agent_workspace 的永久删除能力请另行确认。
  • 文档和仓库 MCP 活动日志保留 180 天,记录工具、结果、耗时及关联标识,不记录正文或令牌原文。配置同步不提供同样的活动日志。
llms.txt