Line Harness MCP Server
MCP server by Shudesu Verified · npm:@line-harness
Lets AI assistants such as Claude Code operate a LINE official account through the L Harness MCP server. It provides tools for reading conversations, creating scenarios, and sending broadcasts or messages. It is aimed at developers and operators who run L Harness on their own Cloudflare account.
Install Line Harness MCP Server
Built from the published package, never by AI.
claude mcp add line-harness-mcp-server -- npx -y @line-harness/mcp-serverRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Line Harness MCP Server in Claude Code
{
"mcpServers": {
"line-harness-mcp-server": {
"args": [
"-y",
"@line-harness/mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Line Harness MCP Server in Claude Desktop
{
"mcpServers": {
"line-harness-mcp-server": {
"args": [
"-y",
"@line-harness/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"line-harness-mcp-server": {
"args": [
"-y",
"@line-harness/mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add line-harness-mcp-server -- npx -y @line-harness/mcp-server{
"mcpServers": {
"line-harness-mcp-server": {
"args": [
"-y",
"@line-harness/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Line Harness MCP Server in Antigravity CLI
gemini mcp add line-harness-mcp-server npx -y @line-harness/mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the line-harness-mcp-server block.
About
The Line Harness MCP Server, published as @line-harness/mcp-server, is part of L Harness, an open source LINE CRM for managing a LINE official account. It lets Claude Code work with the account in natural language. The listed tools cover monitoring unanswered conversations, creating and updating scenario steps, and sending broadcasts or messages.
L Harness runs on Cloudflare Workers with a D1 SQLite database, a Next.js dashboard, and a setup CLI installed with npx. Users set it up on their own Cloudflare account and connect their LINE channels. The project is released under the MIT License. The developer also offers a hosted Cloud version, which the source describes as a separate entity.
Written from the project's README and checked against it.
Tools it gives your assistant
list_conversationsLists unanswered LINE conversations so an AI agent can monitor them.get_conversationReads a single conversation for AI monitoring.create_scenarioLets the AI create a message scenario for the LINE account.update_stepLets the AI update a step within a scenario.broadcastSends a broadcast message. The source says this requires user confirmation.send_messageSends a message to a user. The source says this requires user confirmation.
What you need
- Node.js 22 or later
- Git
- A Cloudflare account with R2 enabled
- A LINE official account with a Messaging API channel
- A LINE Login channel and a LIFF app
Try asking
- List the unanswered LINE conversations and summarise each one.
- Create a welcome scenario with three delayed message steps.
- Show me the details of this LINE conversation before I reply.
Good to know
- Broadcasts and direct messages are described as needing user confirmation.
- Cloudflare D1 free plan queries return errors when daily read or write limits are reached.
- LINE delivery fees, Cloudflare usage, and external AI service costs are separate from the free software.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Line Harness MCP Server: common questions
Does the MCP server cost money?
The source says the L Harness software itself has a usage fee of 0 yen. LINE delivery fees, Cloudflare usage, custom domains, and any connected external AI service are charged separately.
Which AI assistant can use it?
The source says L Harness can be operated from Claude Code through MCP. It also says the MCP server is bundled with the main project.
Where is the source code and what is the license?
The code is in the Shudesu/line-harness-oss repository. The source states the project is released under the MIT License.
How do I install Line Harness MCP Server?
In Claude Code run claude mcp add line-harness-mcp-server -- npx -y @line-harness/mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Line Harness MCP Server the official server?
Line Harness MCP Server is published by npm:@line-harness from its verified domain in the official MCP Registry.
Is Line Harness MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Line Harness MCP Server safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
Does Line Harness MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
