---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# LINE MCP connector

The LINE connector lets Claude, ChatGPT and other AI clients send broadcasts, reply to customers and check message quota on your LINE Official Account, with each person working inside their own access.

Source: https://elaichi.ai/connectors/line/

## Facts

| | |
| --- | --- |
| Application | LINE |
| Category | IM |
| AI tools | 94 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once LINE is connected

- How many messages are left in this month's LINE quota?
- Draft a broadcast announcing Saturday's new store opening hours.
- Show delivery progress of yesterday's narrowcast to Tokyo members.

## Connect LINE in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick LINE.
2. Optionally set Share with, then press Connect.
3. Paste a LINE API key. One person generates a token in LINE and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which LINE tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## LINE MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## LINE MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## LINE MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## LINE MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## LINE MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## LINE MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## LINE MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect LINE to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a LINE tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with LINE through Elaichi

### Send this week's promotion to every follower

Marketing. Draft a broadcast about a sale or new opening and check that it is valid before it goes out to everyone following your LINE Official Account.

### Reach one audience with a narrowcast

Marketing. Send a message to a chosen audience instead of every follower, then check how far delivery has progressed.

### Answer a customer's question in LINE

Support. Reply to a message a customer just sent your LINE account without leaving the AI chat you are already working in.

### Pull up the photo a customer sent

Support. Open the image, video or audio file a customer shared in LINE, or its preview, so you can see the damaged item or receipt they are asking about.

### Push order updates to specific customers

Operations. Send a delivery or booking update to one customer or a short list of customers by LINE, checked for errors before it is sent.

### Track message spend against this month's quota

Finance. See your monthly LINE message quota, how much has been used, and how many reply, push, multicast and broadcast messages went out on a given day.

## Elaichi vs Zapier MCP vs Composio for LINE

