Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

create_solution_category

Generate solution categories in Freshdesk to organize support content efficiently. Use this tool to structure help articles and improve customer self-service experience.

Instructions

Create a solution category in Freshdesk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_fieldsYes

Implementation Reference

  • The handler function for the 'create_solution_category' tool. It is decorated with @mcp.tool(), which registers it as an MCP tool. The function validates that a 'name' is provided in category_fields, then sends a POST request to the Freshdesk Solutions Categories API endpoint to create the category.
    @mcp.tool() async def create_solution_category(category_fields: Dict[str, Any])-> Dict[str, Any]: """Create a solution category in Freshdesk.""" if not category_fields.get("name"): return {"error": "Name is required"} url = f"https://{FRESHDESK_DOMAIN}/api/v2/solutions/categories" headers = { "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}" } async with httpx.AsyncClient() as client: response = await client.post(url, headers=headers, json=category_fields) return response.json()
  • The @mcp.tool() decorator registers the create_solution_category function as an MCP tool.
    @mcp.tool()

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