Integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Line official account mcp server connects LINE Official Account to AI assistants that speak the Model Context Protocol. Integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Once connected, the assistant can call these 11 tools directly:
Inputs — **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 clipboardPrerequisites — 1. Clone the repository: bash git clone git@github.com:line/line-bot-mcp-server.git cd line-bot-mcp-serverThe server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 5 environment variables: NPM_CONFIG_IGNORE_SCRIPTS, CHANNEL_ACCESS_TOKEN, DESTINATION_USER_ID, YOUR_CHANNEL_ACCESS_TOKEN, YOUR_DESTINATION_USER_ID. Keep credentials in your client's env block or a secrets manager rather than committing them.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. LINE Official Account sits in that group, and the shape of its toolset — Inputs, postback, message among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| Inputs | ** |
| postback | For sending a postback action |
| message | For sending a text message |
| uri | For opening a URL |
| datetimepicker | For opening a date/time picker |
| camera | For opening the camera |
| cameraRoll | For opening the camera roll |
| location | For sending the current location |
| richmenuswitch | For switching to another rich menu |
| clipboard | For copying text to clipboard |
| Prerequisites | 1. Clone the repository: bash git clone git@github.com:line/line-bot-mcp-server.git cd line-bot-mcp-server |
{
"mcpServers": {
"line-bot": {
"command": "npx",
"args": [
"@line/line-bot-mcp-server"
],
"env": {
"NPM_CONFIG_IGNORE_SCRIPTS": "true",
"CHANNEL_ACCESS_TOKEN" : "FILL_HERE",
"DESTINATION_USER_ID" : "FILL_HERE"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| NPM_CONFIG_IGNORE_SCRIPTS | Configuration value read at startup. | Optional |
| CHANNEL_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| DESTINATION_USER_ID | Configuration value read at startup. | Optional |
| YOUR_CHANNEL_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| YOUR_DESTINATION_USER_ID | Configuration value read at startup. | Optional |
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.
Inbox intelligence — search, read, draft and send Gmail through your assistant with OAuth auto-setup.
Read and write Jira, Confluence, Bitbucket, JSM and Compass from your AI client — with your own permissions.
Read and send Telegram messages through your assistant — chats, channels and history via the client API.
Enables Discord bot integration with Model Context Protocol (MCP) compatible applications like Claude Desktop.
Exposes REST APIs defined by OpenAPI specifications as Model Context Protocol (MCP) tools, facilitating seamless integration into MCP-based workflows.