Skip to main content
Glama

LINE Issue MCP

系统从 LINE 官方账号/群组接收客户问题,然后使用 AI 对消息进行分诊,在 GitLab 中检查最近的提交以及相关的 route/path,再自动在 Client Issues 列表中创建 ClickUp 任务。

流程

LINE OA / Group
      │ webhook + signature
      ▼
HTTP /webhooks/line
      │
      ▼
OpenAI Responses API
  classify + priority + summarize + search terms
      │
      ▼
GitLab recent commits + commit diffs
  rank related commits + paths + routes
      │
      ▼
ClickUp / Client Issues
  task + tag + priority + GitLab evidence

分类:Bug, Feature Request, Q&A
优先级:Low, Medium, High, Critical

Related MCP server: Kepler MCP GitLab Server

开始使用

需要 Node.js 20 或更高版本。

npm install
copy .env.example .env
npm run dev

设置 .env,至少需要:

  • LINE_CHANNEL_SECRET: 来自 LINE Developers > Messaging API channel

  • OPENAI_API_KEY: 用于 Responses API 的 API key

  • GITLAB_TOKEN: 有读取 repository 权限的 token

  • GITLAB_PROJECT: namespace/project

  • CLICKUP_API_TOKEN: personal token 或 OAuth token

  • CLICKUP_LIST_ID: Client Issues 列表的 ID(推荐方式)

如果没有设置 CLICKUP_LIST_ID,则设置 CLICKUP_TEAM_ID;系统会在该 Workspace 的所有 Space/Folder 中查找名称与 CLICKUP_LIST_NAME=Client Issues 一致的 List。

将 LINE webhook URL 设置为公开的 HTTPS URL:

https://your-domain.example/webhooks/line

健康检查位于 GET /health

MCP 工具

通过 stdio 运行 MCP server:

npm run mcp

有 2 个工具:

  • analyze_client_issue: 分析并查找 GitLab 上下文,但还不会创建任务

  • create_client_issue: 完成完整流程并创建 ClickUp 任务

MCP client 配置示例:

{
  "mcpServers": {
    "line-issue": {
      "command": "npm",
      "args": ["run", "mcp"],
      "cwd": "C:/absolute/path/to/line-issue-mcp"
    }
  }
}

重要行为

  • 在接收事件之前,从 raw request body 中检查 x-line-signature

  • 立即响应 LINE webhook,然后在后台处理

  • 使用 webhookEventId 防止同一 process 中的重复事件

  • GitLab 失败不会阻止创建 ClickUp 任务,而是会在任务中标注 warning

  • Q&A 默认会创建一个任务,可通过 CREATE_QA_TASKS=false 关闭

  • OpenAI 请求使用 Structured Outputs 和 store: false

上线前

这个 MVP 将事件去重保存在内存中,适合单实例。对于生产环境,还应增加持久化队列和幂等存储(如 Redis/Postgres)、重试/死信队列、密钥管理器,以及仓库/ClickUp 工作区的 allowlist。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    A Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.
    100
    3,360
    146
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Production-ready MCP server providing GitLab integration with OAuth authentication, enabling AI assistants to manage projects, issues, merge requests, branches, files, and commits across GitLab instances.
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server that integrates the LINE Messaging API to enable AI agents to send messages and manage LINE Official Accounts.
    12
    1,252
    770
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

  • The Teamwork.com official MCP server helps teams efficiently manage client projects with AI.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rratchapol/line-issue-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server