Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

create_canned_response_folder

Automate canned response organization in Freshdesk by creating custom folders, streamlining support workflows and enhancing ticket management efficiency.

Instructions

Create a canned response folder in Freshdesk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Implementation Reference

  • The main handler function for the 'create_canned_response_folder' tool, decorated with @mcp.tool(). It creates a new canned response folder in Freshdesk by sending a POST request to the API with the provided folder name.
    @mcp.tool()
    async def create_canned_response_folder(name: str)-> Dict[str, Any]:
        """Create a canned response folder in Freshdesk."""
        url = f"https://{FRESHDESK_DOMAIN}/api/v2/canned_response_folders"
        headers = {
            "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}"
        }
        data = {
            "name": name
        }
        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