Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

get_ticket_fields

Retrieve ticket fields from Freshdesk to streamline support operations. Automate ticket management and enhance customer service with AI-driven integrations.

Instructions

Get ticket fields from Freshdesk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'get_ticket_fields' tool. Fetches and returns ticket fields from the Freshdesk API.
    @mcp.tool()
    async def get_ticket_fields() -> Dict[str, Any]:
        """Get ticket fields from Freshdesk."""
        url = f"https://{FRESHDESK_DOMAIN}/api/v2/ticket_fields"
        headers = {
            "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}"
        }
        async with httpx.AsyncClient() as client:
            response = await client.get(url, headers=headers)
            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