Requires Node 18+ on your system so npx can fetch the package on first run. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register @hibson/mcp-feishu-doc.
Run the command below in your terminal — Claude Code persists it for you.claude mcp add mcp-feishu-doc --env FEISHU_DEFAULT_APP_ID=cli_your_app_id --env FEISHU_DEFAULT_APP_SECRET=your_app_secret --env FEISHU_OAUTH_CALLBACK_URL=http://localhost:3010/oauth/feishu/callback --env MCP_TRANSPORT_TYPE=stdio --env LOGS_DIR=~/.mcp-feishu-doc/logs --env STORAGE_PROVIDER_TYPE=filesystem --env STORAGE_FILESYSTEM_PATH=~/.mcp-feishu-doc/storage -- npx -y @hibson/mcp-feishu-doc@latest