mcpField
M
mcp-lark

mcp-lark

github.com/aahlProductivity1642.6k installsUpdated 6w ago
Repository

About mcp-lark

mcp-lark is a skill for connecting to Lark/FeiShu remote MCP services, intended for users who need to call services such as chats, mail, or cloud documents. It manages service URLs through environment variables and uses mcporter to inspect and invoke tools.

Key features

  1. 01Read configuration from workspace .env
  2. 02Manage multiple MCP service URLs
  3. 03List service tools and parameters
  4. 04Call selected tools with mcporter

Use cases

  1. 01Configure chat and mail services
  2. 02Call cloud document tools

MCP support

The skill helps configure and call Lark/FeiShu remote MCP services. It uses mcporter to inspect tools and parameters and run calls.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aahl/skills --skill mcp-lark

After installing, type/mcp-larkin Claude Code to confirm it loaded.

Bundled filesreferences/message_create.md

Details

From the project README

MCP Lark / FeiShu

Need to login to the Lark MCP Configuration Platform to add MCP services, obtain the MCP URL, and configure it into environment variables.

Environment variables

Prioritize fetching from .env under the workspace, then use system environment variables. If not configured, ask the user for input and update it to .env.

# Configure multiple MCP service URLs and usage scenarios in environment variables
LARK_MCP_SERVERS='
open.larksuite.com/mcp/stream/xxx:Chats and Mails;
open.larksuite.com/mcp/stream/yyy:Cloud documents;
'

List of available tools

npx -y mcporter list 'open.larksuite.com/mcp/stream/<token>' --all-parameters

# Get the schema of the specified tool
npx -y mcporter list 'open.larksuite.com/mcp/stream/<token>' --json | jq '.tools[] | select(.name == "<tool_name>")'

Call specified tool

npx -y mcporter call 'open.larksuite.com/mcp/stream/<token>.<tool_name>' param1:"value1" foo:"bar"

References

  • Sent message content: references/message_create.md

About mcporter

To improve compatibility, use npx -y mcporter instead of mcporter when executing commands.

Comments

Markdown supported