Freshdesk MCP Server
Enables AI agents to interact with Freshdesk, supporting ticket management, customer and company operations, agent lookup, and knowledge base search through natural language.
README
Freshdesk MCP Server
Hey! This is a custom Model Context Protocol (MCP) server for Freshdesk. It's built on top of FastMCP to let your AI agents (like Claude Desktop or custom LangChain setups) read and write directly to your Freshdesk account.
What can it do?
I've packed in a bunch of tools so the AI can handle almost any helpdesk task:
Tickets & Responses
get_tickets: Search and filter incoming tickets.get_ticket: Pull all details for a specific ticket.create_ticket: Open a new support ticket.update_ticket: Change status or priority.delete_ticket: Trash a ticket (be careful with this one).reply_ticket: Send a reply to the customer.add_note: Drop an internal or public note on a thread.list_conversations: Grab the entire back-and-forth history of a ticket.create_outbound_email: Send proactive emails (fully supports CC, BCC, tags, and custom fields).
Customers & Companies
search_contacts: Look up customers by email or phone.get_contact/create_contact/update_contact: Manage your user base.get_company/create_company: Manage companies.
Agents & Knowledge Base
list_agents/get_agent: See who is working on what.search_solution_articles/get_solution_article: Let the AI search your help docs so it can answer questions better.
How to run it locally
If you just want to run this locally on your own machine (like inside Claude Desktop), it's super simple:
- Clone this repo and set up your environment:
python -m venv venv source venv/bin/activate pip install -e . - Copy the
.env.examplefile to.envand drop in your Freshdesk domain and API key. - Start it up:
mcp dev src/freshdesk_mcp/server.py
Running it on a Network (Secure JWT Auth)
If you're hosting this on a cloud server so multiple remote agents can talk to it, you don't want just anyone hitting your API. I built a lightweight, database-free JWT authentication layer over the SSE connection to keep it safe.
Here's how to use it:
- In your
.env, set up yourJWT_SECRET_KEYand define who is allowed to connect usingALLOWED_CLIENTS=agent1:pass123,agent2:secure456. - Run the secure server wrapper:
python -m freshdesk_mcp.serve - Your clients will first need to send a
POSTrequest to/token(using Basic Auth with their agent credentials) to get a 1-hour JWT. - They can then connect to the main MCP stream by passing
Authorization: Bearer <their_token>in the headers.
(Pro-tip: If you want to make sure an AI agent can only read data and doesn't accidentally delete anything, just set STRICT_MODE=True in your .env and it will lock down all destructive tools).
License
MIT License - feel free to use and modify it however you need!
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.