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.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
ghidraMCP
LaurieWiredMCP Server for Ghidra
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
评论