How to integrate Freshdesk MCP with Claude Code

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Freshdesk logo
Claude Code logo
divider

Introduction

Manage your Freshdesk directly from Claude Code with zero worries about OAuth hassles, API-breaking issues, or reliability and security concerns.

You can do this in two different ways:

  1. Via Composio Connect - Direct and easiest approach
  2. Via Composio SDK - Programmatic approach with more control

Also integrate Freshdesk with

Why use Composio?

  • Only one MCP URL to connect multiple apps with Claude Code with zero auth hassles.
  • Programmatic tool calling allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Handling Large tool responses out of LLM context to minimize context rot.
  • Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so LLMs aren't overwhelmed by tools you don't need.

Connecting Freshdesk to Claude Code using Composio

1. Add the Composio MCP to Claude

Terminal

2. Start Claude Code

bash
claude

3. Open your MCP list

bash
/mcp

4. Select Composio and click on Authenticate

Select Composio and click Authenticate

5. This will redirect you to the Composio OAuth page. Complete the flow by authorizing Composio and you're all set.

Composio OAuth authorization page
Composio authorization complete
Ask Claude to connect to your account and authenticate via the link

Supported Tools & Triggers

Tools
Add Note to TicketTool to add a private or public note to an existing ticket in Freshdesk.
Add Ticket User AccessTool to add agent access to a specific ticket in Freshdesk.
Add Watcher to TicketTool to add the authenticated user as a watcher to a Freshdesk ticket.
Bulk Unwatch TicketsTool to remove the authenticated user as a watcher from multiple Freshdesk tickets in bulk.
Bulk Update TicketsTool to update multiple tickets simultaneously in bulk.
Cancel Contact ImportTool to cancel an ongoing contact import operation in Freshdesk.
Create Admin GroupTool to create a new admin group in Freshdesk.
Create Admin GroupTool to create a new admin-level support agent group in Freshdesk.
Create Admin Ticket FieldTool to create a new custom ticket field in Freshdesk.
Create Admin Ticket Field SectionTool to create a new section within a ticket field in Freshdesk.
Create Multiple AgentsTool to create multiple agents in Freshdesk in a single bulk operation.
Create Canned ResponseTool to create a new canned response in Freshdesk.
Bulk Create Canned ResponsesTool to create multiple canned responses in bulk via asynchronous operation.
Create Canned Response FolderTool to create a new canned response folder in Freshdesk.
Create CompanyTool to create a new company in Freshdesk.
Create ContactTool to create a new contact in Freshdesk.
Create Contact FieldTool to create a new custom contact field in Freshdesk.
Create Discussion CategoryTool to create a new discussion category in Freshdesk forums.
Create Discussion Forum TopicTool to create a new topic in a Freshdesk discussion forum.
Create Discussion Topic CommentTool to create a new comment on a discussion forum topic.
Create Email MailboxTool to create a new email mailbox in Freshdesk.
Create ForumTool to create a new forum within a category in Freshdesk discussions.
Create SLA PolicyTool to create a new SLA (Service Level Agreement) policy in Freshdesk.
Create Solution ArticleTool to create a new solution article in a Freshdesk knowledge base folder.
Create Solution CategoryTool to create a new solution category in Freshdesk's knowledge base.
Create TicketCreates a new ticket in Freshdesk.
Create Ticket FormTool to create a new ticket form in Freshdesk.
Create Ticket via Outbound EmailTool to create a ticket by sending an outbound email to external recipients.
Create Ticket Time EntryTool to create a time entry for a specific ticket in Freshdesk.
Create Translated Solution CategoryTool to create a translated version of an existing solution category.
Currently Authenticated AgentTool to retrieve profile information for the currently authenticated agent.
Delete Admin GroupTool to delete an admin group from Freshdesk.
Delete AgentTool to permanently delete an agent from Freshdesk.
Delete Automation RulePermanently deletes an automation rule from Freshdesk by its type and rule ID.
Delete CompanyTool to permanently disband a company from Freshdesk.
Delete Company FieldTool to permanently delete a custom company field from Freshdesk.
Delete ContactTool to soft delete a contact from Freshdesk.
Delete Contact FieldPermanently delete a custom contact field from Freshdesk.
Delete ConversationTool to permanently delete a conversation from a ticket in Freshdesk.
Delete Discussion CategoryPermanently deletes a forum discussion category from Freshdesk.
Delete Discussion CommentTool to permanently delete a comment from a discussion in Freshdesk.
Delete Discussion ForumTool to permanently delete a discussion forum in Freshdesk.
Unmonitor ForumTool to unfollow/unmonitor a discussion forum in Freshdesk.
Unmonitor TopicTool to unfollow/unmonitor a discussion topic in Freshdesk.
Delete Discussion TopicTool to permanently delete a discussion topic in Freshdesk.
Delete Email MailboxTool to permanently delete an email mailbox from Freshdesk.
Delete GroupTool to permanently disband a group from Freshdesk.
Delete Multiple TicketsAsynchronously deletes multiple tickets in bulk.
Delete SectionTool to permanently delete a section from a ticket field in Freshdesk.
Delete SkillTool to permanently delete a skill from Freshdesk.
Delete Solution ArticleTool to permanently delete a solution article and its translated versions in Freshdesk.
Delete Solution CategoryPermanently delete a solution category from Freshdesk's knowledge base.
Delete Solution FolderTool to permanently delete a solution folder and its translated versions in Freshdesk.
Delete TicketTool to permanently delete a ticket from Freshdesk.
Delete Ticket FieldPermanently delete a custom ticket field from Freshdesk.
Delete Ticket FormTool to permanently delete a ticket form from Freshdesk.
Delete Ticket Form FieldTool to permanently delete a specific field from a ticket form in Freshdesk.
Delete Ticket SummaryTool to delete the AI-generated summary of a ticket in Freshdesk.
Delete Ticket User AccessTool to remove all agent access from a specific ticket in Freshdesk.
Delete Time EntryTool to permanently delete a time entry from Freshdesk.
Export ContactsTool to initiate an asynchronous export of contacts from Freshdesk to CSV file.
Get AccountTool to view Freshdesk account information.
Get AgentTool to retrieve detailed information about a specific agent by ID.
Get Agent AvailabilityTool to retrieve availability information for a specific agent.
Search Agents AutocompleteTool to search for agents using autocomplete functionality in Freshdesk.
Get Business HoursRetrieves all business hours configurations from Freshdesk.
Get Canned Response FoldersTool to retrieve all canned response folders from Freshdesk.
Get CompaniesTool to retrieve all companies from a Freshdesk account with pagination support.
Get CompanyTool to retrieve detailed information about a specific company by ID.
Get Company FieldsTool to retrieve all company fields configured in Freshdesk.
Get ContactTool to retrieve detailed information about a specific contact by ID.
Get Contact FieldsTool to retrieve all contact fields configured in Freshdesk.
Get ContactsTool to retrieve all contacts from a Freshdesk account.
Get Discussion CategoryTool to view details of a specific forum category in Freshdesk.
View Discussion TopicTool to retrieve detailed information about a specific discussion topic by ID.
Get Email MailboxTool to retrieve detailed information about a specific email mailbox by ID.
Get Folder ResponsesTool to retrieve all canned responses within a specific folder in Freshdesk.
Get Imported ContactsTool to retrieve details of all contact import operations in Freshdesk.
Get JobTool to view the status of a bulk job operation.
List All Scenario AutomationsTool to list all scenario-based automations in Freshdesk.
Filter TicketsTool to search and filter tickets in Freshdesk using flexible query syntax.
Get TicketsRetrieves a list of tickets from Freshdesk.
Get Ticket Time EntriesTool to retrieve all time entries for a specific ticket in Freshdesk.
Get Ticket User AccessTool to retrieve agent access information for a specific ticket in Freshdesk.
Get Translated Solution CategoryTool to view a translated solution category in Freshdesk.
Hard Delete ContactTool to permanently delete a contact from Freshdesk.
Import ContactTool to import contacts in bulk from a CSV file to Freshdesk.
List Admin GroupsTool to list all admin groups in Freshdesk.
List All Agents in a GroupTool to retrieve all agents associated with a specific group in Freshdesk.
List All Sections for a Ticket FieldTool to retrieve all dynamic sections for a specific ticket field in Freshdesk.
List All SkillsTool to retrieve all skills configured in Freshdesk account.
List All Ticket ConversationsTool to retrieve all conversations of a specific ticket in Freshdesk.
List Automation RulesTool to list all automation rules for a specific automation type in Freshdesk.
List All Forum CategoriesTool to retrieve all forum categories (discussions) from Freshdesk.
List All Topics in a ForumTool to retrieve all discussion topics within a specified forum in Freshdesk.
List Email MailboxesTool to retrieve all email mailbox configurations from Freshdesk account.
List All Email ConfigsRetrieve all email configurations from a Freshdesk account.
List Forums in CategoryTool to retrieve all forums within a specified category in Freshdesk.
List Monitored TopicsTool to retrieve all discussion topics that are monitored/followed by a specific user in Freshdesk.
List Participated TopicsTool to retrieve discussion topics that a user has participated in by creating or commenting.
List All ProductsTool to retrieve all products configured in Freshdesk account.
List All RolesTool to retrieve all roles available in the Freshdesk system with their permissions and details.
List Satisfaction RatingsTool to retrieve all customer satisfaction survey ratings from Freshdesk.
List All SLA PoliciesTool to retrieve all SLA (Service Level Agreement) policies in Freshdesk.
List Solution ArticlesTool to retrieve all solution articles within a specified folder in Freshdesk.
List Solution CategoriesTool to retrieve all solution categories in Freshdesk.
List Solution FoldersTool to retrieve all folders within a specified solution category in Freshdesk.
List Translated Category FoldersTool to retrieve all translated solution folders in a category.
List Solution SubfoldersTool to list all subfolders within a specific solution folder in Freshdesk.
List a Specific Section DetailsTool to retrieve details of a specific section within a ticket field in Freshdesk.
List All SurveysTool to retrieve all surveys from a Freshdesk account.
List All Ticket FieldsTool to list all ticket fields configured in Freshdesk.
List Ticket FormsTool to retrieve all ticket forms from Freshdesk.
List Ticket Satisfaction RatingsTool to list all satisfaction ratings of a ticket.
List Ticket WatchersTool to list all watchers subscribed to a specific Freshdesk ticket.
List Time EntriesTool to retrieve all time entries from Freshdesk with optional filtering by company, agent, execution time range, and billable status.
List Topic Comments (Paginated)Tool to list all comments on a specific discussion topic with pagination support.
List Translated Solution ArticlesTool to view all translated solution articles in a folder for a specific language.
List Translated SubfoldersTool to list all translated subfolders within a parent folder in Freshdesk.
Update Group AgentsTool to add or remove agents in a Freshdesk group.
Remove Watcher from TicketTool to remove the authenticated user as a watcher from a Freshdesk ticket.
Reply to Forward TicketTool to reply to or forward a ticket to external email addresses.
Reply to TicketTool to create a public reply to an existing support ticket in Freshdesk.
Search AgentsTool to search and filter agents in Freshdesk.
Search CompaniesTool to search and filter companies in Freshdesk using query strings with custom fields.
Search Companies AutocompleteTool to search for companies using autocomplete functionality in Freshdesk.
Search ContactsTool to search and filter contacts in Freshdesk using query-based search.
Search Contacts AutocompleteTool to search for contacts using autocomplete functionality in Freshdesk.
Search Solution ArticlesTool to search solution articles in Freshdesk knowledge base by keyword.
Toggle TimerTool to toggle the timer on a time entry to start or stop time tracking.
Update Admin GroupTool to update an existing admin-level support agent group in Freshdesk.
Update Admin Ticket FieldTool to update an existing ticket field configuration in Freshdesk.
Update Admin Ticket Field SectionTool to update a section within a ticket field in Freshdesk.
Update AgentTool to update an existing agent's information in Freshdesk.
Update Agent AvailabilityTool to update agent availability settings in Freshdesk.
Update Automation RuleTool to update an existing automation rule in Freshdesk.
Update Canned ResponseTool to update an existing canned response in Freshdesk.
Update Canned Response FolderUpdates the name of an existing canned response folder in Freshdesk.
Update CompanyTool to update an existing company's information in Freshdesk.
Update ContactTool to update an existing contact's information in Freshdesk.
Update Contact FieldTool to update a contact field's configuration in Freshdesk.
Make AgentTool to convert a contact into an agent in Freshdesk.
Update ConversationTool to update the content of a conversation note in Freshdesk.
Update Discussion CategoryTool to update an existing discussion category in Freshdesk forums.
Update Discussion CommentTool to update an existing comment in a discussion forum.
Update Discussion ForumTool to update an existing discussion forum in Freshdesk.
Update Discussion TopicTool to update an existing discussion topic in Freshdesk.
Update Email SettingsTool to update mailbox settings for email handling in Freshdesk.
Update Automatic BCC EmailsTool to update automatic BCC email addresses for all ticket communications in Freshdesk.
Update SLA PolicyTool to update an existing SLA (Service Level Agreement) policy in Freshdesk.
Update Solution CategoryTool to update an existing solution category in Freshdesk.
Update Solution FolderTool to update an existing solution folder in Freshdesk knowledge base.
Update Solution ArticleTool to update an existing solution article in Freshdesk.
Update TicketTool to update an existing ticket in Freshdesk.
Bulk Add Watcher to TicketsTool to add the authenticated user as a watcher to multiple tickets in a single bulk operation.
Update Ticket FormTool to update an existing ticket form in Freshdesk.
Update Ticket SummaryTool to update the AI-generated summary of a ticket in Freshdesk.
Update Ticket User AccessTool to update agent access to a specific ticket in Freshdesk by adding or removing agents.
Update Time EntryTool to update an existing time entry in Freshdesk.
View a Canned ResponseTool to view details of a specific canned response in Freshdesk.
View Automation RuleTool to view details of a specific automation rule in Freshdesk.
View a Business HourTool to retrieve a specific business hour configuration from Freshdesk.
View a Company FieldTool to retrieve details of a specific company field by ID.
View a Contact FieldTool to retrieve details of a specific contact field by ID.
View Email Mailbox SettingsTool to retrieve mailbox settings for the Freshdesk account.
View Email ConfigTool to view details of a specific email configuration in Freshdesk.
View GroupTool to view details of a specific admin group in Freshdesk.
View Automatic BCC EmailsTool to view automatic BCC email addresses configured in Freshdesk.
View ProductTool to retrieve detailed information about a specific product by ID.
View a RoleTool to view detailed information about a specific role by ID.
View Helpdesk SettingsTool to retrieve helpdesk settings from Freshdesk.
View a SkillTool to retrieve a specific skill from Freshdesk by ID.
View Solution CategoryTool to view a specific solution category by ID in Freshdesk.
View Solution FolderTool to view a specific solution folder by ID in Freshdesk.
View Solution ArticleTool to view a specific solution article by ID in Freshdesk.
View TicketViews an existing ticket in Freshdesk.
View a Ticket FieldTool to retrieve a single ticket field configuration from Freshdesk.
View a Ticket Form's FieldTool to retrieve a specific field from a ticket form in Freshdesk.

