LINE
Created 5 months ago
LINE Bot MCP Server integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
What is LINE?
Integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Documentation
Tools
- push_text_message - Push a simple text message to a user via LINE.
- push_flex_message - Push a highly customizable flex message to a user via LINE.
- broadcast_text_message - Broadcast a simple text message via LINE to all users.
- broadcast_flex_message - Broadcast a highly customizable flex message via LINE to all users.
- get_profile - Get detailed profile information of a LINE user.
- get_message_quota - Get the message quota and consumption of the LINE Official Account.
- get_rich_menu_list - Get the list of rich menus associated with your LINE Official Account.
- delete_rich_menu - Delete a rich menu from your LINE Official Account.
- set_rich_menu_default - Set a rich menu as the default rich menu.
- cancel_rich_menu_default - Cancel the default rich menu.
Installation (Using npx)# 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.
Step 2: Configure AI Agent
Please add the following configuration for an AI Agent like Claude Desktop or Cline. Set the environment variables or arguments as follows:
{
"mcpServers": {
"line-bot": {
"command": "npx",
"args": ["@line/line-bot-mcp-server"],
"env": {
"CHANNEL_ACCESS_TOKEN": "FILL_HERE",
"DESTINATION_USER_ID": "FILL_HERE"
}
}
}
}
Installation (Using Docker)# 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.
Step 2: Build line-bot-mcp-server image
Clone this repository:
git clone [email protected]:line/line-bot-mcp-server.git
Build the Docker image:
docker build -t line/line-bot-mcp-server .
Step 3: Configure AI Agent
Please add the following configuration for an AI Agent like Claude Desktop or Cline. Set the environment variables or arguments as follows:
{
"mcpServers": {
"line-bot": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "CHANNEL_ACCESS_TOKEN", "-e", "DESTINATION_USER_ID", "line/line-bot-mcp-server"],
"env": {
"CHANNEL_ACCESS_TOKEN": "FILL_HERE",
"DESTINATION_USER_ID": "FILL_HERE"
}
}
}
}
Versioning
This project respects semantic versioning See http://semver.org/
Contributing
Please check CONTRIBUTING before making a contribution.
Server Config
{
"mcpServers": {
"line-server": {
"command": "npx",
"args": [
"line"
]
}
}
}