mcp-lark

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

MCP Lark / FeiShu

MCP Lark / 飞书

Need to login to the Lark MCP Configuration Platform to add MCP services, obtain the MCP URL, and configure it into environment variables.
需要登录Lark MCP配置平台添加MCP服务,获取MCP URL,并将其配置到环境变量中。

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
.
shell
undefined
优先从工作区下的
.env
文件获取,其次使用系统环境变量。如果未配置,则询问用户输入并更新到
.env
中。
shell
undefined

Configure multiple MCP service URLs and usage scenarios in environment variables

在环境变量中配置多个MCP服务URL及使用场景

LARK_MCP_SERVERS=' open.larksuite.com/mcp/stream/xxx:Chats and Mails; open.larksuite.com/mcp/stream/yyy:Cloud documents; '
undefined
LARK_MCP_SERVERS=' open.larksuite.com/mcp/stream/xxx:聊天与邮件; open.larksuite.com/mcp/stream/yyy:云文档; '
undefined

List of available tools

可用工具列表

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

Get the schema of the specified tool

获取指定工具的schema

npx -y mcporter list 'open.larksuite.com/mcp/stream/<token>' --json | jq '.tools[] | select(.name == "<tool_name>")'
undefined
npx -y mcporter list 'open.larksuite.com/mcp/stream/<token>' --json | jq '.tools[] | select(.name == "<tool_name>")'
undefined

Call specified tool

调用指定工具

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

References

参考资料

  • Sent message content: references/message_create.md
  • 消息发送内容: references/message_create.md

About
mcporter

关于
mcporter

To improve compatibility, use
npx -y mcporter
instead of
mcporter
when executing commands.
为提升兼容性,执行命令时请使用
npx -y mcporter
而非
mcporter