Heptabase MCP

by LarryStanley
MIT License
Integrations
  • Allows exporting Heptabase whiteboards and cards to Markdown format

  • Supports exporting Heptabase whiteboards to Mermaid diagrams for visual representation

@heptabase/mcp

用于与 Heptabase 备份数据交互的模型上下文协议 (MCP) 服务。该服务允许像 Claude 这样的 AI 助手搜索、检索、分析和导出 Heptabase 白板和卡片。

特征

  • 🔍 搜索白板和卡片
  • 📁 自动备份文件管理
  • 📄 导出为多种格式(Markdown、JSON、Mermaid)
  • 🔗 分析卡片关系
  • 📊 生成白板摘要
  • ⚡ 智能缓存以提高性能

快速入门

与 Claude Desktop 一起使用(推荐)

使用此 MCP 服务的最简单方法是通过npx使用 Claude Desktop:

{ "mcpServers": { "heptabase": { "command": "npx", "args": ["@heptabase/mcp"], "env": { "HEPTABASE_BACKUP_PATH": "/path/to/your/heptabase/backups", "HEPTABASE_AUTO_EXTRACT": "true", "HEPTABASE_WATCH_DIRECTORY": "true" } } } }

有关详细的设置说明,请参阅CLAUDE_DESKTOP_NPX.md

本地开发

  1. 安装依赖项:
    npm install
  2. 使用环境变量进行配置。创建一个.env文件:
    HEPTABASE_BACKUP_PATH=/path/to/your/heptabase/backups HEPTABASE_AUTO_EXTRACT=true HEPTABASE_WATCH_DIRECTORY=true
  3. 启动 MCP 服务器:
    npm start

基本用法

// Configure backup path await mcpClient.callTool({ name: "configureBackupPath", parameters: { path: "/Users/stanley/Documents/Heptabase-auto-backup" } }); // List available backups const { backups } = await mcpClient.callTool({ name: "listBackups" }); // Search for whiteboards const { whiteboards } = await mcpClient.callTool({ name: "searchWhiteboards", parameters: { query: "Project Planning" } });

可用工具

备份管理

  • configureBackupPath - 设置备份目录
  • listBackups列出可用的备份
  • loadBackup - 加载特定备份

搜索行动

  • searchWhiteboards - 搜索白板
  • searchCards - 搜索卡片

数据检索

  • getWhiteboard - 获取白板数据
  • getCard - 获取卡数据
  • getCardsByArea - 根据位置获取卡片

导出函数

  • exportWhiteboard导出为各种格式
  • summarizeWhiteboard - 生成摘要

分析工具

  • analyzeGraph - 分析关系
  • compareBackups - 比较版本

发展

项目结构

heptabase-mcp/ ├── src/ │ ├── index.ts # MCP server │ ├── config/ # Configuration │ ├── services/ # Core services │ ├── tools/ # MCP tools │ └── types/ # TypeScript types ├── tests/ # Test files ├── package.json └── tsconfig.json

测试

npm test

建筑

npm run build

文档

有关详细文档,请参阅SPECIFICATION.md

执照

麻省理工学院

贡献

欢迎贡献!提交 PR 之前,请阅读我们的贡献指南。

支持

对于问题和功能请求,请使用 GitHub 问题跟踪器。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

模型上下文协议服务允许 AI 助手从 Heptabase 备份中搜索、检索、分析和导出数据。

  1. 特征
    1. 快速入门
      1. 与 Claude Desktop 一起使用(推荐)
      2. 本地开发
      3. 基本用法
    2. 可用工具
      1. 备份管理
      2. 搜索行动
      3. 数据检索
      4. 导出函数
      5. 分析工具
    3. 发展
      1. 项目结构
      2. 测试
      3. 建筑
    4. 文档
      1. 执照
        1. 贡献
          1. 支持

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.
              Last updated -
              2
              Python
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants to search and access information stored in Kibela, supporting note search, retrieval, creation and updating.
              Last updated -
              6
              107
              9
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that provides persistent task management capabilities for AI assistants, allowing them to create, update, and track tasks beyond their usual context limitations.
              Last updated -
              1
              TypeScript
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that connects to Amadeus API, enabling AI assistants to search flights, analyze prices, find best travel deals, and plan multi-city trips.
              Last updated -
              294
              TypeScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/LarryStanley/heptabase-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server