|
|
This feature is currently available as a beta release.
|
|
Prerequisites
|
|---|
|
To enable this feature, ensure the following:
• Your ServiceMax AI environment must have the MCP Server enabled and configured.
• Only AI Actions that have been explicitly whitelisted by your administrator are available for invocation via MCP.
• You must have access to the relevant AI Agents, Salesforce objects, and fields required by the AI Action.
• All calls to the MCP server require authentication using a valid Salesforce token.
• The external system must be configured to connect to the ServiceMax MCP server endpoint.
• The MCP client must be able to send authenticated requests and handle responses per the MCP specification.
• The required input parameter can be either the Salesforce record’s 18-digit ID or its Name (or Case Number for Case objects).
|
|
|
If you do not have the “X-Client-Token”, you must reach out to ServiceMax to get the value.
|
|
|
The URL is copied from the MCP Server page in the ServiceMax AI Console.
![]() |
|
|
AI Actions are exposed as tools when an MCP request is sent.
|
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "MCP-UpdateWorkOrderStatus",
"arguments": {
"work_order_id": "a2qD3000000CaQsIAK"
}
}
}
|
|
These asynchronous calls might take time to complete if the action is long running. All AI Actions invoked via MCP are tracked with MCP Server as their origin within the AI Analytics dashboard in the AI Console.
|
{
"servers": {
"aig_mcp": {
"url": "https://aig-dev.servicemax-api.com/mcp",
"tools": ["MCP-Service History-Calculation","MCP-LocationSummaryReport","MCP-Summarize Work Order],
"requestInit": {
"headers": {
"Authorization": "Bearer <Salesforce_Token>",
"from": "<Your_Email>"
}
}
}
}
}




|
|
If multiple tools contain the same ServiceMax object (for example, Location), the MCP Server runs both tools and displays a confirmation message.
|