Answers from your instructions
Describe its role, what it knows and what it must not do in plain words; the next message follows it.
LINE AI chatbot guide · Agent Lab
Let AI answer your LINE Official Account: questions, order lookups, bookings. Your AI tool connects it through LINE OA MCP and tests the first message; it answers test users until you approve every friend.
> connect my LINE OA to AI
line_connect_accountsetup link sent
line_get_connectionchannel entered · webhook set
line_configure_botinstructions saved
Live: your test account got its first AI reply
What a LINE AI chatbot does
Describe its role, what it knows and what it must not do in plain words; the next message follows it.
It answers your paired test account until you approve answering every friend, signed in.
The Channel ID and Secret go on the service's own page; the AI tool never sees them.
On LINE's plans replies are free; it replies first and pushes only when the reply window has passed.
Three ways
Scroll the table sideways.
| What you care about | Your AI tool + LINE Agent SDK | Code a LINE bot yourself | Built-in auto-response |
|---|---|---|---|
| Coding | None; tell your AI tool what you want | Webhook, signature check, replies | None |
| How it answers | AI, from your instructions and data | Whatever you code | Keywords you set |
| Server and webhook | Runs on Agent Lab with a fixed HTTPS URL | Yours to host; ngrok while testing | Not needed |
| Going live | Test users first, every friend after you approve | Up to you | Every friend once saved |
| Channel Secret | Entered on a secure page | Kept by you | Not needed |
Steps
Run it on Agent Lab from the setup guide, sign in to its panel and create an agent token.
Add LINE OA MCP to Claude Code, Codex, Cursor or Gemini CLI with the token in an environment variable.
Your AI tool gives you a link. Enter the Channel ID and Secret there; no long-lived token needed. No Official Account yet? Try the shared sandbox.
Chat from your test account and tune the instructions. When it's ready, approve answering every friend.
Setup
Other tools take the same URL and Authorization header; see their pages below.
{
"mcpServers": {
"line-oa-mcp": {
"type": "http",
"url": "https://line-oa-mcp--<org>.hosting.agentlab.run/mcp",
"headers": { "Authorization": "Bearer ${LINE_AGENT_SDK_TOKEN}" }
}
}
}LINE_AGENT_SDK_TOKEN the agent token from the panel's Agent tokens page, kept in an environment variable.Channel ID / Secret entered on the secure page, never in the chat.Read https://agentlab.cresclab.com/line-agent-sdk.md and connect my LINE Official Account to AI. Answer only my test account for now. It's the front desk of my café: answer opening hours and menu questions; for bookings, ask for name, date and party size. Give me a secure link for anything I need to enter.FAQ