# How to connect LINE with ChatGPT

```json
{
  "title": "How to connect LINE with ChatGPT",
  "toolkit": "LINE",
  "toolkit_slug": "line",
  "framework": "ChatGPT",
  "framework_slug": "chatgpt",
  "url": "https://composio.dev/toolkits/line/framework/chatgpt",
  "markdown_url": "https://composio.dev/toolkits/line/framework/chatgpt.md",
  "updated_at": "2026-10-04T15:58:07.773Z"
}
```

## Introduction

### How to connect LINE MCP with ChatGPT
[ChatGPT](https://chatgpt.com/) can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.
In this guide, I will explain the easiest and most secure way to connect your LINE account to ChatGPT via Composio Connect, so it can send coupon broadcast to line followers, create rich menu for promotions, list line audience groups by size through natural language commands without ever putting your account credentials at risk.

## Also integrate LINE with

- [Claude Cowork](https://composio.dev/toolkits/line/framework/claude-cowork)
- [Grok Bot](https://composio.dev/toolkits/line/framework/grok-bot)

## TL;DR

### Why use Composio over default connectors?
- Apps with read and write access. Default connectors mostly can read your data. Composio's LINE integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
- 1,500+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
- One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
- Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
- Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

## Connect LINE to ChatGPT

### Prerequisites
- A ChatGPT account. We will use the [ChatGPT desktop app](https://openai.com/chatgpt/download/), and the steps are the same on the web.
- Access to the LINE workspace you want to connect.
- [Composio plugin](https://dashboard.composio.dev/login?utm_source=toolkits&utm_medium=framework_template&utm_campaign=chatgpt&utm_content=composio_connect&next=%2F~%2Forg%2Fconnect%2Fclients%2Fchatgpt).
Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.
### Step-by-step: Connect LINE to ChatGPT
### 1. Install the Composio plugin
Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.
[Install in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a58503580c08191b78cc5bdaf4eba6e)
You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.
### 2. Authenticate
After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.
### 3. Start using Composio
That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread LINE messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize LINE.
### Option 2: Add Composio as an MCP server
If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.
### 1. Open the MCP settings
In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.
### 2. Add the server
Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the LINE MCP server, and what's possible with it?

The LINE MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your LINE account. It provides structured and secure access to your Official Account messages, followers, chat members, rich menus, and delivery counts, so your agent can send and reply to messages, manage rich menus, review audiences, mark messages as read, and track message delivery on your behalf.
- Message sending and replies: Have your agent send text messages to users or chats and reply to incoming messages from your LINE Official Account.
- Rich menu management: Direct your agent to create, view, list, update with images, or delete rich menus for your audience.
- Personalized menu assignment: Let the agent assign or remove rich menus for individual users and set or clear the default menu.
- Audience and chat review: Instruct your agent to list your Official Account followers or review the members of a group chat or room.
- Message monitoring: Have your agent mark incoming messages as read, check daily delivery totals, or retrieve preview images from retained media messages.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `LINE_CREATE_RICH_MENU` | Create Rich Menu | Create a rich-menu definition and return its ID. Creation alone does not display it: upload an image, then set it as default or link it to a user. |
| `LINE_CREATE_RICH_MENU_WITH_IMAGE` | Create Rich Menu with Image | Create a rich-menu definition and upload its JPEG or PNG image in one call. If image upload fails, the newly created definition is deleted automatically. The finished menu must still be set as default or linked to a user to display. |
| `LINE_DELETE_RICH_MENU` | Delete Rich Menu | Permanently delete a rich menu by ID. Delete only a menu the caller owns or explicitly intends to remove. |
| `LINE_DOWNLOAD_MESSAGE_CONTENT_PREVIEW` | Download Message Content Preview | Download LINE's reduced-size preview image for a retained image or video message whose contentProvider.type is line. |
| `LINE_GET_MESSAGE_DELIVERY_COUNT` | Get Message Delivery Count | Get the number of reply, push, multicast, or broadcast messages sent on one UTC+9 calendar date. A result can be unready, unavailable_for_privacy, or out_of_service instead of containing a count. |
| `LINE_GET_RICH_MENU` | Get Rich Menu | Get one Messaging API rich-menu definition by ID, including its canvas, tappable areas, and actions. |
| `LINE_LINK_OR_UNLINK_USER_RICH_MENU` | Link or Unlink User Rich Menu | Link or unlink a per-user rich menu. WARNING: LINE can return HTTP 200 even when nothing changed for a nonexistent, deleted, blocked, non-friend, or cross-channel user; success confirms request acceptance, not the assignment effect. |
| `LINE_LIST_CHAT_MEMBER_IDS` | List Chat Member IDs | Return one page of member user IDs for a group or legacy room containing the bot. Requires a verified or premium LINE Official Account; room applies only to legacy multi-person chats. |
| `LINE_LIST_FOLLOWER_IDS` | List Follower IDs | Return one page of user IDs for friends of the LINE Official Account. This endpoint requires a verified or premium LINE Official Account and excludes blockers, deleted users, and users without profile consent. |
| `LINE_LIST_RICH_MENUS` | List Rich Menus | List all rich menus created through the Messaging API. Menus created in LINE Official Account Manager are not included. |
| `LINE_MARK_MESSAGES_AS_READ` | Mark Messages as Read | Mark all messages through a webhook-issued read token as read. The token must have been received by this exact bot; this operation cannot be undone. |
| `LINE_SET_OR_CLEAR_DEFAULT_RICH_MENU` | Set or Clear Default Rich Menu | Set or clear the Messaging API default rich menu. Setting requires an image-backed rich menu; clearing does not delete the menu and does not clear a default managed in LINE Official Account Manager. |
| `LINE_UPLOAD_RICH_MENU_IMAGE` | Upload Rich Menu Image | Upload a JPEG or PNG image for a rich menu. An image cannot be replaced for the same rich-menu ID; create a new menu to use another image. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, ChatGPT can access the LINE MCP server via Composio to run actions that you authorize, directly in your workspace.

## Complete Code

None listed.

## How to build LINE MCP Agent with another framework

- [Claude Cowork](https://composio.dev/toolkits/line/framework/claude-cowork)
- [Grok Bot](https://composio.dev/toolkits/line/framework/grok-bot)

## Related Toolkits

- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Slack](https://composio.dev/toolkits/slack) - Slack is a channel-based messaging platform for teams and organizations. It helps people collaborate in real time, share files, and connect all their tools in one place.
- [Gong](https://composio.dev/toolkits/gong) - Gong is a platform for video meetings, call recording, and team collaboration. It helps teams capture conversations, analyze calls, and turn insights into action.
- [Microsoft teams](https://composio.dev/toolkits/microsoft_teams) - Microsoft Teams is a collaboration platform that combines chat, meetings, and file sharing within Microsoft 365. It keeps distributed teams connected and productive through seamless virtual communication.
- [Slackbot](https://composio.dev/toolkits/slackbot) - Slackbot is a conversational automation tool for Slack that handles reminders, notifications, and automated responses. It boosts team productivity by streamlining onboarding, answering FAQs, and managing timely alerts—all right inside Slack.
- [2chat](https://composio.dev/toolkits/_2chat) - 2chat is an API platform for WhatsApp and multichannel text messaging. It streamlines chat automation, group management, and real-time messaging for developers.
- [Agent mail](https://composio.dev/toolkits/agent_mail) - Agent mail provides AI agents with dedicated email inboxes for sending, receiving, and managing emails. It empowers agents to communicate autonomously with people, services, and other agents—no human intervention needed.
- [Aircall](https://composio.dev/toolkits/aircall) - Aircall is a cloud-based phone and call-center platform for business communications. It centralizes calls, contacts, teams, numbers, and tags in one place.
- [Android Texter](https://composio.dev/toolkits/android_texter) - Android Texter is an API service that connects Android phones to SMS, MMS, contacts, and device data. Use it to automate mobile messaging without building your own phone-to-API bridge.
- [Basecamp](https://composio.dev/toolkits/basecamp) - Basecamp is a project management and team collaboration tool by 37signals. It helps teams organize tasks, share files, and communicate efficiently in one place.
- [Blooio](https://composio.dev/toolkits/blooio) - Blooio is a stable v2 API platform for messaging, chats, contacts, groups, phone numbers, and account analytics. It gives teams a clean way to build reliable communication workflows without stitching together fragile custom APIs.
- [Callback24](https://composio.dev/toolkits/callback24) - Callback24 is a telephony API for managing phone calls, users, services, and routing groups. It centralizes call control and routing to automate voice workflows and operations.
- [CallOnTheGo](https://composio.dev/toolkits/callonthego) - CallOnTheGo is a telephony API for managing phone numbers, caller IDs, suppression lists, audio assets, contact lists, and Voice AI campaigns. It provides programmatic control over calling infrastructure and campaign automation for scalable voice outreach.
- [Carbon Voice MCP](https://composio.dev/toolkits/carbon_voice_mcp) - Carbon Voice MCP is a voice-first collaboration platform for messages, conversations, and workflows. Use it to centralize voice communications and streamline team collaboration.
- [CardClan](https://composio.dev/toolkits/cardclan) - CardClan is a digital card platform for creating and sending personalized team cards. Use it to celebrate moments, share card links, and manage card workflows without extra coordination.
- [Chatwork](https://composio.dev/toolkits/chatwork) - Chatwork is a team communication platform with group chats, file sharing, and task management. It helps businesses boost collaboration and streamline productivity.
- [Clickmeeting](https://composio.dev/toolkits/clickmeeting) - ClickMeeting is a cloud-based platform for running online meetings and webinars. It helps businesses and individuals host, manage, and engage virtual audiences with ease.
- [Confluence](https://composio.dev/toolkits/confluence) - Confluence is Atlassian's team collaboration and knowledge management platform. It helps your team organize, share, and update documents and project content in one secure workspace.
- [Daily](https://composio.dev/toolkits/daily) - Daily is a WebRTC video and audio API platform for building rooms, meetings, recordings, live streams, transcriptions, and telephony. It gives developers reliable real-time media infrastructure without managing complex conferencing stacks.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and LINE MCP?

With a standalone LINE MCP server, the agents and LLMs can only access a fixed set of LINE tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from LINE and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with ChatGPT?

Yes, you can. ChatGPT fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right LINE tools.

### Can I manage the permissions and scopes for LINE while using Tool Router?

Yes, absolutely. You can configure which LINE scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your LINE data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