All three can connect LINE to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over LINE tools | Allow or restrict single LINE tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per LINE call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [whether you need an MCP gateway on your own](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect LINE to Claude?

First connect LINE in Elaichi by pasting the API key for your LINE Official Account's channel, which you copy from your LINE channel settings. Then in Claude go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. There is no client ID or secret to generate for LINE, and you sign in to Elaichi as yourself.

### Does LINE work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once LINE is connected in Elaichi, Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent all reach it through the same endpoint, https://api.elaichi.ai/mcp. You connect LINE once, not once per client.

### What can an AI agent actually do with my LINE Official Account?

An AI agent connected to LINE can reply to customer messages, send push and multicast messages to specific people, send broadcasts to every follower and narrowcasts to a chosen audience, and check each message for errors before it goes out. It can also open photos and files customers sent, report your monthly LINE message quota and sent counts, and check your webhook settings. Short, concrete asks such as "how much LINE quota is left this month" tend to work better than long instructions.

### Does connecting LINE give the AI control of my whole LINE Official Account?

No. Access to LINE through Elaichi follows the person who signed in, so an AI client can only do what that person is allowed to do with the LINE connection. Elaichi's roles and restrictions can narrow that further, for example to replies only, and they can never widen it.

### Can my team share one LINE connection?

Yes. One person connects the LINE Official Account in Elaichi and shares that connection with a team, so nobody else ever handles the LINE API key. Each teammate still signs in as themselves, so the audit log names exactly who sent each LINE message.

### Can I stop an agent from sending broadcasts or changing webhooks in LINE?

Yes. Restrictions in Elaichi work per action, so you can restrict LINE broadcasts or webhook changes on a role or on one person while leaving replies available. A restricted LINE action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a LINE connection when someone leaves?

When you offboard someone in Elaichi, their access to LINE ends at once. If they had shared their LINE connection, it keeps working for everyone else it was shared with. Disconnecting LINE once in Elaichi removes it from every client at the same time.

### Does the LINE MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. LINE is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for LINE?

Yes. Both let Claude, ChatGPT or Cursor use LINE. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every LINE call.

### How is Elaichi different from Composio for LINE?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to LINE: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 94 LINE tools

Every tool below is callable through https://api.elaichi.ai/mcp once LINE is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all LINE webhook endpoint** (List). Get the webhook endpoint configuration in Line. Returns: endpoint, active.
- **LINE webhook endpoint bulk update** (Update). Set the webhook endpoint URL for a Line Messaging API channel. Returns an empty 200 response on success.
- **LINE webhook endpoint verify** (Verify). Test a webhook endpoint in Line by sending a sample event to verify delivery. Returns the test result including success, timestamp, statusCode, reason, and detail.
- **Get single LINE message content by ID** (Get). Download the content (image, video, audio or file) of a message a user sent, by message ID from a webhook event. Returns the raw bytes; content is kept for a limited time. Content LINE does not host (contentProvider.type external) is at its originalContentUrl instead.
- **Get single LINE message content preview by ID** (Get). Get a preview image of an image or video message in Line. Returns the preview as a binary file.
- **Get single LINE message content transcoding by ID** (Get). Check the preparation status of a Line video or audio message before downloading it. Returns: status.
- **LINE reply messages send** (Reply). Reply to an incoming message or event with up to 5 messages, using the replyToken from that webhook event (valid about one minute). Replies do not use the monthly quota. Webhook events go to the webhook URL set on the channel.
- **LINE reply messages validate** (Reply). Validate reply message objects in the LINE Messaging API without sending them. Returns an empty 200 OK response on success.
- **LINE push messages send** (Push). Send up to 5 messages to one user, group chat or multi-person chat. `to` is a user ID (U...), group ID (C...) or room ID (R...) from a webhook event for this channel; IDs differ between providers. It reaches users who added the account as a friend, groups and rooms the bot is in, and users who messaged the account in a one-to-one chat in the last 7 days. LINE answers 200 but delivers nothing to users who blocked the account, deleted their LINE account, or never added it. Each recipient uses the monthly quota; a push to a group or room counts each member. Pass truto_retry_key (a UUID) to make a retry safe: within 24 hours, a retry with the same key and the same content is answered 409 (already accepted, do not retry) instead of sending twice.
- **LINE push messages validate** (Push). Validate message objects of a push message in LINE without sending it. The endpoint checks the request body shape only and returns an empty 200 response on success.
- **LINE multicast messages send** (Send). Send up to 5 messages to up to 500 user IDs at once. Uses one message of the monthly quota per recipient. The request ID LINE assigns is returned in the X-Line-Request-Id response header (proxy API); the response body is empty. Pass truto_retry_key (a UUID) to make a retry safe: LINE answers 409 instead of sending twice.
- **LINE multicast messages validate** (Validate). Validate the message objects of a multicast message in Line before sending. Returns an empty 200 response on success when the message objects are valid.
- **LINE narrowcast messages send** (Send). Send up to 5 messages to many friends at once, chosen by recipient (audiences, redelivery) and filter (demographics). With no recipient and no filter it reaches EVERY friend. Uses one message of the monthly quota per recipient. It runs in the background: check narrowcast_progress.list with the request ID. The request ID LINE assigns is returned in the X-Line-Request-Id response header (proxy API); the response body is empty. Pass truto_retry_key (a UUID) to make a retry safe: LINE answers 409 instead of sending twice.
- **LINE narrowcast messages validate** (Validate). Validate the message objects that would be sent in a narrowcast message. Returns an empty 200 response on success. Requires a request body matching the LINE Messaging API’s ValidateMessageRequest schema.
- **List all LINE narrowcast progress** (List). Get the status of a narrowcast message from Line. Returns: phase, successCount, failureCount, targetCount, failedDescription, errorCode, acceptedTime, completedTime.
- **LINE broadcast messages send** (Send). Send up to 5 messages to EVERY friend of the LINE Official Account. Uses one message of the monthly quota per friend, so one call can use up the month. The request ID LINE assigns is returned in the X-Line-Request-Id response header (proxy API); the response body is empty. Pass truto_retry_key (a UUID) to make a retry safe: LINE answers 409 instead of sending twice.
- **LINE broadcast messages validate** (Validate). Validate message objects of a broadcast message in LINE. Returns an empty 200 OK response on success.
- **List all LINE message quota** (List). Get the message quota for the LINE bot in the current month. Returns the target limit: type (limited/none) and, when limited, value (the message cap).
- **List all LINE message quota consumption** (List). Get the number of messages sent in the current month in LINE. Returns: totalUsage.
- **List all LINE sent reply counts** (List). Get the number of reply messages sent by a Line bot on a specific date. Returns: status, success. Date format is yyyyMMdd in UTC+9.
- **List all LINE sent push counts** (List). Get the number of push messages sent in LINE for a given date. Returns: status, success.
- **List all LINE sent multicast counts** (List). Get the number of Line multicast messages delivered on a given day. Returns: status, success.
- **List all LINE sent broadcast counts** (List). Get the number of broadcast messages LINE delivered on a given date. Returns the aggregation result including `status` (one of `ready`, `unready`, `unavailable_for_privacy`, `out_of_service`) and `success` (the int64 count, returned only when `status` is `ready`).
- **List all LINE aggregation unit usage** (List). Get the number of LINE aggregation units used this month. Returns: numOfCustomAggregationUnits.
- **List all LINE aggregation units** (List). List the aggregation unit names used this month in Line. Returns an array of unit name strings such as promotion_a or promotion_b. Results are paged automatically.
- **Get single LINE profile by ID** (Get). Get a user's display name, user ID, profile image URL, status message and language. The user ID must come from a webhook event for this channel (not the LINE ID shown in the app; IDs differ between providers). Works for users who added the account as a friend, or who messaged it without adding it. Returns 404 if the user blocked the account, never added it, has not consented, or does not exist; 400 for a malformed ID. For members of a group chat or multi-person chat use group_member_profiles.get or room_member_profiles.get.
- **List all LINE followers** (List). List the user IDs of friends of the account, 1,000 per page (start/next). Needs a verified or premium account; others get 403.
- **List all LINE bot info** (List). Get information about the Line bot configured for this channel. Returns: userId, basicId, premiumId, displayName, pictureUrl, chatMode, markAsReadMode.
- **Create a LINE rich menu** (Create). Create a rich menu for a Line bot. Returns the created rich menu's richMenuId.
- **Get single LINE rich menu by ID** (Get). Get a Line rich menu by id. Returns the rich menu object including its richMenuId, size, name, chatBarText, selected state, and areas.
- **Delete a LINE rich menu by ID** (Delete). Delete a Line rich menu by id. Returns an empty 204 response on success.
- **LINE rich menus validate** (Validate). Validate a rich menu object in LINE before creating it. Returns an empty 200 response on success. Requires size, selected, name, chatBarText, and areas in the request body.
- **List all LINE rich menus** (List). List rich menus in LINE. Returns each rich menu's richMenuId, name, selected status, size (width and height), chatBarText label, and areas (each with bounds and action).
- **LINE rich menu user links bulk create** (Create). Link a Line rich menu to multiple users in a single bulk request. Returns an empty 202 Accepted response on success. Requires a JSON request body; the field-level shape is defined by the upstream RichMenuBulkLinkRequest schema and not enumerated here.
- **LINE rich menu user links bulk delete** (Delete). Unlink a Line rich menu from multiple users in a single bulk request. Returns an empty 202 Accepted response on success. Requires a JSON request body; the field-level shape is defined by the upstream RichMenuBulkUnlinkRequest schema and not enumerated here.
- **Update a LINE default rich menu by ID** (Update). Make a rich menu the default for every user who has no per-user menu. id is the rich menu ID; its image must be uploaded first.
- **List all LINE default rich menu** (List). Get the ID of the default rich menu set with the Line Messaging API. Returns: richMenuId.
- **Delete a LINE default rich menu by ID** (Delete). Cancel the default rich menu for all LINE users. Returns an empty 200 response on success.
- **Create a LINE rich menu alias** (Create). Create a rich menu alias in Line that maps a human-readable alias ID to an existing rich menu ID. Requires richMenuAliasId and richMenuId.
- **Get single LINE rich menu alias by ID** (Get). Get a LINE rich menu alias by id. Returns: richMenuAliasId, richMenuId.
- **Update a LINE rich menu alias by ID** (Update). Update an existing rich menu alias in Line to point at a different rich menu ID. Requires id and richMenuId.
- **Delete a LINE rich menu alias by ID** (Delete). Delete a rich menu alias in Line by id. Returns an empty 200 response on success.
- **List all LINE rich menu aliases** (List). List rich menu aliases in Line. Returns each alias as an object with richMenuAliasId and richMenuId.
- **Get single LINE user rich menu by ID** (Get). Get the rich menu ID currently linked to a Line user. Returns: richMenuId.
- **LINE user rich menus attach** (Action). Show a rich menu to one user: user_id and rich_menu_id. The rich menu needs its image uploaded first.
- **LINE user rich menus detach** (Action). Unlink the rich menu associated with a LINE user. Returns an empty 200 response on success.
- **Create a LINE rich menu batch** (Create). Run a batch of rich menu changes for all users: link (from one rich menu to another), unlink (from one rich menu) and unlinkAll (every user's per-user rich menu). unlinkAll cannot be undone. Runs in the background: check rich_menu_batch_progress.list with the request ID from the X-Line-Request-Id response header.
- **LINE rich menu batches validate** (Validate). Validate a rich-menu batch request body on the Line Messaging API before sending it to the batch control endpoint. Returns an empty 200 response on success when the payload is valid.
- **List all LINE rich menu batch progress** (List). Get the status of a batched rich menu replace or unlink operation in Line. Returns: phase, acceptedTime, completedTime.
- **Create a LINE link token** (Create). Issue a link token for a LINE account in LINE. Returns: linkToken.
- ...and 44 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
