jiang-feishu-mcp

jiang-feishu-mcp

10

Feishu Document MCP is a Model Context Protocol service designed to facilitate direct access to Feishu document spaces through AI clients. It supports listing document spaces and works seamlessly with AI applications like Cursor.

Feishu Document MCP

A Model Context Protocol (MCP) service for connecting Feishu documents, allowing direct access to Feishu document spaces and lists in AI clients like Cursor.

Features

  • Supports retrieving all Feishu cloud document spaces
  • Supports retrieving document lists in specified spaces
  • Seamlessly connects with AI clients via MCP protocol

What is MCP

MCP (Model Context Protocol) is a protocol that seamlessly connects custom services with various LLM clients (like Claude, Cursor), enabling AI to directly call and use our service features.

Installation and Running

  1. Clone the project repository and navigate to the directory.
  2. Install dependencies using pnpm.
  3. Start the service; the server will run on port 7777 by default.

Configuration

Before use, create a .env file to configure Feishu application credentials. Optional settings include port and document save path.

Usage in Cursor

  1. Start the server.
  2. Open Cursor settings and find 'Model Context Protocol'.
  3. Add a new MCP Server with URL http://localhost:7777/mcp.

Example Use

In Cursor, request to list all Feishu document spaces or documents within a specific space.