MCP server for Freshservice IT tickets
## Freshservice MCP Server: IT Service Management The **Freshservice MCP Server** integrates Freshservice into Google Antigravity, enabling ITSM operations with incident management, asset tracking, and change management directly from your development environment. ### Why Freshservice MCP? - **ITIL Aligned**: Follows ITIL best practices - **Asset Management**: Complete IT asset lifecycle tracking - **Service Catalog**: Self-service portal for IT requests - **Workflow Automation**: Automate IT processes - **Integrations**: Connect with 100+ enterprise tools ### Key Features #### 1. Ticket Operations ```python # Get tickets tickets = await mcp.get_tickets( filter="requester_id:123", order_by="created_at", order_type="desc" ) for ticket in tickets: print(f"Ticket #{ticket['id']}: {ticket['subject']}") # Get single ticket ticket = await mcp.get_ticket( ticket_id=12345, include="conversations,assets" ) ``` #### 2. Incident Management ```python # Create incident incident = await mcp.create_ticket( subject="Server down - Production", description="Production server unresponsive", email="employee@company.com", priority=1, # Urgent status=2, # Open category="Hardware", urgency=1, impact=1 ) # Assign and escalate await mcp.update_ticket( ticket_id=incident["id"], responder_id=101, group_id=5 ) ``` #### 3. Asset Management ```python # Get assets assets = await mcp.get_assets( asset_type_id=1, # Laptops state="In Use" ) for asset in assets: print(f"Asset: {asset['name']} - {asset['asset_tag']}") # Create asset asset = await mcp.create_asset( name="MacBook Pro - John", asset_type_id=1, asset_tag="ASSET-001", user_id=123 ) ``` #### 4. Change Management ```python # Create change request change = await mcp.create_change( subject="Upgrade production database", description="Upgrade PostgreSQL to version 15", change_type="Standard", priority=2, risk="Medium", impact="Low", planned_start_date="2024-01-20T02:00:00Z", planned_end_date="2024-01-20T04:00:00Z" ) # Approve change await mcp.update_change( change_id=change["id"], status="Approved" ) ``` ### Configuration ```json { "mcpServers": { "freshservice": { "command": "npx", "args": ["-y", "@anthropic/mcp-freshservice"], "env": { "FRESHSERVICE_DOMAIN": "yourcompany.freshservice.com", "FRESHSERVICE_API_KEY": "your-api-key" } } } } ``` ### Use Cases **IT Automation**: Automate incident response and resolution. **Asset Lifecycle**: Track IT assets from procurement to disposal. **Change Control**: Manage IT changes with approval workflows. **Service Metrics**: Monitor IT service performance and SLAs. The Freshservice MCP enables ITSM within your development environment.
{
"mcpServers": {
"freshservice": {
"mcpServers": {
"freshservice": {
"env": {
"FRESHSERVICE_DOMAIN": "yourcompany.freshservice.com",
"FRESHSERVICE_API_KEY": "YOUR_FRESHSERVICE_API_KEY"
},
"args": [
"-y",
"freshservice-mcp"
],
"command": "npx"
}
}
}
}
}