|
|
This feature is currently available as a beta release.
|
|
Prerequisites
|
|---|
|
Before using the MCP server in an AI action ensure the following:
• The MCP server in your ServiceMax AI environment is enabled and configured.
• AI actions explicitly whitelisted by your administrator are available for invocation via MCP.
• You have access to the relevant AI Agents, Salesforce objects, and fields required by the AI action.
• All calls to the MCP server are authenticated using a valid Salesforce token.
• The external system is configured to connect to the ServiceMax MCP server endpoint.
• The MCP client can send authenticated requests and handle responses according to the MCP specification.
• The required input parameter is 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.
|