What is the Freshdesk MCP server, and what's possible with it?

The Freshdesk MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Freshdesk account. It provides structured and secure access to your support desk, so your agent can create tickets, fetch or update customer issues, reply to conversations, and automate ticket management on your behalf.

  • Automated ticket creation and triage: Instantly generate new support tickets for incoming customer queries, ensuring nothing gets lost in the shuffle.
  • Ticket lookup and status updates: Ask your agent to find, view, or update any ticket, including changing status, priority, or details based on evolving customer needs.
  • Streamlined customer replies: Have your agent draft or send replies directly to customers, keeping conversations moving and improving response times.
  • Effortless ticket list retrieval: Quickly pull lists of all tickets—filtered by status, priority, or other criteria—to get a real-time overview of the support pipeline.
  • Ticket deletion and cleanup: Direct your agent to close or remove outdated or resolved tickets, keeping your Freshdesk workspace tidy and efficient.

Connecting Freshdesk via Composio SDK

Composio SDK is the underlying tech that powers Rube. It's a universal gateway that does everything Rube does but with much more programmatic control. You can programmatically generate an MCP URL with the app you need (here Freshdesk) for even more tool search precision. It's secure and reliable.

How the Composio SDK works

The Composio SDK follows a three-phase workflow:

  1. Discovery: Searches for tools matching your task and returns relevant toolkits with their details.
  2. Authentication: Checks for active connections. If missing, creates an auth config and returns a connection URL via Auth Link.
  3. Execution: Executes the action using the authenticated connection.

