Admin Pages
Jitbit MCP Server
The Jitbit Helpdesk MCP (Model Context Protocol) server lets AI assistants search and read support tickets and knowledge base articles directly from your helpdesk. It works with both SaaS and self-hosted installations.
There are two ways to connect:
- Hosted HTTP endpoint — built into Jitbit Helpdesk. Nothing to install. Recommended for most users.
- Local npm package — jitbit-helpdesk-mcp runs on your machine over stdio. Use this with clients that don't yet support the Streamable HTTP transport.
These are outbound MCPs for the AI Assistant: your own AI agent connects to Jitbit Helpdesk and uses Jitbit's tools. If you want the opposite direction - Jitbit's AI connecting to your MCP server and using your tools - see AI external tools.
Getting your API token
- Log in to your Jitbit Helpdesk
- Go to your User Profile (click your avatar in the top right)
- Click the "API Token" button
- Copy the token
Option 1: Hosted HTTP endpoint
Your Jitbit Helpdesk exposes an MCP endpoint at /api/mcp over HTTPS. Any MCP client that speaks the Streamable HTTP transport can connect directly.
On-premise
Available in Jitbit Helpdesk v11.21 and later. The SaaS version always has it.
- URL:
https://yourcompany.jitbit.com/api/mcp - Auth header:
Authorization: Bearer <your-api-token> - Transport: Streamable HTTP (stateless)
Claude Code
claude mcp add --transport http jitbit-helpdesk https://yourcompany.jitbit.com/api/mcp \
--header "Authorization: Bearer your-api-token"
Claude Desktop, Cursor, Windsurf
Add to your config file:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows) - Cursor: Settings > MCP Servers
- Windsurf: Settings > MCP Servers
{
"mcpServers": {
"jitbit-helpdesk": {
"type": "http",
"url": "https://yourcompany.jitbit.com/api/mcp",
"headers": {
"Authorization": "Bearer your-api-token"
}
}
}
}
Option 2: Local npm package (stdio)
Use this if your MCP client doesn't support HTTP transport yet, or if you prefer running the server locally.
Claude Code
claude mcp add jitbit-helpdesk \
-e JITBIT_URL=https://yourcompany.jitbit.com \
-e JITBIT_TOKEN=your-api-token \
-- npx -y jitbit-helpdesk-mcp
Claude Desktop, Cursor, Windsurf
{
"mcpServers": {
"jitbit-helpdesk": {
"command": "npx",
"args": ["-y", "jitbit-helpdesk-mcp"],
"env": {
"JITBIT_URL": "https://yourcompany.jitbit.com",
"JITBIT_TOKEN": "your-api-token"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
JITBIT_URL | Yes | Base URL of your Jitbit instance (SaaS: https://yourcompany.jitbit.com, self-hosted: your server URL) |
JITBIT_TOKEN | Yes | API token from your Jitbit user profile |
Available Tools
Once configured, the MCP server exposes the following tools that the AI assistant can call automatically. All are read-only except jitbit_add_comment.
Search Tickets
Tool name: jitbit_search_tickets
Search tickets by keyword or phrase. Matches against ticket subjects and bodies.
Parameters:
query(string, required) — search query (minimum 3 characters)limit(number, default 25) — max results (1-100)
Example use: "Search for tickets about password reset" — the AI calls jitbit_search_tickets with query "password reset" and returns matching tickets.
List Tickets
Tool name: jitbit_list_tickets
List and filter tickets by mode and status.
Parameters:
mode(string, optional) —"all","unanswered","unclosed","unassigned", or"handledbyme"status(string, optional) — filter by ticket status namelimit(number, default 25) — max results (1-100)offset(number, default 0) — pagination offset
Example use: "Show me unanswered tickets" — the AI calls jitbit_list_tickets with mode "unanswered".
Get Ticket
Tool name: jitbit_get_ticket
Get a single ticket with its full conversation thread, including subject, body, status, priority, category, tags, and all comments.
Parameters:
ticketId(number, required) — the ticket ID
Example use: "Show me ticket #4521" — the AI calls jitbit_get_ticket with ticketId 4521 and returns the full ticket details and conversation history.
Search Knowledge Base
Tool name: jitbit_search_kb
Search knowledge base articles by keyword or phrase. Matches against article subjects, bodies, and tags. Only articles you have permission to see are returned.
Parameters:
query(string, required) — search query (minimum 3 characters)limit(number, default 25) — max results (1-100)
Example use: "Find KB articles about VPN setup" — the AI calls jitbit_search_kb with query "VPN setup" and returns matching articles with their IDs, categories, and tags.
Get Knowledge Base Article
Tool name: jitbit_get_kb_article
Get a single knowledge base article with its full content, including subject, category, tags, and dates.
Parameters:
articleId(number, required) — the article ID
Example use: "Read KB article #87" — the AI calls jitbit_get_kb_article with articleId 87 and returns the full article text, which it can summarize or paste into a ticket reply.
Add Comment
Tool name: jitbit_add_comment
Add a comment (reply) to a ticket. The comment is posted as the authenticated API user. Tech-only comments are allowed only for admins or technicians with access to the ticket's category.
Parameters:
ticketId(number, required) — the ticket ID to comment onbody(string, required) — the comment text (plain text is accepted and converted to HTML)forTechsOnly(boolean, required) —truefor an internal note visible only to technicians,falsefor a reply visible to the customer
Example use: "Reply to ticket #1234 telling the customer we've shipped the fix" — the AI calls jitbit_add_comment with ticketId 1234, the reply text, and forTechsOnly: false.
What You Can Do With It
Once connected, you can ask your AI assistant things like:
- "Search for tickets about SSO login issues"
- "Show me all unanswered tickets"
- "Get the details of ticket #1234"
- "Find tickets related to billing"
- "List unclosed tickets and summarize them"
- "Search the knowledge base for our refund policy"
- "Read KB article #87 and draft a reply for ticket #1234"
- "Reply to ticket #1234 with the workaround from KB article #87"
- "Add an internal note to ticket #1234 flagging it for the billing team"
The AI assistant handles tool selection automatically — just ask in natural language.
Security
- The only tool that writes anything is
jitbit_add_comment, which adds ticket replies — the MCP server cannot create, delete, or otherwise modify tickets, and every other tool is read-only - All calls use your personal API token, so the AI sees only what you have access to, and any comments it posts are attributed to you
- For the hosted endpoint, the token is sent as a
Bearerheader over HTTPS - For the npm package, the token is stored locally in your MCP configuration and is never sent to third parties