Token导航 LogoToken导航TokenDH.com
codex feishu MCP local logo
开发工具未说明官方级别未说明来源级核验

codex feishu MCP local

MCP Server

一个连接飞书机器人和Codex的工具,支持文本和图像消息的多模态输入处理。

工具数

0

提示词数

0

GitHub Stars

1

资源数

0
TypeScript开发工具命令行工具

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

CodeOnTree

提供方

CodeOnTree

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

codex_feishu_mcp_local

Feishu bot + MCP + Codex bridge workspace.

Current Capabilities

  • Direct plain text messages can go through Codex bridge without requiring a /codex prefix.
  • Image messages can be downloaded from Feishu message resources and forwarded to the bridge as multimodal input.
  • /codex is still supported for explicit bridge usage, along with /codex-reset, /codex-model, and /codex-dir.
  • /clear clears both regular chat memory and bridge session state.

Layout

  • SKILL.md: skill instructions for Codex
  • agents/openai.yaml: skill UI metadata
  • scripts/: operational PowerShell and shell scripts
  • workspace/feishu_mcp_bot: Node.js Feishu bot project
  • workspace/feishu_mcp_gui: Windows GUI controller for the bot
  • workspace/output/lark-mcp-local-runtime: local MCP runtime package files
  • references/: supporting docs copied from the working setup

Platform Support

  • workspace/feishu_mcp_bot: intended to work on Windows and macOS/Linux
  • scripts/*.ps1: Windows-first operational scripts
  • scripts/*.sh: macOS/Linux operational scripts
  • workspace/feishu_mcp_gui: Windows-only GUI based on github.com/lxn/walk

Quick Start

  1. Copy workspace/feishu_mcp_bot/.env.example to workspace/feishu_mcp_bot/.env
  2. Fill in your own Feishu and OpenAI credentials
  3. Install dependencies in workspace/feishu_mcp_bot
  4. Start the bot:
powershell -ExecutionPolicy Bypass -File ".\scripts\start-feishu-bot.ps1" -Restart

Or on macOS/Linux:

bash ./scripts/start-feishu-bot.sh --restart
  1. Monitor health:
powershell -ExecutionPolicy Bypass -File ".\scripts\monitor-feishu-bot.ps1" -RunMcpHelpCheck

Or on macOS/Linux:

bash ./scripts/monitor-feishu-bot.sh --run-mcp-help-check
  1. Build the GUI:
powershell -ExecutionPolicy Bypass -File ".\workspace\feishu_mcp_gui\build-feishu-gui.ps1"

The GUI is Windows-only. On macOS/Linux, use the shell scripts and the bot logs directly.

Feishu Bot Setup Guide

Use this sequence when configuring the bot in Feishu Open Platform:

  1. Create a self-built application in Feishu Open Platform.
  2. Enable the bot capability.
  3. Configure the permissions required by this repository.
  4. Set the OAuth redirect URL to http://localhost:3000/callback.
  5. Choose the event subscription mode:

- Feishu CN: prefer persistent connection - Lark global or public callback scenarios: use webhook

  1. Subscribe at least to im.message.receive_v1.
  2. Start the local bot before testing subscriptions.
  3. Add the bot to a chat and send a message to verify the event path.

If you want image understanding:

  • make sure your Feishu app has the permissions needed to read message resources
  • make sure the model behind CODEX_BRIDGE_MODEL / CODEX_BRIDGE_BASE_URL supports image input

For webhook mode, configure the callback URL as:

http:///webhook/event

If you only need a quick minimum checklist, verify these four items first:

  • bot capability is enabled
  • required scopes are approved
  • redirect URL is correct
  • im.message.receive_v1 is subscribed

Pairing And Active Send

Approve a pending pairing:

powershell -ExecutionPolicy Bypass -File ".\scripts\approve-feishu-pairing.ps1" -Code YOUR_CODE -Remark 我

On macOS/Linux:

bash ./scripts/approve-feishu-pairing.sh --code YOUR_CODE --remark 我

Send a message to a bound recipient:

powershell -ExecutionPolicy Bypass -File ".\scripts\send-feishu-message.ps1" -Target 我 -Text "你好。"

On macOS/Linux:

bash ./scripts/send-feishu-message.sh --target 我 --text "你好。"

Notes

  • workspace/feishu_mcp_bot/.env.example still keeps CODEX_WORKDIR and CODEX_WORKDIR_ROOTS as examples pointing to your own business workspace. Replace them with your own paths.
  • The GUI and operational scripts are adjusted to use repository-relative defaults instead of machine-specific skill paths.
  • The shell scripts assume bash, curl, node, ps, grep, lsof, and nohup are available in PATH.
  • The shell scripts were added for macOS/Linux support, but were not end-to-end run against a live macOS environment in this Windows workspace.

目录标签

目录标签

TypeScript开发工具命令行工具飞书机器人本地部署Codex桥接多模态输入消息处理工作区工具

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

oauth

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明oauth部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP