Workflowy

io.github.jbeshir由 GitHub 账号 jbeshir 发布v1.0.2更新于 Oct 29, 2026

Search, read, create, and organize Workflowy nodes with breadcrumb context.

已验证STDIO仅桌面效率与工作流知识与记忆

概览

AI 生成的概览

本地 MCP 服务器,让助手对 Workflowy 大纲拥有完整读写权限:搜索、读取、创建、移动、完成和删除节点。

可以做什么
  • 按关键词或完成日期范围搜索节点,并附带显示节点所在层级的面包屑路径
  • 读取单个节点的完整详情,并按优先级列出其子节点
  • 创建和更新节点,包括节点属性与显示样式
  • 把节点移动到其他父节点下,以及标记完成或取消完成
  • 删除节点
  • 列出系统位置(home、inbox)和用户快捷方式,用作父节点
适用场景
适合把任务、笔记或项目大纲放在 Workflowy 中的人:希望助手在聊天客户端里直接查找条目、新增条目、调整层级结构或勾选完成。
运行要求
以本地进程通过 stdio 运行(可用 Go 安装、Docker 或打包好的安装包)。需要 Workflowy API 令牌,通过环境变量 WORKFLOWY_API_TOKEN 提供;可选环境变量 WORKFLOWY_API_URL 可指向自定义 API 地址。需要能访问 Workflowy API 的网络。
安装前请注意
该服务器拥有完整写入权限:助手可以创建、更新、移动、完成和删除节点,删除后可能无法恢复。它持有可访问整个账户的 Workflowy API 令牌,请勿放入共享配置。读取时会拉取全部节点的导出数据,并在本地缓存至少 60 秒。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Workflowy,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

workflowy-mcp

An MCP server that provides full read/write access to Workflowy. Search, create, organize, move, and complete nodes from any MCP-compatible client such as Claude Desktop or Claude Code. The server communicates over stdio and caches Workflowy's export endpoint to stay within API rate limits.

Getting Started

Requirements

Configuration

VariableRequiredDescription
WORKFLOWY_API_TOKENYesYour Workflowy API token
WORKFLOWY_API_URLNoCustom API URL (default: https://workflowy.com)

Install from source

Requires Go 1.27.3+.

go install github.com/jbeshir/mcp-servers/workflowy/cmd/workflowy-mcp@latest

Docker

docker build -t workflowy-mcp ./workflowydocker run -e WORKFLOWY_API_TOKEN=<your-token> workflowy-mcp

Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

json
{  "mcpServers": {    "workflowy": {      "command": "/path/to/workflowy-mcp",      "env": { "WORKFLOWY_API_TOKEN": "<your-token>" }    }  }}

Claude Code

claude mcp add workflowy -- env WORKFLOWY_API_TOKEN=<your-token> /path/to/workflowy-mcp

Tools

ToolDescription
search_nodesSearch nodes by keyword and/or completion date range (completed_after/completed_before, unix seconds) across name and note fields
get_nodeGet full details of a node by ID
list_childrenList child nodes of a parent, sorted by priority
create_nodeCreate a new node
update_nodeUpdate an existing node's properties
delete_nodeDelete a node
move_nodeMove a node to a different parent
complete_nodeMark a node as completed
uncomplete_nodeMark a node as not completed
list_targetsList system locations (home/inbox) and user shortcuts

Key Concepts

  • Nodes — The basic unit in Workflowy. Every bullet, heading, todo, and code block is a node. Nodes form a tree: each node can have children, and every node except the root has a parent.
  • Targets — Named system locations (home, inbox) and user-defined shortcuts. You can use target keys anywhere a parent ID is accepted, so you can create nodes in your inbox without knowing its UUID.
  • Layout modes — Each node has a display mode: bullets (default), todo, h1, h2, h3, code-block, or quote-block.
  • Breadcrumb paths — Search results include the full chain of ancestor names (e.g. Projects > Backend > Auth), giving context for where a node sits in the hierarchy.
  • Hierarchical completion — Completing a parent node implicitly completes all its children. The server understands this when filtering search results, so a child under a completed parent is treated as completed even if it has no completion timestamp of its own.

Architecture Overview

mermaid
graph LR    Client["MCP Client"]    Server["MCP Server<br/>10 tools"]    Cache["Export Cache<br/>TTL 60s+"]    HTTP["HTTP Client<br/>Bearer token auth"]    API["Workflowy REST API"]
    Client -->|"JSON-RPC over stdio"| Server    Server -->|"reads"| Cache    Server -->|"writes"| HTTP    Cache -->|"cache miss"| HTTP    HTTP -->|"HTTPS"| API

The server has three internal layers:

  • MCP Server (internal/server/) — Registers 10 tools, parses arguments, formats JSON responses with breadcrumb paths.
  • Export Cache (internal/cache/) — TTL-based cache of the full node export. Uses double-checked locking (RWMutex) to coalesce concurrent fetches. Minimum TTL is 60 seconds to respect Workflowy's rate limit on the export endpoint.
  • HTTP Client (internal/client/) — Thin REST client. All requests use Bearer token authentication. Read operations go through the cache; write operations call the API directly and then invalidate the cache.

Data Flow

Read path (search, get, list)

mermaid
sequenceDiagram    participant C as MCP Client    participant S as MCP Server    participant Ca as Export Cache    participant H as HTTP Client    participant A as Workflowy API
    C->>S: search_nodes(query)    S->>Ca: GetAllNodes()    alt Cache hit (within TTL)        Ca-->>S: Cached nodes    else Cache miss or expired        Ca->>H: ExportNodes()        H->>A: GET /api/v1/nodes-export        A-->>H: All nodes (JSON)        H-->>Ca: []Node        Ca-->>S: Fresh nodes    end    S-->>C: Matching nodes with breadcrumb paths

Write path (create, update, delete, move, complete)

mermaid
sequenceDiagram    participant C as MCP Client    participant S as MCP Server    participant Ca as Export Cache    participant H as HTTP Client    participant A as Workflowy API
    C->>S: create_node(name, parentId)    S->>H: CreateNode(request)    H->>A: POST /api/v1/nodes    A-->>H: Created node ID    H-->>S: CreateNodeResponse    S->>Ca: Invalidate()    S-->>C: "Created node with ID: ..."

Write operations bypass the cache entirely, call the Workflowy API directly, and then invalidate the cache so the next read fetches fresh data.

来源:workflowy/README.md,提交 27dc1b2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.0.2最新Oct 29, 2026
  2. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分