LINE Bot MCP Server
@line
About LINE Bot MCP Server
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"line-bot-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"dist/index.js",
"\\"
]
}
}
}Tools
8`userId` (string?): The user ID to receive a message. Defaults to DESTINATION_USER_ID. Either `userId` or `DESTINATION_USER_ID` must be set.
`userId` (string?): The user ID to receive a message. Defaults to DESTINATION_USER_ID. Either `userId` or `DESTINATION_USER_ID` must be set.
`message.text` (string): The plain text content to send to the users.
`message.altText` (string): Alternative text shown when flex message cannot be displayed.
`userId` (string?): The ID of the user whose profile you want to retrieve. Defaults to DESTINATION_USER_ID.
None
None
`richMenuId` (string): The ID of the rich menu to delete.
Overview
What is LINE Bot MCP Server?
LINE Bot MCP Server is a Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to a LINE Official Account. It is provided as a preview version for experimental purposes and may not include complete functionality or comprehensive support.
How to use LINE Bot MCP Server?
Install via npx (requires Node.js v22 or later) or Docker. Configure an AI agent like Claude Desktop or Cline with the server command, required CHANNEL_ACCESS_TOKEN, and optional DESTINATION_USER_ID environment variable. Use the server's tools to send messages, manage rich menus, retrieve user profiles, and query message quotas.
Key features of LINE Bot MCP Server
- Push text and flex messages to individual users
- Broadcast text and flex messages to all followers
- Retrieve detailed LINE user profile information
- Get message quota and consumption of your account
- Create, list, delete, and manage rich menus
- Fetch follower user IDs with pagination support
Use cases of LINE Bot MCP Server
- Automate customer support responses via LINE Official Account
- Send targeted promotional messages to specific users or all followers
- Manage and update rich menu configurations programmatically
- Collect user profile data for personalized messaging campaigns
- Monitor monthly message usage and quota consumption
FAQ from LINE Bot MCP Server
What prerequisites are needed to use this server?
You need a LINE Official Account with the Messaging API enabled, a Channel Access Token, and Node.js v22 or later (for npx installation). Docker can be used as an alternative.
How do I obtain the required credentials?
Follow the LINE developers guide to create an Official Account and enable the Messaging API. The Channel Access Token is found in the LINE Developers Console, and the default user ID can be obtained from the Messaging API settings.
Can I send messages to users without knowing their user IDs?
Yes, the broadcast tools send messages to all users who have followed your LINE Official Account. The get_follower_ids tool also retrieves follower user IDs for targeted messaging.
Is this server production-ready?
No. This repository is provided as a preview version for experimental purposes and may not include complete functionality or comprehensive support.
What transport and authentication does this server use?
The server uses standard MCP transport via stdio. Authentication is handled through the required CHANNEL_ACCESS_TOKEN environment variable passed to the server process.
More Other MCP servers
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Comments