Add MCP Server with "failed to create client" error

Hi

I tried to build a MCP Server with a Go library, the demo is TiDB AI

But after I started the MCP Server with sse transport, and configured in Cursor,

I met the “Failed to create client” error,

Does anyone know how to set the MCP server with sse type correctly?

MCP is still relatively new, and waiting for support to be added is annoying for sure. I can’t find any documentation about MCP for TiDB online.

I have the same issue, struggling since yesterday to add MCP, but all in vain.

It has been ripped out until stable. There is a forum thread on this in the latest release.

Check your MCP output logs. I’m having the same issue because I’m working on windows inside WSL, and cursor attempts to execute the MCP commands on the Windows Host which doesn’t have my environment configured for anything.

same issue -I tried many options

config json, env variable etc etc
maybe a windows problem

where can we see logs of the error

Well, I found that the go lib mcp-golang doesn’t support sse, so I use stdio instead to make it work.