Line-bot

MCP server for LINE Messaging API — send messages, manage groups, rich menus, webhooks, and more.

Community: Submitted by a user or imported; check the owner before granting accessOnlineAPI key requiredGlobalFreeCan modify data

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

  1. Open Claude (claude.ai or the desktop app).
  2. Go to Settings → Connectors.
  3. Click Add custom connector.
  4. Paste the server address copied below into Remote MCP server URL and click Add.
  5. 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

  1. Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
  2. Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
  3. Open Settings → Connectors and click Create.
  4. Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
  5. Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
  6. 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:

  1. In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
  2. Paste the JSON copied below into ~/.cursor/mcp.json (per project: .cursor/mcp.json in the repo root).
  3. 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_messageSend 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_messageReply 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_messageSend a message to multiple users simultaneously (max 500 user IDs). More efficient than individual push messages.
line_broadcast_messageSend a message to all followers of the bot. No user IDs needed. Consumes message quota based on number of followers.
line_validate_messageValidate 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_profileGet 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_idsGet 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_infoGet bot basic information: user ID, basic ID, display name, picture URL, chat mode, and mark-as-read mode.
line_display_loadingDisplay a loading animation in the chat. Useful before performing slow operations. Animation shows for the specified duration.
line_get_group_summaryGet group chat summary: group name, picture URL, and creation time.
line_get_group_members_countGet the number of members in a group chat.
line_get_group_member_idsGet 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_profileGet profile of a specific member within a group chat.
line_create_rich_menuCreate 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_menusList all rich menus created for the bot. Returns array of rich menu objects with IDs, names, sizes, and areas.
line_get_rich_menuGet details of a specific rich menu by ID.
line_delete_rich_menuDelete a rich menu. If this was the default menu or linked to users, it will be unlinked automatically.
line_set_default_rich_menuSet 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_userLink a specific rich menu to a user. This overrides the default rich menu for that user.
line_get_quotaGet the monthly message quota for the bot. Returns the quota type and limit value.
line_get_quota_consumptionGet the number of messages sent this month. Use with line_get_quota to check remaining messages.
line_get_followers_countGet follower statistics for a specific date: number of followers, targeted reaches, and blocks.
line_set_webhook_urlSet the webhook endpoint URL for receiving LINE events (messages, follows, etc.).
line_get_webhook_infoGet the current webhook endpoint URL and whether it is active.
line_test_webhookTest webhook endpoint connectivity. Sends a test request to the configured webhook URL and returns the result.