agenza-line-bot-mcp 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -63
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
[README](README.ja.md)
|
|
2
2
|
|
|
3
|
-
# LINE Bot MCP Server (Custom)
|
|
3
|
+
# LINE Bot MCP Server (Custom - Core Edition)
|
|
4
4
|
|
|
5
5
|
> **Note:** This is a customized fork from [https://github.com/line/line-bot-mcp-server](https://github.com/line/line-bot-mcp-server)
|
|
6
|
+
>
|
|
7
|
+
> **⚡ Optimized for low memory usage** - Rich menu tools disabled by default
|
|
6
8
|
|
|
7
9
|
[Model Context Protocol (MCP)](https://github.com/modelcontextprotocol) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
|
|
8
10
|
|
|
@@ -11,68 +13,26 @@
|
|
|
11
13
|
> [!NOTE]
|
|
12
14
|
> 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.
|
|
13
15
|
|
|
14
|
-
## Tools
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
- **Inputs:**
|
|
35
|
-
- `message.altText` (string): Alternative text shown when flex message cannot be displayed.
|
|
36
|
-
- `message.contents` (any): The contents of the flex message. This is a JSON object that defines the layout and components of the message.
|
|
37
|
-
- `message.contents.type` (enum): Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.
|
|
38
|
-
5. **get_profile**
|
|
39
|
-
- Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.
|
|
40
|
-
- **Inputs:**
|
|
41
|
-
- `userId` (string?): The ID of the user whose profile you want to retrieve. Defaults to DESTINATION_USER_ID.
|
|
42
|
-
6. **get_message_quota**
|
|
43
|
-
- Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.
|
|
44
|
-
- **Inputs:**
|
|
45
|
-
- None
|
|
46
|
-
7. **get_rich_menu_list**
|
|
47
|
-
- Get the list of rich menus associated with your LINE Official Account.
|
|
48
|
-
- **Inputs:**
|
|
49
|
-
- None
|
|
50
|
-
8. **delete_rich_menu**
|
|
51
|
-
- Delete a rich menu from your LINE Official Account.
|
|
52
|
-
- **Inputs:**
|
|
53
|
-
- `richMenuId` (string): The ID of the rich menu to delete.
|
|
54
|
-
9. **set_rich_menu_default**
|
|
55
|
-
- Set a rich menu as the default rich menu.
|
|
56
|
-
- **Inputs:**
|
|
57
|
-
- `richMenuId` (string): The ID of the rich menu to set as default.
|
|
58
|
-
10. **cancel_rich_menu_default**
|
|
59
|
-
- Cancel the default rich menu.
|
|
60
|
-
- **Inputs:**
|
|
61
|
-
- None
|
|
62
|
-
11. **create_rich_menu**
|
|
63
|
-
- Create a rich menu based on the given actions. Generate and upload an image. Set as default.
|
|
64
|
-
- **Inputs:**
|
|
65
|
-
- `chatBarText` (string): Text displayed in chat bar, also used as rich menu name.
|
|
66
|
-
- `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:
|
|
67
|
-
- `postback`: For sending a postback action
|
|
68
|
-
- `message`: For sending a text message
|
|
69
|
-
- `uri`: For opening a URL
|
|
70
|
-
- `datetimepicker`: For opening a date/time picker
|
|
71
|
-
- `camera`: For opening the camera
|
|
72
|
-
- `cameraRoll`: For opening the camera roll
|
|
73
|
-
- `location`: For sending the current location
|
|
74
|
-
- `richmenuswitch`: For switching to another rich menu
|
|
75
|
-
- `clipboard`: For copying text to clipboard
|
|
16
|
+
## Tools (Core Edition)
|
|
17
|
+
|
|
18
|
+
**Available Tools:**
|
|
19
|
+
|
|
20
|
+
1. **push_text_message** - Push a simple text message to a user via LINE.
|
|
21
|
+
2. **push_flex_message** - Push a highly customizable flex message to a user via LINE.
|
|
22
|
+
3. **get_profile** - Get detailed profile information of a LINE user.
|
|
23
|
+
4. **get_message_quota** - Get the message quota and consumption of the LINE Official Account.
|
|
24
|
+
|
|
25
|
+
**Disabled Tools (to reduce memory usage):**
|
|
26
|
+
|
|
27
|
+
- broadcast_text_message
|
|
28
|
+
- broadcast_flex_message
|
|
29
|
+
- get_rich_menu_list
|
|
30
|
+
- delete_rich_menu
|
|
31
|
+
- set_rich_menu_default
|
|
32
|
+
- cancel_rich_menu_default
|
|
33
|
+
- create_rich_menu (uses puppeteer - heavy memory usage)
|
|
34
|
+
|
|
35
|
+
> If you need rich menu features, consider using them via LINE Messaging API directly or enable them manually in `src/index.ts`
|
|
76
36
|
|
|
77
37
|
## Installation (Using npx)
|
|
78
38
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agenza-line-bot-mcp",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "MCP server for interacting with LINE Official Account",
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "MCP server for interacting with LINE Official Account (Core features only - optimized for low memory)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20"
|