lark-wiki-migration
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lark-wiki-migrationMigrate https://my.feishu.cn/wiki/SOURCE to https://my.feishu.cn/wiki/TARGET"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
English | 中文
Lark Wiki Migration
A cross-AI-product migration tool for Feishu (Lark) wiki spaces. Give it a source wiki link and a target wiki link, and it migrates all docx documents from the source space to the target, preserving the tree structure.
Available through:
CLI:
lark-wiki-migrate <source> <target>Claude Code skill: triggered by natural language
MCP Server: any MCP-compatible AI product (Codex, Workbuddy, etc.)
Prerequisites
Install lark-cli and log in:
lark-cli auth loginThe logged-in account must have both:
Read permission on the source wiki space
Create document permission on the target wiki space
Related MCP server: lark-mcp
Installation
git clone https://github.com/LiChunyu77/lark-wiki-migration.git
cd lark-wiki-migration
./install.shinstall.sh will:
Symlink the
lark-wiki-migratecommand into~/.local/binAutomatically install the Claude Code skill if
~/.claude/skillsis detected
After installation, make sure ~/.local/bin is in your PATH:
export PATH="$HOME/.local/bin:$PATH"CLI Usage
# Migrate
lark-wiki-migrate "https://my.feishu.cn/wiki/SOURCE" "https://my.feishu.cn/wiki/TARGET"
# Preview only, create nothing
lark-wiki-migrate "https://my.feishu.cn/wiki/SOURCE" "https://my.feishu.cn/wiki/TARGET" --dry-run
# Skip confirmation
lark-wiki-migrate "https://my.feishu.cn/wiki/SOURCE" "https://my.feishu.cn/wiki/TARGET" --yesClaude Code Usage
Restart Claude Code after installation, then say:
Migrate https://my.feishu.cn/wiki/SOURCE to https://my.feishu.cn/wiki/TARGET
Claude will automatically invoke lark-wiki-migrate and return the result.
MCP Server Usage
Works with any MCP-compatible AI client.
Configure the MCP server:
{ "mcpServers": { "lark-wiki-migration": { "command": "python3", "args": ["/absolute/path/to/mcp_server.py"] } } }The client will expose a
migrate_feishu_wikitool that accepts:source: source wiki URL or tokentarget: target wiki URL or tokendry_run: optional, scan only without creating anything
How It Works
lark-cli docs +fetchreads the source document XMLlark-cli docs +create --doc-format xmlcreates native docx documents under the target wikiRecursively walks the source wiki tree, preserving the hierarchy
Output
Each migration creates a dedicated working directory under ~/lark-wiki-migrations/ by default:
~/lark-wiki-migrations/
└── wiki-migration-<slug>-<timestamp>/
├── manifest.json
├── source_tree.json
└── migration_state.jsonsource_tree.json: source wiki structuremigration_state.json: resumable migration statemanifest.json: metadata for this migration run
Environment Variables
export LARK_WIKI_MIGRATION_DIR=~/my-migrations # Custom working directory base pathNotes
Only docx documents are migrated; embedded spreadsheets, bitables, whiteboards, and similar objects are not fully migrated
Images and attachments are usually preserved, but access-restricted resources may fail
The tool only uses the local
lark-clilogin session; it does not collect, upload, or store any credentialsThe tool operates through official APIs and can only access content your account already has permission to access — it does not bypass any permission restrictions
Compared with manually copying/exporting documents one by one, this tool supports batch migration, preserves the wiki hierarchy, and can resume interrupted migrations
Make sure you have legitimate access to both the source and target wiki spaces
Use of this tool must comply with the Feishu Open Platform terms of service and your organization's IP policies
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA zero-configuration MCP server enabling AI assistants to interact with Feishu (Lark) workspace through OAuth authentication, supporting document operations, content creation, and advanced file management.80MIT
- Alicense-qualityBmaintenanceMCP server for Feishu/Lark API integration, enabling AI agents to send messages, manage groups, create and edit documents and spreadsheets, and search knowledge bases.MIT
- Alicense-qualityDmaintenanceOfficial MCP server for Feishu/Lark OpenAPI, enabling AI assistants to interact with Feishu/Lark platform for document processing, messaging, calendar scheduling, and more.8,292MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LiChunyu77/lark-wiki-migration'
If you have feedback or need assistance with the MCP directory API, please join our Discord server