Step-by-step Guide

Prerequisites

Before starting, make sure you have:
  • Claude Pro, Max, or API billing enabled Anthropic account
  • Composio API Key
  • A Freshdesk account
  • Basic knowledge of Python or TypeScript

Install Claude Code

bash
# macOS, Linux, WSL
curl -fsSL https://claude.ai/install.sh | bash

# Windows PowerShell
irm https://claude.ai/install.ps1 | iex

# Windows CMD
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

To install Claude Code, use one of the following methods based on your operating system:

Set up Claude Code

bash
cd your-project-folder
claude

Open a terminal, go to your project folder, and start Claude Code:

  • Claude Code will open in your terminal
  • Follow the prompts to sign in with your Anthropic account
  • Complete the authentication flow
  • Once authenticated, you can start using Claude Code
Claude Code initial setup showing sign-in prompt
Claude Code terminal after successful login

Set up environment variables

bash
COMPOSIO_API_KEY=your_composio_api_key_here
USER_ID=your_user_id_here

Create a .env file in your project root with the following variables:

  • COMPOSIO_API_KEY authenticates with Composio (get it from Composio dashboard)
  • USER_ID identifies the user for session management (use any unique identifier)

Install Composio library

pip install composio-core python-dotenv

Install the Composio Python library to create MCP sessions.

  • composio-core provides the core Composio functionality
  • python-dotenv loads environment variables from your .env file

