LINE Bot MCP Server
@line
LINE Bot MCP Server について
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"line-bot-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"dist/index.js",
"\\"
]
}
}
}ツール
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.
概要
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.
「その他」の他のコンテンツ
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Codelf
unbugA search tool helps dev to solve the naming things problem.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
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!
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
コメント