MCP Server My Lark Doc
@T0UGH
About MCP Server My Lark Doc
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_server_my_lark_doc": {
"command": "uvx",
"args": [
"mcp-server-my-lark-doc"
]
}
}
}Tools
7Retrieve document content from Lark
documentUrl (string) - The URL of the Lark document
Document content in text format
Doc URLs: https://xxx.feishu.cn/docx/xxxxx
Search documents in Lark Wiki
query (string) - Search keywords
JSON string containing search results with following fields:
Overview
What is MCP Server My Lark Doc?
A Model Context Protocol server for searching and accessing Lark (Feishu) documents. It supports both Lark Doc and Wiki document types, automatically handles document type detection and ID extraction, and returns raw content in text format for LLM processing. Designed for developers who need to integrate Lark document content into AI workflows.
How to use MCP Server My Lark Doc?
Install via uvx mcp-server-my-lark-doc. Set the environment variables LARK_APP_ID and LARK_APP_SECRET (from the Lark Open Platform), and optionally OAUTH_HOST and OAUTH_PORT. Then configure the server in Claude desktop's mcpServers block as shown in the README. Once connected, use the two available tools: get_lark_doc_content (accepts a document URL) and search_wiki (accepts a query and optional page size).
Key features of MCP Server My Lark Doc
- OAuth-based user authentication with automatic token refresh
- Supports both Lark Doc and Wiki document types
- Automatic document type detection and ID extraction
- Two tools: document content retrieval and wiki search
- Comprehensive error reporting with clear troubleshooting messages
- Customizable OAuth callback server host and port
Use cases of MCP Server My Lark Doc
- Retrieving Lark document content for large language model (LLM) processing
- Searching Lark Wiki for relevant documents by keyword
- Automating document access in a Lark-integrated AI assistant
- Integrating Lark document data into Claude desktop workflows
FAQ from MCP Server My Lark Doc
What permissions does my Lark app need?
Your Lark app must have the following permissions: wiki:wiki:readonly, wiki:node:read, docx:document:readonly, and search:docs:read.
How do I set up OAuth for this server?
Create a Lark application on the Lark Open Platform, obtain your App ID and App Secret, and export them as environment variables LARK_APP_ID and LARK_APP_SECRET. The server starts an OAuth callback server on localhost:9997 by default.
What document URL formats are supported?
The get_lark_doc_content tool accepts Doc URLs (e.g., https://xxx.feishu.cn/docx/xxxxx) and Wiki URLs (e.g., https://xxx.feishu.cn/wiki/xxxxx).
What happens if authorization times out?
If the user does not complete OAuth within 5 minutes, the server returns an "Authorization timeout" error.
Can I customize the OAuth callback server?
Yes. Use the OAUTH_HOST and OAUTH_PORT environment variables to change the callback server host and port from the defaults (localhost and 9997).
More Communication MCP servers
Email sending MCP 💌
ykhliThe official MCP server to send emails and interact with Resend
WhatsApp MCP Server
lharriesWhatsApp MCP server
Discord Mcp
SaseQA MCP server for the Discord integration. Enable your AI assistants to seamlessly interact with Discord. Enhance your Discord experience with powerful automation capabilities.
Telegram MCP Server
kfastovTelegram user console client and archiver
Email sending MCP 💌
resendThe official MCP server to send emails and interact with Resend
Comments