Skip to main content
Glama
acquo

LINE Bot MCP Server (SSE Support)

by acquo

get_rich_menu_list

Retrieve all rich menus configured for your LINE Official Account to manage interactive message interfaces.

Instructions

Get the list of rich menus associated with your LINE Official Account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic by calling the LINE Messaging API client to retrieve the rich menu list.
      async () => {
        try {
          const response = await this.client.getRichMenuList();
          return createSuccessResponse(response);
        } catch (error) {
          return createErrorResponse(
            `Failed to broadcast message: ${error.message}`,
          );
        }
      },
    );
  • The registration method that registers the tool with the MCP server.
    register(server: McpServer) {
      server.tool(
        "get_rich_menu_list",
        "Get the list of rich menus associated with your LINE Official Account.",
        {},
        async () => {
          try {
            const response = await this.client.getRichMenuList();
            return createSuccessResponse(response);
          } catch (error) {
            return createErrorResponse(
              `Failed to broadcast message: ${error.message}`,
            );
          }
        },
      );
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/acquo/line-bot-mcp-server-sse'

If you have feedback or need assistance with the MCP directory API, please join our Discord server