WA

weironz/appflowy_mcp

效率工作流

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 3 forks 质量 61 趋势 26Apache-2.0

一个用于 AppFlowy 的 MCP 服务器和 CLI

概览

一个用于 AppFlowy 的 MCP 服务器和 CLI :覆盖工作空间,空格,页面,文档内容(包括有快照/重存的collab级编辑),Markdown导入和导出,PDF/ZIP导出,数据库和行,搜索,成员和邀请,共享,评论,发布,通知,文件上传,以及AI聊天和会话记录. 分出为-同为可应用的二进制是MCP服务器(appflowy service)和完整的CLI. 安装(详情和更多平台:docs/installation.md): 连接 MCP 客户端( Codex / Claude 桌面 / Cursor, HTTP 模式, 以及故障排除) : - : MCP服务器(默认为sdio,可流式HTTP为-http)和可脚本CLI为工作空间/PATH地址. - :全工作空间 Markdown 导出,内置格式从 yjs collabs (表格、 数学、 嵌入式列表) 上以本地方式解码, 重复运行时递增; 服务器侧 PDF 导出和仅所有者的工作空间 ZIP 备份 .

概述(AI 翻译)

用于 AppFlowy 的 MCP 服务器和 CLI: 128 工具 涵盖工作空间,空间,页面,文档内容(包括有快照/备份的collab级编辑),Markdown导入和导出,PDF/ZIP导出,数据库和行,搜索,成员和邀请,共享,评论,发布,通知,文件上传,以及AI聊天和会话记录. 被分出为 ** 单静态 Rust 二进制 ** — 相同的 appflowy 二进制是 MCP 服务器 ([[T1]) 和一个完整的 CLI.

快开始

安装(详情和更多平台:docs/installation.md):

连接 MCP 客户端( Codex / Claude 桌面 / Cursor, HTTP 模式, 以及故障排除) :

或从壳取出:

□ 重点

  • 两个人格,一个二进制:MCP服务器(默认为stidio,可流式HTTP有--http)和一个可脚本CLI,有工作空间/PATH地址.
  • ** Collab-忠实导出**:全工作区Markdown导出,内置格式从yjs collabs(表,数学,嵌入式列表)中解码出,再运行时递增;服务器侧PDF导出并仅由所有者工作区ZIP备份.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

AppFlowy MCP

An MCP server and CLI for AppFlowy: 128 tools covering workspaces, spaces, pages, document content (incl. collab-level editing with snapshot/restore), Markdown import & export, PDF/ZIP export, databases & rows, search, members and invitations, sharing, comments, publishing, notifications, file upload, and AI chat & meeting transcription. Distributed as a single static Rust binary — the same appflowy binary is the MCP server (appflowy serve) and a full CLI.

Quick start

Install (details and more platforms: docs/installation.md):

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/weironz/appflowy_mcp/main/install.sh | sh

# Windows (PowerShell)
irm https://raw.githubusercontent.com/weironz/appflowy_mcp/main/install.ps1 | iex

Wire up an MCP client (docs/mcp-connect.md for Codex / Claude Desktop / Cursor, HTTP mode, and troubleshooting):

claude mcp add --scope user appflowy \
  -e [email protected] \
  -e APPFLOWY_PASSWORD=your-password \
  -- appflowy serve

Or drive it from a shell:

appflowy login
appflowy use my-workspace
appflowy export -o ./backup        # whole workspace → Markdown tree (incremental on reruns)
appflowy search "quarterly report"

Highlights

  • Two personalities, one binary: MCP server (stdio by default, Streamable HTTP with --http) and a scriptable CLI with workspace/PATH addressing.
  • Collab-faithful export: whole-workspace Markdown export with inline formatting decoded natively from yjs collabs (tables, math, nested lists), incremental on reruns; server-side PDF export and owner-only workspace ZIP backup.
  • Full-fidelity import: Markdown files & directories (images uploaded in parallel, sibling order preserved), CSV → database, doc/docx/html/pdf → pages, Notion .zip archives, all as resumable server-side tasks.
  • Writes where it matters: pages, blocks, append (order-safe), collab-level document editing — replace a block’s text, detach a block, snapshot and restore (CRDT-correct rebuild semantics) — plus database-row documents and row update/delete/restore.
  • Agent-grade errors: typed errors keep HTTP status/code end-to-end; input validation returns isError: true tool results (MCP SEP-1303) so the model can self-correct.

Documentation

Where What
docs/installation.md Installers, manual/source install, uninstall, asset matrix
docs/mcp-connect.md Client setup & troubleshooting (Codex, Claude, Cursor, HTTP)
docs/cli.md CLI reference: auth chain, addressing, every command, cron/CI
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →