360 Secure SkillHub
360 安全技能中心

OpenClaw FEISHU MCP

该 Skill 通过在 OpenClaw 配置中启用飞书 MCP 插件调用飞书云文档服务,支持读取与替换文档内容、新建文档、读写文档内表格以及追加 Markdown;使用 appID 与 appSecret 自动鉴权,文档 token 可从文档链接提取。

cry779
cry779
热度 41.55
最近更新 2026-05-18 11:35:11
分类:知识依赖:MCP 服务 / 第三方 API应用场景:笔记整理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-feishu-mcp
Metadata
name
feishu-mcp
description
Use when user asks about Feishu MCP (Model Context Protocol) integration for AI agents. Provides cloud document operations with native MCP tool schema. Use for Feishu MCP integration.

Feishu MCP Integration

This skill integrates OpenClaw with Feishu's MCP (Model Context Protocol) service.

Configuration

Add to ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "feishu-mcp": {
        "enabled": true,
        "config": {
          "mcpUrl": "https://feishu-openai-mcp-proxy.bytedance.net/mcp",
          "appID": "cli_a926728f3e38dcba",
          "appSecret": "BiL8CymBwxiA998MXxvUKbN23RhPsxAg"
        }
      }
    }
  }
}

Supported Tools

1. Read Document

Read a Feishu cloud document by token.

{
  "action": "read",
  "docToken": "docx_xxx"
}

Returns: title, text content, block types.

2. Write Document

Replace document content.

{
  "action": "write",
  "docToken": "docx_xxx",
  "content": "# Title\n\nMarkdown content..."
}

3. Create Document

Create a new document.

{
  "action": "create",
  "title": "New Document",
  "folderToken": "fldcn_xxx"
}

4. Read Table

Read a table from a document.

{
  "action": "readTable",
  "docToken": "docx_xxx",
  "tableBlockId": "doxcn_xxx"
}

Returns: 2D array of cell values.

5. Write Table

Write values to a table.

{
  "action": "writeTable",
  "docToken": "docx_xxx",
  "tableBlockId": "doxcn_xxx",
  "values": [
    ["A1", "B1"],
    ["A2", "B2"]
  ]
}

6. Append Content

Append markdown to document.

{
  "action": "append",
  "docToken": "docx_xxx",
  "content": "Additional content"
}

Usage in OpenClaw

Once configured, AI can automatically use Feishu MCP tools:

- Read document "XXX.docx" and extract tables
- Create a new document "Meeting Notes"
- Write data to an existing table
- Update specific section of document

Notes

  • MCP tools use native Feishu OpenAPI
  • Auto-authentication via appID/appSecret
  • Document token extracted from URL: https://xxx.feishu.cn/docx/ABC123def

Dependencies

  • Feishu OpenClaw plugin (channel: feishu)
  • Feishu app with docx permissions enabled