zhengjy01/dsh-notion-connector
Notion connector for DeepSeek Harness: agent tools + Web settings page · DSH 的 Notion 连接插件
Bundle 已验证
未知
JavaScript
未知
Bundle 已验证
已收录
0
Memory
Bundle 已验证
★ 0
在 GitHub 查看
预览
功能介绍
配置一次 Notion Integration Token,Agent 即可搜索、读取、查询、创建、更新、追加 Notion 页面与数据库内容,并提供 Web 设置页。
适合
- 需要 Agent 搜索和读取已共享 Notion 内容的 DeepSeek Harness 用户。
- 需要创建、更新、查询或追加 Notion 页面与数据库条目的工作流。
- 希望通过 Web 设置页一次性配置 Notion 集成的团队。
不适合
- 无法把所需页面或数据库共享给 Notion Integration 的工作区。
- 不能接受 Integration Token 以明文存入主目录文件的用户,即使文件权限为 0600。
- 需要超出六项已记录 Notion 操作能力的工作流。
README
dsh-notion-connector
English 中文
A Notion connector plugin for DeepSeek Harness. Configure an Integration Token once, and both the agent and the Web GUI settings page can operate your Notion workspace.
Features
-
Agent tools (available automatically after configuration):
-
notion_search— search pages/databases -
notion_read_page— read page title, properties, and content blocks (nested blocks are read recursively, up to 200 blocks) -
notion_query_database— query database entries (filter / sorts / pagination) -
notion_create_page— create a page (under a page or a database) -
notion_update_page— update properties / archive -
notion_append_blocks— append content blocks
-
- Web settings page: Settings → Notion — connection status, Token input (automatically validated and the workspace name is read on save), clear configuration, three-step guide
-
Storage: the Token is stored in
~/.dsh/notion.json(permissions 0600); the browser interacts with the plugin through the loopback-only/api/dsh-notion-connector/*endpoints; API calls use Node’s native fetch, with no shell dependency
Installation
dsh plugin --profile web add github:zhengjy01/dsh-notion-connector
Restart dsh web to activate the plugin.
Usage
- Open https://www.notion.so/my-integrations and create an internal integration; copy the Internal Integration Secret (starts with
secret_) - In Notion, Share the pages/databases you want to access with the integration
- In the GUI, go to Settings → Notion, paste the Token and save
- After that, just tell the agent things like “search for XX in Notion” or “save this content to Notion”
Development
pnpm install # esbuild / typescript / type dependencies
pnpm build # esbuild: lib/index.js (host) + lib/client.js (browser)
pnpm typecheck # tsc --noEmit
pnpm install:local # fast local dev install (copies to ~/.dsh/profiles/node_modules/dsh-notion-connector)
Limitations
- Pages/databases must be shared with the integration before they can be accessed
- The Token is stored in plaintext in a private file in your home directory (permissions 0600)
- This plugin is third-party code: review the source before installing, and only use it from trusted sources
License
MIT
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:zhengjy01/dsh-notion-connector。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。