freshdesk-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@freshdesk-mcp-server list open tickets assigned to me"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
freshdesk-mcp-server
Enterprise-grade MCP (Model Context Protocol) server for Freshdesk. Gives AI agents (Claude, GPT-4, Gemini, etc.) full agentic access to your Freshdesk helpdesk — read and write tickets, contacts, knowledge base articles, and more.
33+ tools across 5 configurable toolsets. Dual transport: stdio (local) and Streamable HTTP (remote/cloud). Production-ready with rate limiting, retry logic, caching, PII redaction, and prompt injection protection.
Quick Start
Claude Desktop (stdio)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"freshdesk": {
"command": "npx",
"args": ["freshdesk-mcp-server"],
"env": {
"FRESHDESK_DOMAIN": "yourcompany",
"FRESHDESK_API_KEY": "your_api_key"
}
}
}
}Remote / Cloud (Streamable HTTP)
{
"mcpServers": {
"freshdesk": {
"url": "https://freshdesk-mcp-server-REPLACE_WITH_HASH-REPLACE_WITH_REGION.a.run.app/mcp"
}
}
}Related MCP server: Freshservice MCP Server
Getting Your API Key
Log in to Freshdesk
Click your avatar (top right) → Profile Settings
Scroll to Your API Key → Copy
Tool Reference
All 33+ tools in 5 toolsets. Enable specific toolsets via MCP_ENABLED_TOOLSETS.
CORE (always loaded — 15 tools)
Tool | Description |
| Get a ticket with optional sideloads (conversations, requester, stats) |
| List tickets with filters and sorting |
| Search with Freshdesk query language ( |
| Create a new ticket |
| Update status, priority, assignment, tags |
| Send customer-facing reply |
| Add private/public agent note |
| Get full ticket thread |
| Get a contact by ID |
| List contacts with filtering |
| Search contacts |
| Create a new contact |
| Update contact details |
| List agents by type and group |
| Get agent profile |
KB (opt-in — 9 tools)
Solution articles, folders, categories, and canned responses.
Analytics (opt-in — 4 tools)
CSAT satisfaction ratings and time tracking entries.
Bulk (opt-in — 3 tools)
Bulk update up to 25 tickets, delete tickets, merge contacts.
Admin (opt-in — 4 tools)
Groups, ticket fields, SLA policies, and automation rules.
See docs/TOOLS.md for the complete reference.
Configuration
Variable | Default | Required | Description |
| — | ✅ | Your Freshdesk subdomain |
| — | ✅ | Your Freshdesk API key |
|
|
| |
|
| HTTP port (remote mode) | |
|
| Comma-separated: | |
|
| Stop at this % of rate limit remaining | |
|
|
| |
|
| PII fields to redact from responses |
See docs/CONFIGURATION.md for full reference.
Toolset Selection
# Core only (recommended for most use cases)
MCP_ENABLED_TOOLSETS=core
# Add knowledge base tools
MCP_ENABLED_TOOLSETS=core,kb
# Everything
MCP_ENABLED_TOOLSETS=core,kb,analytics,bulk,adminCloud Run Deployment
Deploy to Google Cloud Run using the one-time setup script and GitHub Actions CI/CD:
# One-time setup — provisions all required Google Cloud resources
GITHUB_REPO="YOUR_ORG/freshdesk-mcp-server" bash infra/cloud-run/setup.sh
# Add the four output values as GitHub Actions secrets, then push to main:
git push origin mainSee docs/DEPLOYMENT.md for full guide.
Security
PII Redaction:
phone,mobile, andtwitter_idfields are redacted from all API responses before they reach the LLM. Configurable viaREDACT_FIELDS.Prompt Injection Detection: All tool inputs are scanned for injection patterns (
<IMPORTANT>,ignore previous instructions, zero-width spaces, etc.).Authentication: Uses Freshdesk API key via HTTP Basic Auth. Keep your API key in a secret manager (Google Cloud Secret Manager, not in
envin production).Rate Limiting: Proactive rate limit tracking using
X-RateLimit-Remainingheaders with a configurable buffer threshold.
Development
git clone https://github.com/YOUR_USERNAME/freshdesk-mcp-server
cd freshdesk-mcp-server
npm install
cp .env.example .env # Fill in FRESHDESK_DOMAIN and FRESHDESK_API_KEY
# Development (watch mode)
npm run dev
# Run tests
npm test
# Type check
npm run typecheck
# Build
npm run build
# Inspect with MCP Inspector
npm run inspectEnd-to-End Testing
We provide a comprehensive manual bash script to test the deployed Cloud Run service across all toolsets, verify HTTP validation, security, and (optionally) performance testing with k6.
# Basic run (skips Freshdesk API calls, k6 load testing, and GCP observability checks)
E2E_SERVICE_URL="https://your-service-url.run.app" ./tests/e2e/run-e2e.sh --skip-functional --skip-perf --skip-observability
# Full run (prompts before creating real test data in Freshdesk)
./tests/e2e/run-e2e.sh --url "https://your-service-url.run.app"Use ./tests/e2e/run-e2e.sh --help to see all available CLI options.
Comparison
Feature | This Server | effytech | Enreign |
Tools | 33+ | ~10 | ~15 |
Toolsets | 5 configurable | Fixed | Fixed |
Streamable HTTP | ✅ | ❌ | ❌ |
stdio | ✅ | ✅ | ✅ |
PII Redaction | ✅ | ❌ | ❌ |
Injection Protection | ✅ | ❌ | ❌ |
Rate Limiting | ✅ | Partial | ❌ |
Caching | ✅ | ❌ | ❌ |
Cloud Run Deployment | ✅ (IaC) | ❌ | ❌ |
TypeScript | ✅ | ✅ | ❌ |
Test Coverage | ✅ 80%+ | ❌ | ❌ |
Contributing
Fork the repo and create a feature branch
Write tests for any new tools or behavior changes
Run
npm run typecheck && npm run lint && npm test— all must passSubmit a PR with a clear description of changes
License
Available Tools
15 toolsadd_noteA
Add an internal note to a Freshdesk ticket. By default, notes are private (visible only to agents). Set private=false for customer-visible notes.
Inputs: body (required), ticket_id (required), private, notify_emails.
create_contactB
Create a new Freshdesk contact. At minimum, provide a name. Email is recommended for ticket routing.
Inputs: name (required), tags, email, phone, +4 more.
create_ticketA
Create a new support ticket. Requires either email (auto-creates contact) or requester_id. Returns the created ticket with its ID. Use for programmatic ticket creation, not customer replies.
Inputs: subject (required), description (required), tags, type, +8 more.
get_agentARead-onlyIdempotent
Retrieve a single Freshdesk agent by ID with full profile details.
Inputs: agent_id (required).
get_contactBRead-onlyIdempotent
Retrieve a single Freshdesk contact by ID.
Inputs: contact_id (required).
get_ticketARead-onlyIdempotent
Retrieve a single Freshdesk ticket by ID with optional related data (conversations, requester, company, stats). Use include=["stats"] to get SLA timestamps. Use include=["conversations"] to get the full thread.
Inputs: ticket_id (required), include.
list_agentsARead-onlyIdempotent
List all Freshdesk agents. Optionally filter by type (fulltime/occasional) or group. Results are cached for 1 hour.
Inputs: page, state, group_id.
list_contactsBRead-onlyIdempotent
List Freshdesk contacts with optional filtering by email, phone, or company.
Inputs: page, email, phone, per_page, +1 more.
list_conversationsBRead-onlyIdempotent
List all conversations (replies and notes) for a ticket. Returns the full email thread and any agent notes. Results are cached for 1 minute.
Inputs: ticket_id (required), page, per_page.
list_ticketsARead-onlyIdempotent
List Freshdesk tickets with filtering, sorting, and pagination. Returns up to 100 tickets per page. Use updated_since to get recent changes only. Default sort: newest first. Results are cached for 1 minute.
Inputs: page, filter, order_by, per_page, +2 more.
reply_to_ticketA
Send a reply to a Freshdesk ticket. The reply is sent to the requester and any CC/BCC addresses. Use HTML for formatting.
Inputs: body (required), ticket_id (required), cc_emails, bcc_emails.
search_contactsBRead-onlyIdempotent
Search Freshdesk contacts by name, email, phone, or company.
Inputs: query (required), page.
search_ticketsARead-onlyIdempotent
Search tickets using Freshdesk query language. Max 300 results total (30/page × 10 pages). Query syntax: "status:2 AND priority:4" for open+urgent. Searchable: agent_id, group_id, priority, status, tag, type, due_by, fr_due_by, created_at, updated_at, requester_id, company_id. Date format: 'YYYY-MM-DD'.
Inputs: query (required), page.
update_contactCIdempotent
Update a Freshdesk contact. Provide only the fields you want to change.
Inputs: contact_id (required), name, tags, email, +5 more.
update_ticketBIdempotent
Update a ticket's properties (status, priority, assignment, tags, custom fields). Cannot update subject or description of outbound tickets. Provide only the fields you want to change.
Inputs: ticket_id (required), tags, type, status, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools map cleanly to a resource+action, but list_contacts (filter by email/phone/company) and search_contacts (search by name/email/phone/company) overlap substantially, forcing the agent to guess which to use. Similarly, get_ticket's include=["conversations"] option partially duplicates list_conversations. These are edge overlaps rather than systemic confusion.
Uniform snake_case verb_noun pattern throughout: get_/list_/search_/create_/update_ across tickets, contacts, and agents, plus reply_to_ticket and add_note which fit the same verb-first convention. No mixing of styles or casing.
15 tools sits squarely in the well-scoped range, and each maps to a distinct Freshdesk operation without filler. The ticket/contact/agent split with three actions per core resource is proportionate to the domain.
Contacts have full CRUD and tickets cover create/read/list/search/update plus reply and note, which handles the main support lifecycle. Gaps remain: no ticket delete, no conversation/note editing or attachment handling, no company or group endpoints (despite company filters appearing on contacts), and agents are read-only.
Maintenance
Related MCP Connectors
Read tickets, contacts, companies, agents and groups; create, update and reply to tickets.
Manage Ticketdesk AI support tickets: create, reply, add notes, assign, tag, prioritize and close.
Work your HelpRabbit help desk: tickets, replies, customers, the AI agent and its knowledge.
Work your miniDesk support inbox from AI apps: read conversations, search docs, draft replies.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI models to interact with Freshservice IT service management platform, allowing automated ticket management, change requests, asset tracking, and solution article operations through natural language commands.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to connect with Freshservice ITSM for managing tickets, assets, agents, and organizational data through natural language. It provides a comprehensive set of tools for performing CRUD operations on service desk records and searching across the Freshservice platform.531MIT
- AlicenseNot gradedqualityBmaintenanceProvides AI assistants with structured access to the Freshdesk customer support platform, including tickets, contacts, companies, agents, groups, knowledge base, and SLA configuration. Features decision-tree navigation and destructive-action guardrails.Apache 2.0
- AlicenseBqualityCmaintenanceEnables AI agents to interact with Freshdesk, supporting ticket management, customer and company operations, agent lookup, and knowledge base search through natural language.19MIT