Crescendo Lab Docs Deploy
English
Sign up

LINE OA MCP and LINE Agent SDK

Connect a LINE Official Account to a LINE AI Agent from an AI tool. Allowed steps run on their own; steps for a person are marked and detected when done.

Last updated

What it is#

LINE Agent SDK is the connection layer between an AI agent and a LINE Official Account (LINE OA). Whether you call the result a LINE Bot or a LINE AI Agent, it does one job: let an AI tool walk a person through the connection until the first real LINE message arrives.

  • LINE OA MCP: MCP tools for Claude Code, Codex and Cursor.
  • HTTP API: the same operations for programs that don't use MCP.
  • Panel: the page where a person enters the Channel ID and Channel Secret and follows each step. The AI tool never handles a credential.

Three ways in#

What LINE does and doesn't let you automate#

StepWhoHow it's known to be done
Create a LINE Official AccountA person, in LINE Official Account ManagerNo API
Enable the Messaging API and choose a providerA person; the provider defaults to your company name and can't be changed once createdNo API
Enter the Channel ID and Channel SecretA person, in the panelA stateless channel access token is issued with them
Set the webhook URLAutomaticWritten, then read back
Turn on "Use webhook"A person, in the LINE Developers consoleDetected automatically: LINE reports active
Add the account as a friend and send the pairing codeA person, on a phoneThe webhook receives the code
Send the first messageAutomatic, a reply to the pairing messageLINE accepts it, and replies don't use the monthly quota

Next#