Generate Composio MCP URL

import os
from composio import Composio
from dotenv import load_dotenv

load_dotenv()

COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
USER_ID = os.getenv("USER_ID")

composio_client = Composio(api_key=COMPOSIO_API_KEY)

composio_session = composio_client.create(
    user_id=USER_ID,
    toolkits=["freshdesk"],
)

COMPOSIO_MCP_URL = composio_session.mcp.url

print(f"MCP URL: {COMPOSIO_MCP_URL}")
print(f"\nUse this command to add to Claude Code:")
print(f'claude mcp add --transport http freshdesk-composio "{COMPOSIO_MCP_URL}" --headers "X-API-Key:{COMPOSIO_API_KEY}"')

Create a script to generate a Composio MCP URL for Freshdesk. This URL will be used to connect Claude Code to Freshdesk.

What's happening:

  • We import the Composio client and load environment variables
  • Create a Composio instance with your API key
  • Call create() to create a Tool Router session for Freshdesk
  • The returned mcp.url is the MCP server URL that Claude Code will use
  • The script prints this URL so you can copy it

Run the script and copy the MCP URL

python generate_mcp_url.py

Run your Python script to generate the MCP URL.

  • The script connects to Composio and creates a Tool Router session
  • It prints the MCP URL and the exact command you need to run
  • Copy the entire claude mcp add command from the output

