Feishu MCP Agent Skill
This skill allows you to connect to the Feishu Model Context Protocol (MCP) service to interact with Feishu tools. It acts as a bridge, forwarding your requests to the Feishu MCP server via Server-Sent Events (SSE).
Tools
feishu_mcp
Connect to a Feishu MCP server to list available tools or execute a specific tool.
Parameters:
url(string, required): The full URL to the Feishu MCP SSE endpoint (e.g.,https://open.feishu.cn/mcp/sse/...).action(string, required): The operation to perform."list": Query the MCP server for a list of available tools."call": Execute a specific tool on the MCP server.
toolName(string, optional): The name of the tool to execute. Required whenactionis"call".toolParams(object, optional): A JSON object containing arguments for the tool. Required if the tool expects arguments.
Return Value:
- For
action: "list": Returns a JSON object containing the list of tools. - For
action: "call": Returns the JSON result of the tool execution.
Usage Examples
1. List Available Tools
Check what capabilities the Feishu MCP server offers.
feishu_mcp({
url: "https://open.feishu.cn/mcp/sse/your-endpoint-id",
action: "list"
})
2. Call a Tool (e.g., Read a Document)
Once you know the tool name (e.g., read_document) and its required parameters (e.g., doc_token), you can call it.
feishu_mcp({
url: "https://open.feishu.cn/mcp/sse/your-endpoint-id",
action: "call",
toolName: "read_document", // Replace with actual tool name from list
toolParams: {
doc_token: "bascnCX..." // Replace with actual parameters
}
})
Setup
To use this skill, you need a valid Feishu MCP SSE URL. This is typically obtained when configuring an MCP server integration within Feishu.