drio
Open app

repo-template

Source

A Python server implementation for Feishu (Lark) bot that follows the Model Context Protocol (MCP). This server provides a standardized interface for handling automated messaging and context-aware interactions within enterprise Feishu environments.

Catalog onlyCatalog onlySTDIO

Overview

Feishu Bot MCP Server is a Python server implementation designed for the Feishu (Lark) bot, adhering to the Model Context Protocol (MCP). It provides a standardized interface for automated messaging and context-aware interactions in enterprise Feishu environments.

To use the Feishu Bot MCP Server, clone the repository from GitHub, set up your Python environment, and configure the server with your Feishu bot credentials. You can then deploy the server to handle messaging and interactions.

  • Standardized interface for bot interactions - Support for automated messaging - Context-aware interaction handling
  1. Automating responses in enterprise communication.
  2. Enhancing user interactions with context-aware messaging.
  3. Integrating with other enterprise tools for seamless communication.

Add to your AI client

Use these steps to connect repo-template in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "feishu-bot-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-feishu-bot-mcp-server-loonghao"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "feishu-bot-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-feishu-bot-mcp-server-loonghao"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "feishu-bot-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-feishu-bot-mcp-server-loonghao"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "feishu-bot-mcp-server-loonghao": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-feishu-bot-mcp-server-loonghao"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "feishu-bot-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-feishu-bot-mcp-server-loonghao"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "feishu-bot-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-feishu-bot-mcp-server-loonghao"
      ]
    }
  }
}

FAQ

What programming language is used?

The server is implemented in Python.

Is this server suitable for production use?

Yes, it is designed for enterprise environments and can be deployed in production.

Where can I find the documentation?

Documentation can be found in the GitHub repository.