Gleap MCP server for AI agents

Live

BEARER TOKEN

CUSTOMER SUPPORT

Customer Support

Gleap gives your agent customer feedback and support data in your Gleap account: search tickets and sessions, read messages and activity logs, manage help center articles, and create, update, and merge tickets.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Gleap
agent · Acme Q3
Run
How many open bug tickets do we have?
S
gleap_tickets_count
124ms
Support agent
You have 37 open bug tickets. 9 were created in the last 7 days.
Sources: Gleap tickets, 37 tickets
gleap
37 tickets
18:29
Message Claude...

Tools your customer support agent reaches for on Gleap, scoped per user.

CALL ANY TOOL
58 tools for customer support in Gleap: search tickets and sessions, read messages and activity logs, manage help center content, and create, update, snooze, and merge tickets.
gleap_companies_list
List companies
List the companies of a Gleap project, most recently seen first, optionally filtered by name. Returns a summary per company: companyId, name, plan, value, domain, lastSeenAt and createdAt. Use this to browse or find companies. Use gleap_company_get for the full record.
Parameters
Name
Type
Required
Description
project_id
string
Required
ID of the Gleap project to work in, sent in the Project header. Copy it from Settings > Project > General in the Gleap dashboard; it is the ID your SDK is initialized with. Example: 6512f0a1b2c3d4e5f6a7b8c9.
limit
integer
Optional
Companies per page, up to 200 (default 50). Example: 20.
search
string
Optional
Case-insensitive text to match in the company name. Example: Acme.
skip
integer
Optional
Number of results to skip, for paging. Example: 0.
gleap_company_delete
Delete company
gleap_company_get
Get company
gleap_company_member_add
Add company member
gleap_company_member_remove
Remove company member
gleap_company_tickets_list
List company tickets
gleap_company_upsert
Upsert company
gleap_helpcenter_article_create
Create helpcenter article
gleap_helpcenter_article_delete
Delete helpcenter article
gleap_helpcenter_article_get
Get helpcenter article
gleap_helpcenter_article_update
Update helpcenter article
gleap_message_create
Create message
gleap_message_delete
Delete message
gleap_message_update
Update message
gleap_messages_list
List messages
gleap_messages_search
Search messages
gleap_session_activities_list
List session activities
gleap_session_get
Get session
gleap_sessions_search
Search sessions
gleap_statistics_facts_get
Get statistics facts
gleap_survey_responses_list
List survey responses
gleap_team_create
Create team
gleap_team_delete
Delete team
gleap_team_update
Update team
gleap_ticket_activity_logs_list
List ticket activity logs
gleap_ticket_archive
Archive ticket
gleap_ticket_link
Ticket link
gleap_ticket_mark_spam
Ticket mark spam
gleap_ticket_unarchive
Ticket unarchive
gleap_tickets_count
Count tickets

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Gleap tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gleap"], toolNames: [
    "gleap_tickets_search",
    "gleap_ticket_get",
    "gleap_ticket_update"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Search tickets about the checkout error, read the newest one, and update its status" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gleap"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Search tickets about the checkout error, read the newest one, and update its status" }],
  tools,
});

// Execute the tool call with the user's vaulted Gleap access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gleap"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Search tickets about the checkout error, read the newest one, and update its status" }],
  tools,
});

// Tool call runs with the user's vaulted Gleap access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gleap"] }, pageSize: 100,
});

const agent = new Agent({
  name: "support_agent",
  model: "gemini-2.5-pro",
  instruction: "Gleap tools scoped to this user",
  tools,
});

await agent.run("Search tickets about the checkout error, read the newest one, and update its status");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Gleap tool. Click to copy, paste into your agent, done.
Tickets
Copy the prompt
Copied
Search tickets that mention a checkout error.
Copy the prompt
Copied
Show the activity log for ticket 4821.
Copy the prompt
Copied
Snooze ticket 4821 until Monday.
Sessions and companies
Copy the prompt
Copied
Find the session for user ID u_123.
Copy the prompt
Copied
List the tickets from Acme Corp.
Copy the prompt
Copied
Show the events from this session.
Help center and surveys
Copy the prompt
Copied
List my help center collections.
Copy the prompt
Copied
Create a help center article explaining how to reset a password.
Copy the prompt
Copied
Show the responses to my latest survey.
SEE HOW AUTH WORKS
Each user connects their own Gleap access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Gleap
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Gleap
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Gleap
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Gleap
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other customer support connectors.
Support and Ops Teams
Support ticket automation agent
Fetches new Zendesk tickets, drafts a reply from Notion knowledge base articles, digests what it cannot answer to Slack, and archives the rest, acting as the support agent rather than a shared API key.
Support and Ops Teams
Support triage agent
Fetches new Zendesk tickets, classifies them by type and urgency, searches the Notion knowledge base for an answer, and routes what it cannot resolve to Slack. Every call runs on the support agent's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other customer support connectors.
SUPPORT
Support ticket automation (Google ADK)
Fetch, annotate, and archive Zendesk tickets with Notion context, digesting anything it cannot answer to Slack.
SUPPORT
Support triage agent
Classify new Zendesk tickets, search the Notion knowledge base for an answer, and route what it cannot resolve to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Gleap access token looks fine in a demo. In production every ticket and reply looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Gleap today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Gleap as the user or through a shared key?
As the user. Each user connects their own Gleap access token once, and Scalekit sends it with every call. Audit logs attribute every ticket, message, and help center change to that user, not a shared service account.
Where is the Gleap access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Gleap?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the ticket and session read tools without gleap_ticket_delete or gleap_company_delete, which permanently remove tickets and companies. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Gleap access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent manage help center content?
Yes. The agent can read collections and articles, then create and update them with gleap_helpcenter_article_create, gleap_helpcenter_article_update, gleap_helpcenter_collection_create, and gleap_helpcenter_collection_update. Hide the matching delete tools if articles should never be removed.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""gleap"": {
""url"": ""https://mcp.scalekit.com/gleap"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.gleap]
url = ""https://mcp.scalekit.com/gleap""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""gleap"": {
""url"": ""https://mcp.scalekit.com/gleap"",
""type"": ""http""
}
}
}