Line-bot
MCP server for LINE Messaging API — send messages, manage groups, rich menus, webhooks, and more.
What it can do
- 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 messag
- 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.
What data it sees
Do you need an account
An API key from the service settings is required
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)
How to connect
How to connect Line-bot to Claude
The server address to paste into Claude settings:
https://line-bot--node2flow.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Line-bot to ChatGPT
The server address to paste into ChatGPT settings:
https://line-bot--node2flow.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Line-bot to Cursor
The server address to paste into Cursor settings:
https://line-bot--node2flow.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (25)
Raw names from tools/list. Only developers need these.
| 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. |