line-bot-mcp-server
社区使用中by line
line-bot-mcp-server 是一个基于 Model Context Protocol (MCP) 的服务器实现,用于将 AI Agent 与 LINE Official Account 集成。它通过 LINE Messaging API 提供多种工具,包括发送文本和 Flex 消息、广播消息、获取用户资料、管理消息配额以及创建和管理 Rich Menu 等。该项目目
安装配置
将以下配置添加到你的 AI 编程助手中
预览配置(粘贴到 claude_desktop_config.json 或 Cursor 设置中)
{
"mcpServers": {
"line-bot-mcp-server": {}
}
}启动命令
npx @modelcontextprotocol/inspector node dist/index.js \JSON配置
{}描述
日本語版 READMEはこちら
LINE Bot MCP Server
Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

[!NOTE] This repository is provided as a preview version. While we offer it for experimental purposes, please be aware that it may not include complete functionality or comprehensive support.
Tools
-
push_text_message
- Push a simple text message to a user via LINE.
- Inputs:
userId(string?): The user ID to receive a message. Defaults to DESTINATION_USER_ID. EitheruserIdorDESTINATION_USER_IDmust be set.message.text(string): The plain text content to send to the user.
-
push_flex_message
- Push a highly customizable flex message to a user via LINE.
- Inputs:
userId(string?): The user ID to receive a message. Defaults to DESTINATION_USER_ID. EitheruserIdorDESTINATION_USER_IDmust be set.message.altText(string): Alternative text shown when flex message cannot be displayed.message.contents(any): The contents of the flex message. This is a JSON object that defines the layout and components of the message.message.contents.type(enum): Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.
-
broadcast_text_message
- Broadcast a simple text message via LINE to all users who have followed your LINE Official Account.
- Inputs:
message.text(string): The plain text content to send to the users.
-
broadcast_flex_message
- Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account.
- Inputs:
message.altText(string): Alternative text shown when flex message cannot be displayed.message.contents(any): The contents of the flex message. This is a JSON object that defines the layout and components of the message.message.contents.type(enum): Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.
-
get_profile
- Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.
- Inputs:
userId(string?): The ID of the user whose profile you want to retrieve. Defaults to DESTINATION_USER_ID.
-
get_message_quota
- Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.
- Inputs:
- None
-
get_rich_menu_list
- Get the list of rich menus associated with your LINE Official Account.
- Inputs:
- None
-
delete_rich_menu
- Delete a rich menu from your LINE Official Account.
- Inputs:
richMenuId(string): The ID of the rich menu to delete.
-
set_rich_menu_default
- Set a rich menu as the default rich menu.
- Inputs:
richMenuId(string): The ID of the rich menu to set as default.
-
cancel_rich_menu_default
- Cancel the default rich menu.
- Inputs:
- None
-
create_rich_menu
- Create a rich menu based on the given actions. Generate and upload an image. Set as default.
- Inputs:
chatBarText(string): Text displayed in chat bar, also used as rich menu name.actions(array): The actions of the rich menu. You can specify minimum 1 to maximum 6 actions. Each action can be one of the following types:postback: For sending a postback actionmessage: For sending a text messageuri: For opening a URLdatetimepicker: For opening a date/time pickercamera: For opening the cameracameraRoll: For opening the camera rolllocation: For sending the current locationrichmenuswitch: For switching to another rich menuclipboard: For copying text to clipboard
-
get_follower_ids
- Get a list of user IDs of users who have added the LINE Official Account as a friend. This allows you to obtain user IDs for sending messages without manually preparing them.
- Inputs:
start(string?): Continuation token to get the next array of user IDs. Returned in thenextproperty of a previous response.limit(number?): The maximum number of user IDs to retrieve in a single request.
Installation (Using npx)
requirements:
- Node.js v22 or later
Step 1: Create LINE Official Account
This MCP server utilizes a LINE Official Account. If you do not have one, please create it by following this instructions.
If you have a LINE Official Account, enable …
统计信息
768
星标
146
Fork
TypeScript
语言
2026/8/19
更新
Apache-2.0
开源协议
标签
链接
相关服务器
linkedin-mcp-server
linkedin-mcp-server 是一个开源的 MCP server,允许 Claude 等 MCP 兼容 AI 代理通过用户已登录的浏览器会话访问 LinkedIn 数据,包括个人资料、公司信息、职位搜索和消息。该项目独立于 LinkedIn 官方,支持通过 uvx、Docker 或本地方式快速部署,为 AI 助手提供便捷的 LinkedIn 数据读取能力。
hexstrike-ai
HexStrike AI MCP Agents 是一个基于 MCP 协议的高级网络安全自动化平台,允许 Claude、GPT、Copilot 等 AI 代理自主调用 150+ 安全工具,实现自动化渗透测试、漏洞发现、漏洞赏金和 CTF 挑战。其多智能体架构包含智能决策引擎、12+ 专业 AI Agent 及实时可视化面板,显著提升安全研究的效率与智能化水平。
mcp-toolbox
MCP Toolbox for Databases 是一个开源的 Model Context Protocol (MCP) server,用于将 AI agents、IDE 和应用程序直接连接到企业级数据库。它提供开箱即用的预构建工具(如 list_tables、execute_sql)用于数据探索,同时也是一个自定义工具框架,支持构建安全的生产级 AI 工具,包括结构化查询、
headroom
Headroom 是一个面向 AI Agent 的上下文压缩层,可在内容到达 LLM 之前压缩工具输出、日志、文件、RAG 块及对话历史,在保持答案质量的前提下显著减少 token 消耗(JSON 数据可减少 60-95%,编码 Agent 减少 15-20%)。它以 Python/TypeScript 库、代理服务器、MCP server 及命令行包装器等多种形式提供,支持