Lark MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
npm install
node index.mjs
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "LARK_APP_ID=${LARK_APP_ID}" -e "LARK_APP_SECRET=${LARK_APP_SECRET}" lark-mcp -- node "<FULL_PATH_TO_LARK_MCP>/dist/index.js"

Replace <FULL_PATH_TO_LARK_MCP>/dist/index.js with the actual folder you prepared in step 1.

Required:LARK_APP_IDLARK_APP_SECRET+ 3 optional
README.md

Search wiki pages and read/write Feishu documents via AI assistants

lark-mcp

A Model Context Protocol (MCP) server for Feishu/Lark. Lets AI assistants (Cursor, Claude Desktop, etc.) search wiki pages and read/write Feishu documents on your behalf via OAuth.

Features

  • search_wiki — Search documents in Feishu Wiki by keywords
  • get_doc_content — Read a Feishu document or wiki page by URL
  • create_doc — Create a new Feishu document (with optional Markdown content)
  • update_doc — Replace or append content in an existing Feishu document (Markdown → Feishu blocks)

Requirements

  • Node.js >= 18.14.1
  • A Feishu open-platform app with the following permissions:
    • docx:document, docx:document:readonly
    • wiki:wiki:readonly
    • search:docs:read

Setup

  1. Install dependencies:

    npm install
    
  2. Copy the example environment file and fill in your credentials:

    cp .env.example .env
    
  3. Start the MCP server:

    node index.mjs
    

Environment Variables

Variable Required Description
LARK_APP_ID Yes Feishu app ID
LARK_APP_SECRET Yes Feishu app secret
FEISHU_DOMAIN No Your Feishu tenant domain (default: feishu.cn)
OAUTH_PORT No Local port for OAuth callback (default: 9997)
LARK_OAUTH_SCOPE No OAuth scopes (default: docx:document docx:document:readonly wiki:wiki:readonly search:docs:read)

Cursor / Claude Desktop Integration

Add the following to your MCP config (e.g. ~/.cursor/mcp.json):

{
  "mcpServers": {
    "lark": {
      "command": "node",
      "args": ["/path/to/lark-mcp/index.mjs"],
      "env": {
        "LARK_APP_ID": "your_app_id",
        "LARK_APP_SECRET": "your_app_secret",
        "FEISHU_DOMAIN": "your-tenant.feishu.cn"
      }
    }
  }
}

License

MIT

Tools (4)

search_wikiSearch documents in Feishu Wiki by keywords
get_doc_contentRead a Feishu document or wiki page by URL
create_docCreate a new Feishu document with optional Markdown content
update_docReplace or append content in an existing Feishu document

Environment Variables

LARK_APP_IDrequiredFeishu app ID
LARK_APP_SECRETrequiredFeishu app secret
FEISHU_DOMAINYour Feishu tenant domain
OAUTH_PORTLocal port for OAuth callback
LARK_OAUTH_SCOPEOAuth scopes

Configuration

claude_desktop_config.json
{"mcpServers": {"lark": {"command": "node", "args": ["/path/to/lark-mcp/index.mjs"], "env": {"LARK_APP_ID": "your_app_id", "LARK_APP_SECRET": "your_app_secret", "FEISHU_DOMAIN": "your-tenant.feishu.cn"}}}}

Try it

Search the wiki for documents related to our Q4 project roadmap.
Read the content of the Feishu document at this URL and summarize the key action items.
Create a new Feishu document titled 'Meeting Notes' with the following content: [insert markdown].
Append the latest project updates to the existing Feishu document at this URL.

Frequently Asked Questions

What are the key features of Lark MCP?

Search Feishu Wiki pages using keywords. Retrieve full content from Feishu documents or wiki pages via URL. Create new Feishu documents using Markdown. Update existing Feishu documents by replacing or appending content.

What can I use Lark MCP for?

Automating the retrieval of internal documentation for AI-assisted coding tasks. Generating meeting summaries and saving them directly to Feishu Docs. Updating project status reports in Feishu without leaving the AI chat interface. Searching across company wiki pages to find relevant technical specifications.

How do I install Lark MCP?

Install Lark MCP by running: npm install && node index.mjs

What MCP clients work with Lark MCP?

Lark MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Lark MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare