Requires Node 18+ on your system so npx can fetch the package on first run. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register @hibson/mcp-feishu-doc.
.vscode/mcp.json (project root — committed with the repo)~/.vscode/mcp.json{
"servers": {
"mcp-feishu-doc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hibson/mcp-feishu-doc@latest"
],
"env": {
"FEISHU_DEFAULT_APP_ID": "cli_your_app_id",
"FEISHU_DEFAULT_APP_SECRET": "your_app_secret",
"FEISHU_OAUTH_CALLBACK_URL": "http://localhost:3010/oauth/feishu/callback",
"MCP_TRANSPORT_TYPE": "stdio",
"LOGS_DIR": "~/.mcp-feishu-doc/logs",
"STORAGE_PROVIDER_TYPE": "filesystem",
"STORAGE_FILESYSTEM_PATH": "~/.mcp-feishu-doc/storage"
}
}
}
}