Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

MCP Client Plugin not working

isqc
Tera Expert

I am trying to use an MCP tool from my AI agent. I have created an MCP server definition with my server's URL and API key. The server is running FastMCP v2.13.0.2. 

 

When I try to add the MCP tools to my AI agent, I get an error when the initialize call is made. The return code is 406 and the request body is:


{"method":"initialize","id":"448d1ae3974d7a10c69b341de053afba","jsonrpc":"2.0","params":{"capabiliti**body truncated**

 

I am using version 1.1.2 of the snc_mcp_client plugin. The previous version had issues managing the mcp session, so it only worked between the time when I defined the MCP server connection and until the first session expired. But now I can't even list the tools, because the initialize call itself fails! 

 

Has anyone actually gotten this plugin to work consistently?

1 REPLY 1

warren_chan
ServiceNow Employee
ServiceNow Employee

Check your MCP Server Logs [sn_mcp_execution_logs]. It should have some error to go on. Depending on what it is, you can try readding your MCP server and re-initializing the tools/list.