makecindy / makecindy/cindy

功能请求:支持飞书 CLI 或文档操作 MCP 工具

Open
#1,675 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
2.7k
Forks
401
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 板栗
**客户端版本**: 0.1.28

---

## 使用场景

在使用 Cindy 处理飞书文档相关任务时,需要:
- 批量生成脚本文档(如本次需要创建包含9条邪修脚本的文档)
- 自动化内容管理工作流
- 跨文档内容同步和更新

## 诉求

目前无法通过命令行直接创建和编辑飞书文档:

1. 系统中没有 `feishu` / `lark` / `feishu-cli` 等命令行工具
2. 现有的 `mcp__cindy_feishu_bot` 只支持发送消息和文件,不支持文档操作
3. 只能通过浏览器自动化操作飞书 Web UI,但这种方式不稳定(依赖页面结构、API 端点经常404、需要复杂的 DOM 操作)

当前只能通过 `send_file_to_user` 发送 Markdown 文件,用户手动在飞书新建文档并粘贴,效率较低。

## 建议方案

### 方案1:内置飞书 CLI 工具
- 集成官方飞书 CLI 或类似工具
- 支持通过命令行创建文档:`feishu doc create --title "标题" --content-file path.md`
- 支持编辑已有文档:`feishu doc update TOKEN --content-file path.md`

### 方案2:飞书文档 MCP Server
- 提供 `mcp__cindy_feishu_docx` 或类似 server
- 支持的操作:
- `create_doc(title, content)` - 创建新文档
- `update_doc(token, content)` - 更新已有文档
- `append_to_doc(token, content)` - 追加内容
- `read_doc(token)` - 读取文档内容
---
**版本区域**: CN
**OS**: darwin arm64 (24.2.0)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the existing mcp__cindy_feishu_bot implementation, since the issue identifies it as the current Feishu integration. Then determine whether the project has an established CLI or MCP server entry point; no file or test is named in the report. Done would require an agreed scope and working document creation, reading, updating, and appending operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.