lark-mcp-connector
Implements the Model Context Protocol (MCP) service specifically for Lark (Feishu) applications, facilitating AI model interaction with the Lark API suite, predominantly for manipulating multidimensional table data. Capabilities include record creation, modification, retrieval, removal, and the provisioning of new Lark applications and data tables.
Author

DarkNoah
Quick Info
Actions
Tags
Lark/Feishu MCP Interface Implementation
This repository furnishes an implementation designed to serve Model Context Protocol (MCP) capabilities for applications built within the Lark (Feishu) ecosystem. It empowers large language models (LLMs) to invoke the Lark API via tool calls, concentrating primarily on operations concerning Bitable (multidimensional tables).
Core Capabilities
- Leverages the Model Context Protocol (MCP) TypeScript SDK.
- Delivers specialized instrumentation for Lark Bitable management.
- Supports communication via HTTP and Server-Sent Events (SSE).
Available Instrumentation Functions
create_record
Instantiates a new entry within a specified Lark Bitable.
update_record
Modifies the contents of an existing record within a Lark Bitable.
list_fiedls
Retrieves the complete schema (field definitions) for a given Bitable.
search_records
Executes a query against a Bitable to locate records matching specific criteria.
delete_record
Purges a singular record from a Lark Bitable.
create_bitable_app
Provision a completely new Lark Bitable application container.
create_table
Establishes a fresh data sheet (table) within an existing Lark Bitable application.
Deployment Guide
sh
Dependency installation
npm install
Compilation process
npm run build
Development execution
npm run dev
Execute MCP via standard I/O
node dist/index.js --config '{"appId":"xxx","appSecret":"xxx"}'
Execute MCP via SSE stream
node dist/index.js --sse --config '{"appId":"xxx","appSecret":"xxx"}'
Lark API Reference Documentation
- Bitable API Documentation Overview
- Record Creation Endpoint
- Record Retrieval Endpoint
- Record Search Endpoint
- Record Deletion Endpoint
- Bitable Application Creation Endpoint
- Table Creation Endpoint within App
- Field Schema Listing Endpoint
Licensing
This project is distributed under the MIT License.
