跳转到内容
开始免费试用 仪表板
ZH
Architecture 7 min read

Connect an AI assistant to Helpdash with MCP

Issue a token in Settings, paste one command, and your AI client can search tickets, read the knowledge base and draft replies — bounded by your own permissions.

Helpdash exposes a Model Context Protocol (MCP) server, so an AI assistant can work inside your workspace directly instead of you copy-pasting tickets into a chat window. Ask "which tickets breach SLA today?" or "summarise this thread for the handover" and the assistant queries Helpdash itself.

This post covers what the connector exposes, how to connect one, and — the part worth reading twice — what it is not allowed to do.

What the connector exposes

The server ships 46 tools, four ready-made prompts, and one resource listing every enum value the tools accept. The tools cover tickets, live chat, the knowledge base, canned responses, projects and teammates, the dashboard, CSAT, automation rules, webhooks, settings, the activity log and billing.

Reads and writes are always separate tools. There is no catch-all api_request tool with a method parameter — searching tickets and changing one are different tools with different permissions, so an assistant granted read access cannot mutate anything by varying an argument.

The four prompts are workflows worth having pre-written:

  • Triage a ticket — recommends a priority, category and assignee. Changes nothing.
  • Draft a customer reply — drafts the text using your knowledge base and canned responses. It cannot send; the reply comes back for you to review.
  • Summarize a thread — condenses a long ticket or chat transcript for a shift handover.
  • Weekly support report — volume, SLA, CSAT and what needs attention.

Connecting a client

Open Settings → AI connectors (MCP) and issue a token. Give it a label you'll recognise later, leave every write switch off for your first one, and copy the key — it is shown exactly once.

Then register it. For Claude Code:

claude mcp add --transport http helpdash https://your-workspace.helpdash.io/mcp \
  --header "Authorization: Bearer hd_mcp_..."

For any client that reads an .mcp.json:

{
  "mcpServers": {
    "helpdash": {
      "type": "http",
      "url": "https://your-workspace.helpdash.io/mcp",
      "headers": { "Authorization": "Bearer hd_mcp_..." }
    }
  }
}

Both snippets are generated for you, filled in with your workspace URL, on the same screen where the token appears.

Clients that prefer browser sign-in can use OAuth 2.1 instead of a static token: the server publishes standard discovery documents, supports PKCE and dynamic client registration, and shows a consent screen listing exactly which scopes are being requested. No token to copy, and no key to store on disk.

What it cannot do

The connector is not a second, looser API. Every call passes the same four gates a human request does.

It acts as you. A token is bound to the operator who issued it. It inherits that person's roles and permissions exactly — if you cannot open a ticket in the app, an assistant holding your token cannot open it either. And it is bound to one workspace: there is no argument that reaches another tenant's data.

Read-only unless you say otherwise. A new token with every switch off can search, read and report, and nothing more. Write access is granted per area — change tickets, reply in live chat, edit the knowledge base, manage projects, invite teammates, change settings, change automation rules — and only the ones you tick. Reading is always included, because an assistant that can write but not read is useless.

Write tools ask first. Every tool that changes data is annotated as destructive, so a well-behaved client prompts you before each call rather than acting silently. The tools that reach a customer say so in their own description: sending a live chat message is delivered instantly and cannot be recalled, and a ticket comment defaults to an internal note so nothing reaches a customer by accident.

Secrets stay server-side. Reading your settings over a connector returns integration credentials masked. There is no argument that unmasks them.

Customer text is fenced. Ticket descriptions, comments and chat transcripts are written by other people, and a support inbox is exactly where someone would try planting instructions for an AI reading it. Helpdash wraps that text in an explicit untrusted-content block and tells the model, in the server's own instructions, that nothing inside it is a command.

Everything is logged. Each call is recorded with the operator, the tool and the outcome, in the same audit log as the rest of the workspace. If you ever need to answer "what did the assistant actually do on Tuesday?", the record is there.

Revocation is immediate. Deleting a token in Settings stops the assistant's very next request. We only ever store a SHA-256 hash of the key, so we cannot recover it for you — lose it and you issue a new one.

Tightening a token further