Add Freshdesk MCP to Claude Code

bash
claude mcp add --transport http freshdesk-composio "YOUR_MCP_URL_HERE" --headers "X-API-Key:YOUR_COMPOSIO_API_KEY"

# Then restart Claude Code
exit
claude

In your terminal, add the MCP server using the command from the previous step. The command format is:

  • claude mcp add registers a new MCP server with Claude Code
  • --transport http specifies that this is an HTTP-based MCP server
  • The server name (freshdesk-composio) is how you'll reference it
  • The URL points to your Composio Tool Router session
  • --headers includes your Composio API key for authentication

After running the command, close the current Claude Code session and start a new one for the changes to take effect.

Verify the installation

bash
claude mcp list

Check that your Freshdesk MCP server is properly configured.

  • This command lists all MCP servers registered with Claude Code
  • You should see your freshdesk-composio entry in the list
  • This confirms that Claude Code can now access Freshdesk tools

If everything is wired up, you should see your freshdesk-composio entry listed:

Claude Code MCP list showing the toolkit MCP server

Authenticate Freshdesk

The first time you try to use Freshdesk tools, you'll be prompted to authenticate.

  • Claude Code will detect that you need to authenticate with Freshdesk
  • It will show you an authentication link
  • Open the link in your browser (or copy/paste it)
  • Complete the Freshdesk authorization flow
  • Return to the terminal and start using Freshdesk through Claude Code

