How can we help?

MCP Integration Guide for LiveAgent Agents (Early Preview)

Early Preview: This article describes a feature that has not yet been officially released. It is currently under active development and subject to change. The final implementation may differ from what is described here. Contact support for the latest updates.

LiveAgent exposes a built-in MCP server (Model Context Protocol) that lets you connect external AI tools — such as Claude Desktop, Cursor, claude.ai, FlowHunt, or any other MCP-compatible client — directly to your LiveAgent account. Once connected, those tools can read ticket data and perform actions on your behalf, using your agent identity and permissions.

Finding MCP Integration in Your Profile

  1. Click your avatar in the top-right corner of the LiveAgent panel and select Edit profile.
  2. In the left-hand menu, select MCP Integration.

This screen shows your connection details, access tokens, and authorized OAuth apps. Use these values when configuring any MCP-compatible client:

Setting Value
MCP server URL https://<your-liveagent-domain>/public/api/mcp
Transport protocol Streamable HTTP
Authentication Bearer token or OAuth 2.1 (Authorization Code + PKCE)

Authentication Methods

There are two ways to authenticate your MCP client:

  • Bearer token — generate an MCP access token in your profile and paste it into the client manually. Best for desktop tools and scripts that require manual configuration.
  • OAuth 2.1 — the client discovers the authorization server automatically and redirects you to a consent screen. No manual token handling required.

Connecting with a Bearer Token

Generating an Access Token

  1. On the MCP Integration screen, click Generate token.
  2. Copy the access token immediately — it is displayed only once and cannot be retrieved later.
  3. Paste the access token into your MCP client as the Bearer token value.

Store the access token securely as soon as you generate it. If you lose it, you will need to revoke the existing token and generate a new one.

  • You can generate up to 10 active access tokens per account.
  • Access tokens expire automatically after two years from the date they were generated, regardless of usage frequency. Plan to rotate tokens before they expire to avoid interruption.
  • Having multiple tokens is useful if you connect the same account to more than one tool or device — each can be revoked independently without affecting the others.

Managing Access Tokens

The access token list on the MCP Integration screen shows each token's masked identifier and expiration date. You can revoke any individual access token — the corresponding MCP client will lose access immediately.

Connecting with OAuth

How It Works

  1. In the AI tool (for example, claude.ai), add your LiveAgent MCP server URL: https://<your-liveagent-domain>/public/api/mcp
  2. The tool contacts that URL, receives a discovery hint, and fetches LiveAgent's OAuth server metadata automatically.
  3. You are redirected to the LiveAgent login page (if not already logged in) and then to a consent screen asking you to approve the connection.
  4. After you approve, the tool receives an access token and is ready to use. No manual copy-paste required.

Your consent decision is remembered. If you connect the same tool again later, the consent screen is skipped and the flow completes silently.

Managing Authorized Apps

The MCP Integration screen in your profile lists all OAuth clients you have approved under Authorized apps. You can revoke any authorized app — the tool will lose access immediately and will need to go through the OAuth flow again to reconnect.

Administrators with the agent management privilege can view and revoke authorized apps for any agent in the account.

Available Tools

Regardless of whether you connect via Bearer token or OAuth, your AI tool has access to the full set of LiveAgent MCP tools. All actions are performed under your agent identity and are subject to your role's permissions.

Actions performed through an MCP connection count against your account's shared tool call budget. See the AI Work article for details on how the budget scales with your agent seats.

Read Tools

Tool What it does
Get ticket context Retrieve the ticket metadata and most recent messages
Get ticket messages Retrieve all ticket messages with a cursor search
Get ticket metadata Read ticket properties such as subject, timestamps, status, priority, department, and assigned agent
Get tags Read the tags currently applied to the ticket
List agents Retrieve the list of agents available in the account (needed for assignment actions)
List departments Retrieve the list of departments (needed for transfer actions)
Search tickets Search for other tickets in the system to establish context

Write Tools

Tool What it does
Add tags Apply one or more tags to the ticket
Remove tags Remove one or more tags from the ticket
Resolve ticket Set the ticket status to resolved
Reopen ticket Reopen a previously resolved ticket
Assign ticket Assign the ticket to a specific agent
Transfer ticket Move the ticket to a different department

Unlike AI Work definitions — which run FlowHunt flows automatically via rules and restrict the tool set per workflow — agent MCP access tokens give access to all tools. Your role's permissions still apply; actions your role is not permitted to perform will be rejected.

Permissions and Audit Trail

All actions taken through an MCP client — regardless of whether Bearer token or OAuth authentication is used — are attributed to your agent account, exactly as if you had performed them in the LiveAgent panel. They appear in the ticket's activity history under your name.

Administrators with the agent management privilege can view and revoke both MCP access tokens and authorized OAuth apps for any agent in the account.

Related Articles

MCP Integration Guide for LiveAgent Agents (Early Preview)