飞书多维表格 MCP Server —— 让 Claude Code / Cursor 安全读写企业业务台账
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add basepilot --env BASEPILOT_APP_ID='<BASEPILOT_APP_ID>' --env BASEPILOT_APP_SECRET='<BASEPILOT_APP_SECRET>' -- uvx basepilot~/.codex/config.toml
[mcp_servers.basepilot]
command = "uvx"
args = ["basepilot"]
env = { BASEPILOT_APP_ID = "<BASEPILOT_APP_ID>", BASEPILOT_APP_SECRET = "<BASEPILOT_APP_SECRET>" }
# codex mcp add basepilot --env BASEPILOT_APP_ID='<BASEPILOT_APP_ID>' --env BASEPILOT_APP_SECRET='<BASEPILOT_APP_SECRET>' -- uvx basepilot~/.cursor/mcp.json
{
"mcpServers": {
"basepilot": {
"command": "uvx",
"args": [
"basepilot"
],
"env": {
"BASEPILOT_APP_ID": "<BASEPILOT_APP_ID>",
"BASEPILOT_APP_SECRET": "<BASEPILOT_APP_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"basepilot": {
"type": "stdio",
"command": "uvx",
"args": [
"basepilot"
],
"env": {
"BASEPILOT_APP_ID": "<BASEPILOT_APP_ID>",
"BASEPILOT_APP_SECRET": "<BASEPILOT_APP_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"basepilot": {
"command": "uvx",
"args": [
"basepilot"
],
"env": {
"BASEPILOT_APP_ID": "<BASEPILOT_APP_ID>",
"BASEPILOT_APP_SECRET": "<BASEPILOT_APP_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"basepilot": {
"command": "uvx",
"args": [
"basepilot"
],
"env": {
"BASEPILOT_APP_ID": "<BASEPILOT_APP_ID>",
"BASEPILOT_APP_SECRET": "<BASEPILOT_APP_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"basepilot": {
"command": "uvx",
"args": [
"basepilot"
],
"env": {
"BASEPILOT_APP_ID": "<BASEPILOT_APP_ID>",
"BASEPILOT_APP_SECRET": "<BASEPILOT_APP_SECRET>"
}
}
}
}需要的环境变量
BASEPILOT_APP_IDBASEPILOT_APP_SECRET
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。