Token导航 LogoToken导航TokenDH.com
heptabase-CLI logo
文档知识stdio官方级别未说明来源级核验

heptabase-CLI

MCP Server

skills

Heptabase知识库CLI是一个命令行工具,允许用户从终端搜索白板、阅读卡片/日记/PDF以及编写笔记。

工具数

9

提示词数

0

GitHub Stars

11

资源数

0
知识管理TypeScriptClaudeClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

madeyexz

提供方

madeyexz

最后核验

2026/5/17 20:21

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx skills add madeyexz/heptabase-cli

详细介绍

\[!重要\] 此项目已弃用;截至2026年4月22日,Heptabase发布了官方CLI;阅读更多 更新日志

Heptabase命令行界面

CLI用于您的个人Heptabase知识库。在终端上搜索白板、阅读卡片/日记/PDF和写笔记。

安装

选择一个:

选项1:Homebrew(建议在macOS上使用)

brew tap madeyexz/tap
brew install madeyexz/tap/heptabase-cli
heptabase --help

选项2:独立二进制

安装后,使用 heptabase 对于所有命令。

当前版本的二进制目标:macOS arm64。 如果你在另一个平台上,请使用 bunx 或者从源代码构建。

mkdir -p ~/.local/bin
curl -L https://github.com/madeyexz/heptabase-cli/releases/latest/download/heptabase -o ~/.local/bin/heptabase
chmod +x ~/.local/bin/heptabase
~/.local/bin/heptabase --help

如果 ~/.local/bin 不在你的 PATH,添加它:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

可选的系统范围安装:

curl -L https://github.com/madeyexz/heptabase-cli/releases/latest/download/heptabase -o heptabase
chmod +x heptabase
sudo mv heptabase /usr/local/bin/

选项3: bunx (无需安装,需要 包子)

bunx heptabase-cli --help

代理设置

对于代理,更喜欢安装 heptabasePATH.

如果您使用AI代理(Claude Code、Codex等),请安装Heptabase 代理技能:

npx skills add madeyexz/heptabase-cli

代理命令约定:使用 heptabase ... (不是 bunx heptabase-cli ...).

身份验证(首次运行)

运行任何命令(以下示例)。第一次运行将打开Heptabase OAuth浏览器。

  • 令牌缓存在 ~/.mcp-auth/
  • 令牌自动刷新
  • 使用重置登录 rm -rf ~/.mcp-auth/

用法

以下示例使用已安装的二进制文件 heptabase. 如果使用无安装模式,请更换 heptabasebunx heptabase-cli.

# Search
heptabase search-whiteboards --keywords "project"
heptabase semantic-search-objects --queries "machine learning" --result-object-types card

# Read
heptabase get-object --object-id  --object-type card
heptabase get-journal-range --start-date 2026-01-01 --end-date 2026-02-21

# Write
heptabase save-to-note-card --content "# Title\n\nBody text"
heptabase append-to-journal --content "Some entry"

列出所有命令:

heptabase --help
heptabase  --help

支持的输出格式(--output): text (默认), json, markdown, raw.

命令

  • search-whiteboards
  • semantic-search-objects
  • get-object
  • get-whiteboard-with-objects
  • get-journal-range
  • save-to-note-card
  • append-to-journal
  • search-pdf-content
  • get-pdf-pages

故障排除

  • command not found: heptabase:使用 bunx heptabase-cli ... 或确保 ~/.local/bin (或 /usr/local/bin)在你的 PATH.
  • 浏览器未打开OAuth:从终端复制登录URL并手动打开。
  • 需要重新验证: rm -rf ~/.mcp-auth/ 并再次运行命令。

开发(高级)

需要 和 包子.

npx mcp-remote@latest https://api.heptabase.com/mcp --transport http-only

npx mcporter@latest generate-cli \
  --command 'npx -y mcp-remote@latest https://api.heptabase.com/mcp --transport http-only' \
  --output ./heptabase-cli.ts \
  --compile ./heptabase \
  --description "Heptabase knowledge base CLI"

更多

  • Heptabase MCP文档:https://support.heptabase.com/en/articles/12679581-how-to-use-heptabase-mcp

目录标签

目录标签

知识管理TypeScriptClaude本地部署命令行工具笔记应用白板搜索PDF阅读

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

oauth

运行时(runtime,运行环境)

Node.js

来源包(packageName,安装包名)

skills

工具数量(toolCount,工具数)

9

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiooauth部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP