透過 MCP(Model Context Protocol),使 AI 工具能夠與 LINE Desktop 整合,並執行訊息的讀取與發送操作。Through the MCP (Model Context Protocol), AI tools can be integrated with LINE Desktop to perform message reading and sending operations.
{
"mcpServers": {
"line-desktop-mcp": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
透過 MCP(Model Context Protocol),使 AI 工具能夠與 LINE Desktop 整合,並執行訊息的讀取與發送操作。Through the MCP (Model Context Protocol), AI tools can be integrated with LINE Desktop to perform message reading and sending operations.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 170 days ago. 40 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for Line Desktop Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
透過 MCP(Model Context Protocol),使 AI 工具能夠與 LINE Desktop 整合,並執行訊息的讀取與發送操作。


這個專案不是 LINE 官方的 line-bot-mcp-server
如果你要找的是官方版本,請前往:https://github.com/line/line-bot-mcp-server
本專案與 LINE 官方無任何關聯
This project is NOT officially affiliated with LINE.
無需申請 LINE Developers 或使用 Channel Access Token
本專案透過已經完成登入的 LINE Desktop 應用程式進行操作,不需要申請開發者帳號或 API Token。
LINE Desktop MCP 是一個基於 Model Context Protocol 的整合工具,讓 AI 工具(如 Claude Desktop, n8n ),能夠直接與 LINE Desktop 應用程式互動。透過此專案,您可以:
安裝 Node.js
安裝 AutoHotkey v2
設定 Claude Desktop
mcpServers 中加入以下設定:{
"mcpServers": {
"line-desktop-mcp": {
"command": "npx",
"args": ["line-desktop-mcp@latest"]
}
}
}
安裝 Node.js
brew install node(選擇性)安裝 cliclick
brew install cliclick設定 Claude Desktop
mcpServers 中加入以下設定:{
"mcpServers": {
"line-desktop-mcp": {
"command": "npx",
"args": ["line-desktop-mcp@latest"]
}
}
}
除了預設的 stdio 模式外,本專案也支援透過 Streamable HTTP 方式運行。此模式特別適合在 n8n 等支援 MCP 的平台中使用。
啟動 Streamable HTTP 模式:
npx line-desktop-mcp@latest --http-mode --port 3000
參數說明:
--http-mode:啟用 Streamable HTTP 模式,使用 HTTP streaming 而非 stdio--port <port>:指定 HTTP 伺服器的 port(預設:3000)MCP 端點配置:
本機連接:
http://127.0.0.1:3000/mcp
Docker 中的 n8n 連接(同一台機器):
http://host.docker.internal:3000/mcp
傳輸方式:
n8n 工作流程範例:
如果您想在 n8n 中使用 LINE Desktop MCP,可以下載我們提供的範例工作流程檔案:
此範例展示如何在 n8n 中整合 LINE Desktop MCP 建立聊天機器人工作流程。
在 Claude Desktop 的對話中,您可以使用以下方式操作 LINE:
請幫我讀取 LINE 群組『專案討論』的訊息,並作出總結
請幫我撰寫一個問候,發送到 LINE 群組『專案討論』中
Claude 會先撰寫訊息內容,等待您確認後再發送。
請幫我撰寫一個問候,發送到 LINE 群組『專案討論』中,並自動發送
Claude 會撰寫訊息並自動完成發送動作。
避免干擾自動化操作
本工具透過圖形使用者介面(GUI)進行自動化操作。在自動化程式執行期間,請勿同時使用滑鼠進行其他操作,以免干擾程式運作。
LINE Desktop 視窗配置要求
請確保 LINE Desktop 使用「展開聊天視窗」模式。在此模式下,聊天視窗會固定顯示在聊天室清單的右側,而非以獨立視窗方式開啟。
多顯示器環境配置
若您使用多個顯示器,請將 LINE Desktop 應用程式放置於主要顯示器(第一個顯示器)上,以確保自動化功能正常運作。
本專案採用 MIT 授權條款 - 詳見 LICENSE.md 檔案
Geoffrey Wang
Integrate AI tools with LINE Desktop through MCP (Model Context Protocol) to enable message reading and sending operations.

![LINE Desktop MCP