Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect LINE WORKS to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/line-works.md
Business Apps

How to connect LINE WORKS to AI agents

TL;DR

The short answer
VerdictBusiness or paid only There is an official route, but it needs a business contract, a specific paid plan, a seller or similar role, or a review
Who can use itAdministrators and members of organizations that have a LINE WORKS contract. The API Service Terms of Use define API users as 'corporations and other organizations', and use presupposes an organization tenant plus app registration and permission settings by an administrator. It is not a service for individuals.
MethodOfficial MCP (remote)
PricingThere is no per-call charge for the API or WORKS MCP. Costs are the plans' per-user prices: the free plan is free for up to 30 users; Standard is ¥450/user/month on annual billing or ¥540 on monthly billing; Advanced is ¥800 or ¥960 (all before tax). API rate limits vary by plan (in principle, 60 requests/minute per API on the free plan and 240 on paid plans; some APIs have lower per-API caps common to all plans).
RiskA Service Account is an administrator-class virtual account: if its private key leaks, the whole tenant can be read and written within the granted scopes. Through WORKS MCP, work data containing third parties' personal information, such as mail bodies, is sent to external AI services. The official page states that confirming the connected AI's training opt-out setting is the user's responsibility.

The business chat that connects with LINE. It has an official MCP, 'WORKS MCP': once an administrator adds the app, members can check and operate mail, calendar and tasks from Claude, ChatGPT and other AI services. There is also a public API 2.0 (REST) covering bot messaging and member management via OAuth 2.0 / Service Accounts (JWT). Pricing is centered on per-user plan fees, and the API and WORKS MCP work even on the free plan (free for up to 30 users). However, use presupposes an organization tenant, and the API Service Terms of Use define API users as corporations and other organizations.

AuthenticationFor WORKS MCP, members sign in with their own LINE WORKS account to authenticate the connection. The API has two schemes: user-authorized OAuth 2.0 (authorization code flow + OIDC; access tokens valid 1 hour or 24 hours; refresh tokens 90 days) and Service Accounts issued by an administrator in the Developer Console (a JWT signed with a private key, RS256, exchanged for a token).
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverYes

Hosting: Remote

LINE WORKS' official hosted MCP server, 'WORKS MCP'. An administrator adds it from the app directory and sets the members and features that can use it. Members follow the start guide to connect from MCP-capable AI services such as ChatGPT and Claude, and authenticate with their LINE WORKS account. It covers mail, calendar and tasks; sending to talk (chat) rooms is handled by the API 2.0 Bot, not the MCP. Administrators can set masking rules for information passed to the AI (basic patterns plus custom regular expressions). Available features depend on the contract plan and the administrator's permissions. Note that the mail feature itself is offered on the Advanced plan (Drive is also available as an add-on option), so mail through WORKS MCP is limited to contracts on such plans. MCP tool names and the connection URL are not published; they are provided in the start guide after the app is added.

https://line-works.com/line-works/appdirectory/works-mcp/

Official guide for AI agentsNo

No AI/agent guide such as llms.txt was found. Developer documentation is publicly available at developers.worksmobile.com.

Tools of the official MCP server