Two optional controls are worth knowing about. A token can carry an expiry date, which is the easiest way to make a short-lived experiment clean itself up. And it can carry an IP allowlist, so a token meant for one server cannot be used from anywhere else. Both are on the same creation form.

A reasonable first token

Issue one with no write scopes and give the assistant a read-only week. Ask it to find SLA risks, summarise noisy threads, and draft replies you send yourself. That covers most of the value with none of the exposure. When you know which write scope you actually want, issue a second token with just that one — expanding an existing token is deliberately not possible.

Every claim above describes behaviour that ships today; the connector is available on every Helpdash workspace.

Frequently asked questions

Does connecting an AI assistant send my data to an AI company?
The assistant you connect pulls the data it asks for, so it reaches whichever provider you chose — and is then covered by their terms, not ours. Helpdash never sends workspace data to a model provider on its own. Nothing moves until an admin issues a token or completes an OAuth authorisation, and revoking it stops the flow on the next request.
Can a connector see data the operator cannot?
No. A token is bound to the operator who issued it and inherits their roles and permissions exactly, plus the scopes ticked at creation. It also cannot leave the workspace it was issued in — cross-tenant access is not something a scope can unlock.
Can an AI assistant reply to customers without me?
Only if you grant a write scope, and even then the tools that reach customers are marked destructive so a well-behaved client asks before each call. Ticket comments default to internal notes: sending to the customer requires setting that explicitly. The 'draft a customer reply' prompt cannot send at all — it returns text for you to review.
What happens if someone plants instructions in a ticket?
Customer-written text arrives wrapped in an untrusted-content block, and the server instructs the model that nothing inside it is a command. Combined with write scopes being off by default and destructive tools prompting for confirmation, an injected instruction has nothing to act on.
Which AI clients work with it?
Any MCP client that speaks streamable HTTP. It is tested with Claude Code and works with clients that read an .mcp.json. Clients that prefer browser sign-in can use the OAuth 2.1 flow instead of a static token.

Run support on Helpdash

Multi-channel, multi-tenant, priced per workspace. 14-day trial, no credit card.

  • 功能

    平台的全部能力——收件箱、实时聊天、知识库、自动化、SLA 和 CSAT。

  • 定价

    按工作区而非按坐席计费的方案,包含免费套餐与白标选项。

  • 集成

    双向 Jira 同步、Google SSO、LDAP、Telegram、webhook 以及有完整文档的 REST API。

helpdash · 隐私 · Cookie 偏好设置

Cookie 偏好设置

Helpdash 使用最少的第一方分析来改进此网站。您可以在下方选择要启用的类别。

您的选择存储在此设备本地。我们不会与任何第三方共享。

  • 严格必要

    网站运作所必需(身份验证、安全、GDPR 同意状态本身)。

    始终启用
    显示详情
    Cookie 目的 时长 所有者
    helpdash-consent-v2 存储您的 Cookie 类别选择。 12 个月 helpdash.io
    helpdash-theme 记住浅色或深色主题。 12 个月 helpdash.io
  • 分析

    页面浏览计数和聚合会话指标。仅第一方 — 无第三方跟踪器。

    显示详情
    Cookie 目的 时长 所有者
    _hd_visit 匿名页面浏览计数器(第一方)。 30 天 helpdash.io
    _hd_session 将页面浏览分组为单次访问。 会话 helpdash.io
  • 功能

    记住您最近的工作空间标识用于仪表板快捷方式、主题偏好和语言选择。

    显示详情
    Cookie 目的 时长 所有者
    helpdash:last-workspace 记住最近的工作空间标识用于仪表板快捷方式。 12 个月 helpdash.io
    helpdash-locale 记住您偏好的语言。 12 个月 helpdash.io
  • 营销

    默认禁用。Helpdash 不运行广告像素;此设置保持关闭。

    显示详情

    此类别中未存储任何 Cookie。

查找您的工作空间

输入您的工作空间标识以登录。我们将带您到正确的位置。

.helpdash.io

your-team.helpdash.io

我是新用户 — 创建工作空间

忘记了?发送邮件至 support@helpdash.io