Model Context Protocol server for Feishu integration
Model Context Protocol server for Feishu integration. That is what the feishu mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
.env 文件,填写你的飞书应用凭证: env FEISHU_APP_ID=cli_xxxxx FEISHU_APP_SECRET=xxxxx PORT=3333 FEISHU_AUTH_TYPE=tenant/user FEISHU_ENABLED_MODULES=document,task Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
The server publishes 14 tools. What each one is for:
FEISHU_APP_ID — ✅FEISHU_APP_SECRET — ✅PORT — ❌FEISHU_BASE_URL — ❌FEISHU_AUTH_BASE_URL — ❌FEISHU_PUBLIC_BASE_URL — ❌FEISHU_AUTH_TYPE — ❌FEISHU_SCOPE_VALIDATION — ❌FEISHU_ENABLED_MODULES — ❌FEISHU_USER_KEY — ❌FEISHU_REQUIRE_USER_KEY — ❌FEISHU_ENCRYPTION_KEY — ❌Configuration is passed through the environment: FEISHU_APP_ID, FEISHU_APP_SECRET, FEISHU_AUTH_TYPE, FEISHU_ENABLED_MODULES, FEISHU_USER_KEY, FEISHU_BASE_URL, FEISHU_AUTH_BASE_URL, FEISHU_PUBLIC_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Feishu's toolset — FEISHU_APP_ID, FEISHU_APP_SECRET, PORT and 11 more — is a fair guide to whether it matches your workflow. It is maintained by yonghuishen; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| FEISHU_APP_ID | ✅ |
| FEISHU_APP_SECRET | ✅ |
| PORT | ❌ |
| FEISHU_BASE_URL | ❌ |
| FEISHU_AUTH_BASE_URL | ❌ |
| FEISHU_PUBLIC_BASE_URL | ❌ |
| FEISHU_AUTH_TYPE | ❌ |
| FEISHU_SCOPE_VALIDATION | ❌ |
| FEISHU_ENABLED_MODULES | ❌ |
| FEISHU_USER_KEY | ❌ |
| FEISHU_REQUIRE_USER_KEY | ❌ |
| FEISHU_ENCRYPTION_KEY | ❌ |
| MCP_BEARER_TOKEN | ❌ |
| document | 文档、文件夹、搜索等 |
{
"mcpServers": {
"feishu-mcp": {
"command": "npx",
"args": ["-y", "feishu-mcp@latest", "--stdio"],
"env": {
"FEISHU_APP_ID": "<你的飞书应用ID>",
"FEISHU_APP_SECRET": "<你的飞书应用密钥>",
"FEISHU_AUTH_TYPE": "<tenant/user>",
"FEISHU_ENABLED_MODULES": "document,task",
"FEISHU_USER_KEY": "<你的用户标识>"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| FEISHU_APP_ID | Configuration value read at startup. | Optional |
| FEISHU_APP_SECRET | Credential the server authenticates with. | Yes |
| FEISHU_AUTH_TYPE | Configuration value read at startup. | Optional |
| FEISHU_ENABLED_MODULES | Configuration value read at startup. | Optional |
| FEISHU_USER_KEY | Credential the server authenticates with. | Yes |
| FEISHU_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| FEISHU_AUTH_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| FEISHU_PUBLIC_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.