Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

create_ticket_reply

Automate ticket responses by generating replies in Freshdesk using AI integration. Input ticket ID and response content to streamline support operations efficiently.

Instructions

Create a reply to a ticket in Freshdesk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
ticket_idYes

Implementation Reference

  • The core handler function decorated with @mcp.tool(), which registers and implements the create_ticket_reply tool. It sends a POST request to the Freshdesk API to add a reply to the specified ticket.
    @mcp.tool() async def create_ticket_reply(ticket_id: int,body: str)-> Dict[str, Any]: """Create a reply to a ticket in Freshdesk.""" url = f"https://{FRESHDESK_DOMAIN}/api/v2/tickets/{ticket_id}/reply" headers = { "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}" } data = { "body": body } async with httpx.AsyncClient() as client: response = await client.post(url, headers=headers, json=data) return response.json()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/effytech/freshdesk_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server