ToolTypeWhat it does
メール検索・確認・要約ReadSearches received mail and checks or summarizes its contents (organized from the official page's feature descriptions; actual tool names are not published).
カレンダー確認・予定登録WriteChecks schedules and free time (read) and registers meeting events (write) (organized from the official page's feature descriptions; actual tool names are not published).
タスク確認・登録WriteChecks your own tasks (read) and registers new tasks (write) (organized from the official page's feature descriptions; actual tool names are not published).

Connectors

Official connectors from AI services

Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot

Third-party integration services

  • Yoom

    Yoom has a LINE WORKS (API 2.0) app, with actions such as sending messages to talk rooms and registering calendar events. You connect by registering the app in Yoom's My Apps, using the Developer Console app information.

Not supported: Zapier, Make, n8n, Power Automate, IFTTT, Pipedream, Composio

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • LINE WORKS AiNote MCP(iwaohig)

    An unofficial MCP server for reading LINE WORKS' AI meeting notes 'AiNote' — summaries and transcripts, read-only. It is positioned as a complement, because the official WORKS MCP does not include AiNote. It authorizes with OAuth 2.0 and stores tokens in the OS keychain. Meeting notes densely contain confidential remarks and participants' personal information, so they need especially careful handling.

Security assessment

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Official MCPOfficial MCP serverThe service provider
Permissions requiredRead and write

Limited to the members and features the administrator permits: mail search and reading, calendar reading and event registration, task reading and registration, and similar. The official page says administrators should enable write features only after examining their necessity.

Terms of serviceConditional

The LINE WORKS Service Terms of Use apply. The official page's compliance notes state that confirming the training opt-out setting on the AI tool side is the customer's responsibility, as is judging the legality of providing data.

Source: relevant section of the terms

Data pathMail, calendar and task data is sent to the connected external AI service. The official page states that sent information may include personal information of third parties other than your own users (mail senders, meeting attendees, contacts), and that masking does not guarantee removal of all personal or confidential information.
Third-party integrationYoomOfficial from the integration service
Permissions requiredRead and write

Within the scopes of the Developer Console app registered with Yoom. Limited to the actions Yoom provides, such as bot message sending and event registration.

Terms of serviceConditional

Credential management follows the API terms' duty of care. How credentials deposited with Yoom are handled also depends on Yoom's own policies.

Source: relevant section of the terms

Data pathMessages and calendar data handled in flows pass through Yoom's servers. Connecting requires registering the LINE WORKS app's credentials with Yoom.
Unofficial MCPLINE WORKS AiNote MCP(iwaohig)Third party (unofficial)
Permissions requiredRead only

Read-only reference to your own AiNote items: list, search, summaries and transcripts (stated to be read-only).

Terms of serviceConditional

A read-only implementation that works within the official API. The provider is not LINE WORKS and use is at your own risk. Unlike the official WORKS MCP, administrator masking and central control do not apply, and members connecting individually can fall outside organizational governance.

Source: relevant section of the terms

Data pathThe author describes it as running locally and connecting directly to the LINE WORKS API, but as a third-party implementation you should check the source code before use for any unintended external transmission. Retrieved meeting-note data is sent via the MCP client to the inference LLM provider.

Data you can fetch within the terms of service

Through API 2.0 you can read and write member and organization information, bot message sending, mail, calendar, tasks, Drive and more, within your scopes. Rate limits are in principle 60 requests/minute per API on the free plan and 240 on paid plans (some APIs have lower per-API caps common to all plans; e.g., creating a talk room is 10/minute), and concurrent connections are capped at 5 across the domain. WORKS MCP covers only the features the administrator permits, such as mail, calendar and tasks.

ScrapingNot stated in terms

Use of the API is governed by the LINE WORKS API Service Terms of Use, which define API users as corporations and other organizations. The terms require managing authentication codes and API access tokens so they are not known to third parties, and prohibit using other people's accounts or Service Accounts, reverse engineering, and placing excessive load on the service. There is no wording naming scraping, but automating the screens is not an intended method of use.

Source: relevant section of the terms of service

Fetching with the agent's own browser

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

Usage

How to connect

  1. Prepare a LINE WORKS tenant for your organization (the API and WORKS MCP work on the free plan too).
  2. To use mail, calendar and tasks from an agent, an administrator adds the 'WORKS MCP' app from the admin console and sets the members and features that can use it.
  3. Members follow the start guide to connect to WORKS MCP from their AI service and authenticate with their LINE WORKS account.
  4. To connect your own systems, register an app in the Developer Console, obtain the Client ID and Client Secret (and, if needed, a Service Account and private key), and call the API.

Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

Enable WORKS MCP and connect from an AI service
1. 管理者が管理者画面から「WORKS MCP」アプリを追加し、利用するメンバーを設定する
2. 管理者が任意で、利用できる機能とマスキングルールを設定する
3. メンバーはアプリ追加後にアクセスできるスタートガイドに従い、使う AI サービス(Claude・ChatGPT 等)から WORKS MCP に接続する
4. メンバーが LINE WORKS アカウントでログインして接続を認証する

The connection URL and detailed steps are provided in the start guide, accessible after the app is added (they are not on the public page). The AI service must support MCP connections.

Official page checked: https://line-works.com/line-works/appdirectory/works-mcp/

Claude Code (WORKS MCP)
claude mcp add --transport http line-works <スタートガイドに表示される接続先URL>

The connection URL is not published; it appears in the start guide accessible after an administrator adds the WORKS MCP app. Members authenticate with their LINE WORKS account when connecting. Whether this command form works is unverified.

Official page checked: https://line-works.com/line-works/appdirectory/works-mcp/

Get the bot list via the API
curl 'https://www.worksapis.com/v1.0/bots' -H 'Authorization: Bearer <アクセストークン>'

Replace <access token> with one obtained via OAuth 2.0 or a Service Account (JWT). API endpoints are under https://www.worksapis.com/v1.0/.

Official page checked: https://developers.worksmobile.com/en/docs/api-call

Limiting the features

WORKS MCP: administrators restrict members and features
管理者画面で、利用できるメンバー、AI から利用できる機能(メール/カレンダー/タスク)、AI へ渡す情報のマスキングルールを設定する

This is the scoping method the official page describes. It states that write features should be enabled only after examining their necessity, and that masking is not complete.

Official page checked: https://line-works.com/line-works/appdirectory/works-mcp/

API: scope it down (mind the Service Account limits)
アプリごとに必要な Scope だけを付与する。Service Account で呼べない API(メール、グループノート等)はユーザー認可(OAuth 2.0)に切り替える

Scopes are specified when registering the app in the Developer Console. Only one Service Account can be issued per app, and through administrator delegation it can access members' data within the scopes granted to the app.

Official page checked: https://developers.worksmobile.com/en/docs/auth-jwt

Summarizing received mail (WORKS MCP)

Instruction to the agent

Summarize the mail I received yesterday that needs my attention

After connecting WORKS MCP, you can search and summarize received mail from a conversation with the AI service. Because senders' personal information is included, the administrator's masking settings and confirmation of the AI side's training opt-out are prerequisites. The mail feature itself requires an Advanced plan or equivalent contract.

Sending a notification from a bot (API)

Instruction to the agent

Send this message to the talk room from the bot

Get the bot list with curl -X GET 'https://www.worksapis.com/v1.0/bots' -H 'Authorization: Bearer <access token>', then send a message to a talk room with POST https://www.worksapis.com/v1.0/bots/{botId}/channels/{channelId}/messages (scope bot.message, etc.).

Pitfalls and tips

Pitfalls

  • The API moved to API 2.0 in April 2022; articles and samples written for the old API 1.0 differ starting from the authentication scheme. Copying them as-is will not work.
  • Some APIs cannot be used with a Service Account (mail, group notes, etc.; you also cannot specify 'me' as {userId}). Those require user-authorized OAuth 2.0.
  • Concurrent connections are capped at 5 across the whole domain. A high-parallelism batch sending to all members will hit 429 (Concurrent access fail).
  • WORKS MCP's masking is pattern-based and not complete. The official page states that names and sensitive information in body text may not be removed.
  • The official MCP for consumer LINE (line-bot-mcp-server) is a separate product for LINE Official Accounts and is unrelated to LINE WORKS. Do not confuse them.
  • Cancelling LINE WORKS deletes all data. You must store any data retrieved via the API yourself.

Tips

  • If you only need to send notifications, the Incoming Webhook app is often enough. No API app registration or token management is needed, and you can post from Zapier, Make or IFTTT. However, the webhook URL itself is a secret — anyone who knows it can post without authentication — so manage it so it does not leak.
  • For bulk sending or member synchronization, watch the RateLimit-Remaining response header to pace requests, and keep parallelism below 5.
  • For WORKS MCP, it is safer to enable read-only features first and have the administrator expand write features (event and task registration) only when needed.

Test environment and change history

How it was checkedChecked against official documentation
Clients triedNot yet tried with a real client

WORKS MCP's specifications and compliance notes were confirmed in the official app directory, API authentication and endpoints in the Developers documentation, and terms of use in the API Service Terms of Use. No organization tenant was contracted and no administrator settings were made, so no live connection was performed.

Change history

  • First edition

Sources

Official and primary sources

Pages published by the service provider, the integration provider or the MCP author about their own product.

References (third-party write-ups)

Third-party blogs and roundups. We use them only to supplement facts confirmed in official sources.

Related articles

How to connect kintone to AI agents

Official, individuals OK

How to connect Instagram to AI agents

Business or paid only

How to connect Chatwork to AI agents

Official, individuals OK

How to connect Amazon to AI agents

Business or paid only