Once authenticated, you can ask Claude Code to perform Freshdesk operations in natural language. For example:

  • "Create a new ticket for a customer issue"
  • "List all open tickets assigned to me"
  • "Update ticket status to resolved for ticket 12345"

Complete Code

Here's the complete code to get you started with Freshdesk and Claude Code:

import os
from composio import Composio
from dotenv import load_dotenv

load_dotenv()

COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
USER_ID = os.getenv("USER_ID")

composio_client = Composio(api_key=COMPOSIO_API_KEY)

composio_session = composio_client.create(
    user_id=USER_ID,
    toolkits=["freshdesk"],
)

COMPOSIO_MCP_URL = composio_session.mcp.url

print(f"MCP URL: {COMPOSIO_MCP_URL}")
print(f"\nUse this command to add to Claude Code:")
print(f'claude mcp add --transport http freshdesk-composio "{COMPOSIO_MCP_URL}" --headers "X-API-Key:{COMPOSIO_API_KEY}"')

Conclusion

You've successfully integrated Freshdesk with Claude Code using Composio's MCP server. Now you can interact with Freshdesk directly from your terminal using natural language commands.

Key features of this setup:

  • Terminal-native experience without switching contexts
  • Natural language commands for Freshdesk operations
  • Secure authentication through Composio's managed MCP
  • Tool Router for dynamic tool discovery and execution

Next steps:

  • Try asking Claude Code to perform various Freshdesk operations
  • Add more toolkits to your Tool Router session for multi-app workflows
  • Integrate this setup into your development workflow for increased productivity

You can extend this by adding more toolkits, implementing custom workflows, or building automation scripts that leverage Claude Code's capabilities.

How to build Freshdesk MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Freshdesk MCP?

With a standalone Freshdesk MCP server, the agents and LLMs can only access a fixed set of Freshdesk tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Freshdesk and many other apps based on the task at hand, all through a single MCP endpoint.

Can I use Tool Router MCP with Claude Code?

Yes, you can. Claude Code fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Freshdesk tools.

Can I manage the permissions and scopes for Freshdesk while using Tool Router?

Yes, absolutely. You can configure which Freshdesk scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Freshdesk data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.