让 AI 模型调用飞书 API,读取飞书文档并通过机器人收发消息。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sdd330 --env FEISHU_APP_ID='<FEISHU_APP_ID>' --env FEISHU_APP_SECRET='<FEISHU_APP_SECRET>' -- node dist/index.js~/.codex/config.toml
[mcp_servers.sdd330]
command = "node"
args = ["dist/index.js"]
env = { FEISHU_APP_ID = "<FEISHU_APP_ID>", FEISHU_APP_SECRET = "<FEISHU_APP_SECRET>" }
# codex mcp add sdd330 --env FEISHU_APP_ID='<FEISHU_APP_ID>' --env FEISHU_APP_SECRET='<FEISHU_APP_SECRET>' -- node dist/index.js~/.cursor/mcp.json
{
"mcpServers": {
"sdd330": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"FEISHU_APP_ID": "<FEISHU_APP_ID>",
"FEISHU_APP_SECRET": "<FEISHU_APP_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"sdd330": {
"type": "stdio",
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"FEISHU_APP_ID": "<FEISHU_APP_ID>",
"FEISHU_APP_SECRET": "<FEISHU_APP_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sdd330": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"FEISHU_APP_ID": "<FEISHU_APP_ID>",
"FEISHU_APP_SECRET": "<FEISHU_APP_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sdd330": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"FEISHU_APP_ID": "<FEISHU_APP_ID>",
"FEISHU_APP_SECRET": "<FEISHU_APP_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"sdd330": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"FEISHU_APP_ID": "<FEISHU_APP_ID>",
"FEISHU_APP_SECRET": "<FEISHU_APP_SECRET>"
}
}
}
}Environment variables
FEISHU_APP_IDFEISHU_APP_SECRET
Replace the placeholders with your own credentials and keep them out of version control.