Uses npm for package management and dependency installation
Implements type-safe interface with full TypeScript support and validation
ServiceFusion MCP Server
A Model Context Protocol (MCP) server that provides AI agents with standardized access to ServiceFusion API operations.
Features
- OAuth 2.0 Authentication: Automatic token management and refresh
- Complete CRUD Operations: Create, read, update, and delete customers and jobs
- Type-Safe Interface: Full TypeScript support with validation
- Resource Access: MCP resources for browsing customers and jobs
- Error Handling: Comprehensive error handling and validation
Available Tools
Connection Management
sf_test_connection
- Test ServiceFusion API connectivitysf_get_api_status
- Get current authentication status
Customer Operations
sf_create_customer
- Create new customers with contacts and locationssf_get_customers
- Search and retrieve customers with pagination
Job Operations
sf_create_job
- Create new work orders/jobssf_get_jobs
- Search and retrieve jobs with filteringsf_update_job
- Update job status and detailssf_delete_job
- Delete/cancel jobs
Available Resources
servicefusion://customers
- Paginated list of customersservicefusion://jobs
- Paginated list of jobsservicefusion://customer/{id}
- Individual customer detailsservicefusion://job/{id}
- Individual job detailsservicefusion://api-status
- API connection status
Installation
- Clone and install dependencies:
- Set up environment variables:
- Build the project:
Usage
Running the MCP Server
Development Mode
Testing
Configuration
Set the following environment variables:
SERVICEFUSION_CLIENT_ID
- Your ServiceFusion API client IDSERVICEFUSION_CLIENT_SECRET
- Your ServiceFusion API client secretSERVICEFUSION_BASE_URL
- (Optional) API base URL (defaults to https://api.servicefusion.com)
Integration with Claude Desktop
Add to your Claude Desktop MCP configuration:
API Examples
Create a Customer
Create a Job
Search Jobs
Data Models
Customer
customer_name
(required)parent_customer
(optional) - For hierarchical customerscontacts[]
- Array of contact informationlocations[]
- Array of location information
Job
check_number
(required) - Unique identifiercustomer_id
(required) - Associated customerdescription
(required) - Job descriptionstatus
- Job status (Scheduled, In Progress, Completed, etc.)priority
- Job priority (Normal, High, Low)custom_fields[]
- Custom field values
Error Handling
The server includes comprehensive error handling for:
- Authentication failures (automatic token refresh)
- API rate limits and timeouts
- Invalid input validation
- Network connectivity issues
Contributing
- Make changes to TypeScript files in
src/
- Build with
npm run build
- Test with
npm test
- Submit pull requests with tests
License
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables AI agents to interact with ServiceFusion's field service management platform through standardized MCP operations. Supports complete customer and job management including creating work orders, managing customer records, and accessing service data with OAuth 2.0 authentication.
Related MCP Servers
- -securityAlicense-qualityEnables connections to Azure AI Agents within any MCP client, allowing users to leverage Azure AI Foundry's models and knowledge tools like Azure AI Search and Bing Web Grounding through a conversational interface.Last updated -180PythonMIT License
- -securityFlicense-qualityThis MCP server provides tools to interact with the Salesforce Agentforce API, allowing authentication, session creation, and message exchange with Salesforce agents.Last updated -10Python
- -securityAlicense-qualityActs as an AI Gateway for MCP servers using Azure API Management, implementing the latest MCP Authorization specification.Last updated -91MIT License
- -securityAlicense-qualityA powerful AI service platform that provides complete MCP tool calling capabilities and RAG knowledge base functionality, enabling users to connect to multiple MCP servers and perform intelligent document search.Last updated -PythonApache 2.0