目录 / Line-bot
Line-bot
MCP server for LINE Messaging API — send messages, manage groups, rich menus, webhooks, and more. ## Features - Push, reply, multicast, and broadcast messages - User profiles, follower lists, and bot info - Group chat management (summary, members, profiles) - Rich menu CRUD, default setting, and per-user linking - Message quota monitoring and follower insights - Webhook URL configuration and connectivity testing ## 25 Tools **Messages**: push, reply, multicast, broadcast, validate **User & Bot**: get profile, get follower IDs, get bot info, display loading **Group Chat**: get summary, get members count, get member IDs, get member profile **Rich Menu**: create, list, get, delete, set default, link to user **Quota & Insights**: get quota, get consumption, get followers count **Webhook**: set URL, get info, test endpoint ## Configuration - LINE_CHANNEL_ACCESS_TOKEN — Channel Access Token from LINE Developers Console (Messaging API channel settings)
接入信息
- 传输形态
- http
- 鉴权方式
- 需 API Key(需要配置:LINE_CHANNEL_ACCESS_TOKEN)
- 端点
https://line-bot--node2flow.run.tools
{
"mcpServers": {
"Line-bot": {
"headers": {
"Authorization": "Bearer \u003cYOUR_KEY\u003e"
},
"url": "https://line-bot--node2flow.run.tools"
}
}
}
能力清单
| 工具 | 说明 |
|---|---|
| line_push_message | Send a push message to a LINE user, group, or room. Supports all message types: text, image, video, audio, file, location, sticker, template, flex, and imagemap. Example text message: {"type":"text","text":"Hello"}. Example flex: {"type":"flex","altText":"...","contents":{...}}. |
| line_reply_message | Reply to a webhook event using a reply token. The token expires quickly, so use immediately after receiving an event. Free (does not consume message quota). |
| line_multicast_message | Send a message to multiple users simultaneously (max 500 user IDs). More efficient than individual push messages. |
| line_broadcast_message | Send a message to all followers of the bot. No user IDs needed. Consumes message quota based on number of followers. |
| line_validate_message | Validate message objects before sending. Returns 200 OK if valid, or error details if invalid. Use to check message format before push/reply/multicast/broadcast. |
| line_get_profile | Get a LINE user profile. Returns display name, profile picture URL, status message, and language. The user must have added the bot as a friend. |
| line_get_follower_ids | Get a list of user IDs of users who added the bot as friend. Returns up to 300 IDs per page. Use the next token for pagination. |
| line_get_bot_info | Get bot basic information: user ID, basic ID, display name, picture URL, chat mode, and mark-as-read mode. |
| line_display_loading | Display a loading animation in the chat. Useful before performing slow operations. Animation shows for the specified duration. |
| line_get_group_summary | Get group chat summary: group name, picture URL, and creation time. |
| line_get_group_members_count | Get the number of members in a group chat. |
| line_get_group_member_ids | Get a list of user IDs of group members. Returns up to 100 IDs per page. Use the next token for pagination. |
| line_get_group_member_profile | Get profile of a specific member within a group chat. |
| line_create_rich_menu | Create a rich menu for the bot. Returns the created rich menu ID. After creating, upload an image and set it as default or link to specific users. |
| line_get_rich_menus | List all rich menus created for the bot. Returns array of rich menu objects with IDs, names, sizes, and areas. |
| line_get_rich_menu | Get details of a specific rich menu by ID. |
| line_delete_rich_menu | Delete a rich menu. If this was the default menu or linked to users, it will be unlinked automatically. |
| line_set_default_rich_menu | Set a rich menu as the default for all users who have not been individually linked to a different rich menu. |
| line_link_rich_menu_to_user | Link a specific rich menu to a user. This overrides the default rich menu for that user. |
| line_get_quota | Get the monthly message quota for the bot. Returns the quota type and limit value. |
| line_get_quota_consumption | Get the number of messages sent this month. Use with line_get_quota to check remaining messages. |
| line_get_followers_count | Get follower statistics for a specific date: number of followers, targeted reaches, and blocks. |
| line_set_webhook_url | Set the webhook endpoint URL for receiving LINE events (messages, follows, etc.). |
| line_get_webhook_info | Get the current webhook endpoint URL and whether it is active. |
| line_test_webhook | Test webhook endpoint connectivity. Sends a test request to the configured webhook URL and returns the result. |
提交举报 / 纠错
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。