Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

MCP Server tools don't accept response from custom Now Assist skills

atharvsubhe
Tera Contributor

I am trying to setup an MCP Server to expose a Now Assist Skill which returns an LLM response. The skill is configured correctly, and it returns the response as follows: 

{
  "provider": "Now LLM",
  "response": {
    "model_output": "..."
  },
  "error": null,
  "errorCode": null,
  "status": "success"
}

Since MCP Server expects the tool to only return a single output and not a JSON object, it is not able to populate the tool's response. The MCP Server's tools response JSON is as follows: 

{
  "content": [
    {
      "type": "text",
      "text": "<final result>"
    }
  ],
  "isError": false
}


Is there a way to map the model output to the tool response's text field or just have the skill return the model output and none of the other fields? 

The current MCP Server tools only allow Now Assist Skills to be configured. Since each skill is always wrapped by an LLM response, the MCP Server will never receive the tool response correctly. How are these skills supposed to work as MCP Tools? Am I missing something? 

1 ACCEPTED SOLUTION

@atharvsubhe  Did you tried Putting Post Processing Script In Your Custom Now Assist Skill to Transform the data received from LLM . You Can transform the LLM Response to MCP Tools Format Consumable Data.

 

Hope This Helps.

 

Regards

RP

View solution in original post

5 REPLIES 5

Tanushree Maiti
Kilo Patron

Can you check whether all mentioned component has been installed properly?

 

Now Assist skill support in MCP Server Console 

 

Components installed with MCP Server Console 

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: